/* ============================================================
   Langit Biru Child Theme — header.css v4.0
   Palet: #2F496E | #2988BC | #ED8C72 | #1995AD | #F4EADE
   ============================================================ */
:root {
    --navbar-height:        72px;
    --navbar-height-scroll: 60px;
    --orange:               #ED8C72;
    --orange-hover:         #d47860;
    --primary-blue:         #2988BC;
    --primary-dark:         #2F496E;
    --accent-teal:          #1995AD;
    --cream:                #F4EADE;
    --white:                #ffffff;
    --font-display:         'Raleway', sans-serif;
    --font-body:            'Open Sans', sans-serif;
}

/* === SITE HEADER === */
.site-header { position: relative; width: 100%; min-height: 100vh; display: flex; flex-direction: column; background: var(--primary-dark); }
body:not(.home) .site-header { min-height: var(--navbar-height); }

/* === HERO BG === */
.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero-bg video { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); min-width: 100%; min-height: 100%; width: auto; height: auto; object-fit: cover; }
.hero-bg-img { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; z-index: -1; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(47,73,110,0.78) 0%, rgba(25,149,173,0.45) 60%, rgba(41,136,188,0.65) 100%); z-index: 1; }

/* === NAVBAR === */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--navbar-height); padding: 0 4%; display: flex; align-items: center; gap: 20px; background: transparent; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: all 0.35s ease; }
.navbar.scrolled { height: var(--navbar-height-scroll); background: rgba(47, 73, 110, 0.97); box-shadow: 0 4px 24px rgba(0,0,0,0.3); }

/* === LOGO === */
.navbar-logo { display: flex; align-items: center; gap: 0; text-decoration: none; flex-shrink: 0; border: none; padding: 8px 14px; background: transparent; transition: border-color 0.3s ease, background 0.3s ease; line-height: 1; margin-right: auto; margin-top: 60px; }
.navbar-logo:hover { border-color: transparent; background: transparent; text-decoration: none; }
.navbar-logo img { height: 120px !important; width: auto !important; max-width: none !important; min-height: 120px !important; display: block; transition: height 0.3s ease; }
.navbar.scrolled .navbar-logo img { height: 90px !important; min-height: 90px !important; }
.logo-brand { font-family: var(--font-display); font-size: 1.35rem; font-weight: 900; color: #ffffff; letter-spacing: 2px; line-height: 1; }
.logo-tagline { font-family: var(--font-display); font-size: 1.35rem; font-weight: 900; color: var(--orange); letter-spacing: 2px; line-height: 1; }

/* === NAVBAR RIGHT === */
.navbar-right { display: flex; align-items: stretch; height: 46px; border: none; }
.navbar-nav { display: flex; align-items: center; height: 100%; }
.navbar-nav .nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; height: 100%; gap: 0; }
.navbar-nav .nav-list li { position: relative; height: 100%; display: flex; align-items: center; }
.navbar-nav .nav-list li a { display: flex; align-items: center; height: 100%; font-family: var(--font-display); font-size: 0.88rem; font-weight: 600; color: rgba(255,255,255,0.88); text-decoration: none; padding: 0 20px; transition: color 0.25s ease; white-space: nowrap; }
.navbar-nav .nav-list li a:hover, .navbar-nav .nav-list li.current-menu-item > a { color: var(--cream); }
.navbar-nav .nav-list li + li::before { content: none; }

/* Dropdown */
.navbar-nav .nav-list li ul { display: none; position: absolute; top: 100%; left: 0; min-width: 200px; background: var(--primary-dark); border-top: 2px solid var(--orange); border: 1px solid rgba(237,140,114,0.3); padding: 6px 0; list-style: none; margin: 0; z-index: 100; }
.navbar-nav .nav-list li:hover > ul { display: block; }
.navbar-nav .nav-list li ul li a { padding: 10px 20px; font-size: 0.86rem; color: rgba(255,255,255,0.82); height: auto; background: transparent; }
.navbar-nav .nav-list li ul li a:hover { color: var(--orange); background: rgba(237,140,114,0.08); padding-left: 26px; }

/* CTA Button */
.navbar-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--orange); color: var(--white) !important; font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; letter-spacing: 0.5px; text-decoration: none !important; padding: 0 24px; height: 100%; flex-shrink: 0; transition: background 0.3s ease; white-space: nowrap; border-radius: 0; margin-left: 0; }
.navbar-cta:hover { background: var(--orange-hover); color: var(--white) !important; text-decoration: none !important; }

