/*
Theme Name: arsena
Theme URI: https://arsena.id/
Author: fnharis
Author URI: https://arsena.id/
Description: Custom theme untuk arsena.id — layout ala haleon.com dengan warna utama #056E9E. Header transparan menjadi hitam saat scroll, hero fullscreen dengan kontrol slider, blok aksen, dan strip bawah.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: arsena
*/

/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #1a1a1a; background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: #056E9E; }

/* ============ HEADER ============ */
.ars-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent; transition: background-color .3s ease; }
.ars-header.is-scrolled { background: #000; }
.ars-header-inner { max-width: 1440px; margin: 0 auto; padding: 0 40px; height: 84px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ars-logo a { text-decoration: none; }
.ars-logo-text { color: #fff; font-weight: 800; font-size: 24px; letter-spacing: 5px; }
.ars-logo img { height: 56px; width: auto; display: block; }
.ars-nav .ars-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 38px; }
.ars-nav .ars-menu a { color: #fff; text-decoration: none; font-size: 15px; font-weight: 500;
  transition: color .2s ease; }
.ars-nav .ars-menu a:hover { color: #7fd4f7; }
.ars-header-cta { display: flex; align-items: center; gap: 16px; }
.ars-btn-contact { background: #056E9E; color: #fff !important; text-decoration: none;
  border-radius: 999px; padding: 12px 30px; font-weight: 600; font-size: 15px;
  transition: background-color .2s ease; display: inline-flex; align-items: center; white-space: nowrap; }
.ars-btn-contact:hover { background: #000; color: #fff !important; }
.ars-burger { display: none; flex-direction: column; justify-content: center; gap: 6px;
  width: 44px; height: 44px; background: transparent; border: none; cursor: pointer; padding: 8px; }
.ars-burger span { display: block; height: 2px; background: #fff; transition: all .3s ease; }
.ars-burger span:nth-child(2) { background: #056E9E; }
.ars-header.menu-open .ars-burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.ars-header.menu-open .ars-burger span:nth-child(2) { opacity: 0; }
.ars-header.menu-open .ars-burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.ars-mobile-menu { display: none; }

/* ============ HERO ============ */
.ars-hero { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  background: #041c2e; color: #fff; }
.ars-slides, .ars-slide { position: absolute; inset: 0; }
.ars-slide { opacity: 0; transition: opacity .8s ease; }
.ars-slide.is-active { opacity: 1; }
.ars-slide-bg { position: absolute; inset: 0; }
.ars-hero-inner { position: relative; z-index: 3; max-width: 1280px; margin: 0 auto;
  padding: 120px 40px 200px; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center; }
.ars-kicker { font-size: 14px; letter-spacing: .25em; text-transform: uppercase;
  color: #7fd4f7; margin: 0 0 18px; font-weight: 600; }
.ars-title { margin: 0; max-width: 46%; font-size: clamp(2.6rem, 5.2vw, 5.5rem);
  line-height: 1.06; font-weight: 800; color: #fff; }
.ars-title span { font-weight: 300; }
.ars-sub { margin: 22px 0 0; max-width: 38%; font-size: 1.05rem; line-height: 1.65;
  color: rgba(255,255,255,.82); }
.ars-controls { position: absolute; z-index: 4; left: 40px; bottom: 120px;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; max-width: calc(100% - 80px); }
.ars-btn { width: 52px; height: 52px; border: 1px solid rgba(255,255,255,.55);
  background: transparent; color: #fff; font-size: 20px; cursor: pointer;
  transition: all .2s ease; display: flex; align-items: center; justify-content: center; }
.ars-btn:hover { background: #056E9E; border-color: #056E9E; }
.ars-count { font-size: 14px; letter-spacing: .12em; color: #fff; white-space: nowrap; }
.ars-loop { display: inline-flex; align-items: center; gap: 10px; background: transparent;
  border: 1px solid rgba(255,255,255,.55); color: #fff; padding: 14px 22px;
  font-size: 14px; cursor: pointer; transition: all .2s ease; white-space: nowrap; }
.ars-loop:hover { background: #056E9E; border-color: #056E9E; }
.ars-accent { position: absolute; z-index: 2; right: 0; bottom: 70px;
  width: 38%; height: 190px; background: #056E9E; }
.ars-strip { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0;
  height: 70px; display: flex; }
.ars-strip-blue { flex: 0 0 62%; background: #056E9E; }
.ars-strip-white { flex: 1; background: #fff; color: #1a1a1a; display: flex;
  align-items: center; padding: 0 34px; font-size: 15px; font-weight: 500;
  text-decoration: none; cursor: pointer; }
.ars-strip-white:hover { color: #056E9E; }
.scroll-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #056E9E; margin-right: 12px; animation: arsDot 1.8s ease-in-out infinite; flex: none; }
@keyframes arsDot {
  0% { transform: translateY(-6px); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}
.ars-hero.is-paused .scroll-dot { animation-play-state: paused; }

/* ============ FOOTER (minimal) ============ */
.ars-footer { background: #000; color: rgba(255,255,255,.7); padding: 28px 40px;
  text-align: center; font-size: 14px; }

/* ============ GENERIC CONTENT ============ */
.ars-page-wrap { max-width: 900px; margin: 0 auto; padding: 140px 24px 80px; }
.ars-page-wrap h1 { font-size: 2.4rem; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1200px) {
  .ars-title { font-size: 4.5rem; max-width: 62%; }
  .ars-sub { max-width: 56%; }
  .ars-nav .ars-menu { gap: 26px; }
}
@media (max-width: 850px) {
  .ars-nav { display: none; }
  .ars-burger { display: flex; }
  .ars-header-inner { padding: 0 20px; height: 64px; }
  .ars-logo img { height: 44px; }
  .ars-logo-text { font-size: 19px; }
  .ars-header-cta .ars-btn-contact { padding: 10px 20px; font-size: 13px; }
  .ars-mobile-menu { display: flex; flex-direction: column; justify-content: center;
    align-items: center; gap: 8px; position: fixed; inset: 0; background: #000;
    transform: translateX(100%); transition: transform .4s ease; z-index: 99; padding: 80px 24px 40px; }
  .ars-header.menu-open .ars-mobile-menu { transform: translateX(0); }
  .ars-mobile-menu .ars-mmenu { list-style: none; margin: 0 0 24px; padding: 0; text-align: center; }
  .ars-mobile-menu .ars-mmenu li { margin: 14px 0; }
  .ars-mobile-menu .ars-mmenu a { color: #fff; text-decoration: none; font-size: 22px; font-weight: 600; }
  .ars-mobile-menu .ars-mmenu a:hover { color: #7fd4f7; }
}
@media (max-width: 768px) {
  .ars-hero { min-height: 500px; height: calc(100vh - 40px); height: calc(100svh - 40px); }
  .ars-hero-inner { justify-content: flex-end; padding: 0 24px 215px;
    min-height: 500px; height: calc(100vh - 40px); height: calc(100svh - 40px); }
  .ars-title { font-size: 2.2rem; max-width: 100%; }
  .ars-sub { display: none; }
  .ars-controls { display: none; }
  .ars-accent { display: block; right: 0; bottom: 94px; width: 40%; height: 90px; }
  .ars-strip { flex-direction: column; height: auto; }
  .ars-strip-blue { flex: none; height: 34px; }
  .ars-strip-white { flex: none; height: 60px; padding: 0 24px; }
}