/* Hamburger */
.hamburger-btn { display: none; width: 44px; height: 44px; background: transparent; border: 1px solid rgba(255,255,255,0.3); border-radius: 4px; cursor: pointer; padding: 8px; flex-shrink: 0; transition: background 0.25s ease, border-color 0.25s ease; z-index: 1100; flex-direction: column; align-items: center; justify-content: center; }
.hamburger-btn:hover { background: rgba(255,255,255,0.1); border-color: var(--orange); }
.hb-line { display: block; width: 22px; height: 2px; background: #ffffff; margin: 4px auto; border-radius: 2px; transition: transform 0.35s ease, opacity 0.25s ease; transform-origin: center; }
.hamburger-btn.is-active #hb1 { transform: translateY(6px) rotate(45deg); }
.hamburger-btn.is-active #hb2 { opacity: 0; transform: scaleX(0); }
.hamburger-btn.is-active #hb3 { transform: translateY(-6px) rotate(-45deg); }

/* === MOBILE MENU === */
.mobile-menu { position: fixed; top: 0; right: 0; width: 300px; max-width: 85vw; height: 100vh; background: var(--primary-dark); z-index: 1050; overflow-y: auto; padding: calc(var(--navbar-height) + 20px) 0 40px; transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1); box-shadow: -4px 0 30px rgba(0,0,0,0.4); border-left: 2px solid var(--orange); }
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu .mobile-nav-list { list-style: none; margin: 0; padding: 0 0 20px; }
.mobile-menu .mobile-nav-list li { border-bottom: 1px solid rgba(255,255,255,0.06); }
.mobile-menu .mobile-nav-list li a { display: block; font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: rgba(255,255,255,0.88); text-decoration: none; padding: 16px 30px; transition: color 0.2s ease, padding-left 0.2s ease; }
.mobile-menu .mobile-nav-list li a:hover, .mobile-menu .mobile-nav-list li.current-menu-item > a { color: var(--orange); background: rgba(237,140,114,0.08); padding-left: 38px; }

.mobile-cta-phone { display: flex; align-items: center; gap: 10px; background: var(--orange); color: var(--white) !important; font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; text-decoration: none !important; padding: 14px 30px; margin: 20px 20px 0; transition: background 0.3s ease; }
.mobile-cta-phone:hover { background: var(--orange-hover); }

.mobile-cta-wa { display: flex; align-items: center; gap: 10px; background: #25D366; color: var(--white) !important; font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; text-decoration: none !important; padding: 14px 30px; margin: 20px 20px 0; border-radius: 6px; transition: background 0.3s ease; }
.mobile-cta-wa:hover { background: #1da851; }
.mobile-cta-wa svg { flex-shrink: 0; }

.mobile-alamat { display: flex; align-items: flex-start; gap: 8px; padding: 16px 30px 0; color: rgba(255,255,255,0.55); font-family: var(--font-body); font-size: 0.82rem; line-height: 1.5; }
.mobile-alamat svg { flex-shrink: 0; margin-top: 2px; color: rgba(255,255,255,0.4); }

/* === HERO CONTENT === */
.hero-content { position: relative; z-index: 10; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 5% 100px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; flex: 1; min-height: calc(100vh - var(--navbar-height)); text-align: left; }
.hero-heading { font-family: var(--font-display); font-size: clamp(2.8rem,6vw,5rem); font-weight: 900; color: #ffffff; line-height: 1.05; margin: 0 0 20px 0; text-shadow: 0 2px 20px rgba(0,0,0,0.4); max-width: 750px; }
.hero-subtext { font-family: var(--font-body); font-size: clamp(1rem,1.8vw,1.2rem); color: rgba(255,255,255,0.88); line-height: 1.6; margin: 0 0 36px 0; max-width: 550px; text-transform: capitalize; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; justify-content: flex-start; align-items: center; }

/* CTA Buttons Hero */
.btn-cta-primary { display: inline-block; background: var(--orange); color: #ffffff; font-family: var(--font-display); font-size: 1rem; font-weight: 700; text-decoration: none; padding: 18px 44px; border-radius: 0; transition: background 0.3s ease, transform 0.3s ease; }
.btn-cta-primary:hover { background: var(--orange-hover); color: #ffffff; transform: translateY(-2px); text-decoration: none; }
.btn-cta-secondary { display: inline-block; background: transparent; color: #ffffff; font-family: var(--font-display); font-size: 1rem; font-weight: 700; text-decoration: none; padding: 16px 42px; border: 2px solid rgba(255,255,255,0.75); border-radius: 0; transition: all 0.3s ease; }
.btn-cta-secondary:hover { background: rgba(255,255,255,0.12); border-color: #ffffff; color: #ffffff; transform: translateY(-2px); text-decoration: none; }

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .navbar-right { display: none; }
    .hamburger-btn { display: flex; }
    .navbar { padding: 0 5%; gap: 0; }
    .navbar-logo { margin-right: auto; }
}
@media (max-width: 768px) {
    :root { --navbar-height: 62px; }
    .hero-content { padding-bottom: 70px; }
    .hero-heading { font-size: clamp(2rem,8vw,3.2rem); }
    .hero-buttons { flex-direction: row; flex-wrap: wrap; }
    .mobile-menu { width: 100%; max-width: 100vw; }
}
@media (min-width: 1400px) {
    .navbar { padding: 0 7%; }
    .hero-content { padding-left: 7%; padding-right: 7%; }
}

/* Override GeneratePress body background */
body { background: #1a2b4b !important; }
.site { background: transparent !important; }
#page { background: transparent !important; }

