/* ═══ HEADER OVERLAY — Only on index.php ═══ */
.navbar-koku.hero-header-overlay {
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    border-bottom: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    width: 100% !important;
    padding: 12px 0;
}
/* White text when header overlays the slider */
.navbar-koku.hero-header-overlay .nav-link {
    color: #FFFFFF !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.navbar-koku.hero-header-overlay .nav-link:hover,
.navbar-koku.hero-header-overlay .nav-link.active {
    color: rgba(255,255,255,0.8) !important;
}
.navbar-koku.hero-header-overlay .navbar-brand {
    color: #FFFFFF !important;
    filter: brightness(0) invert(1);
}
.navbar-koku.hero-header-overlay .brand-name {
    color: #FFFFFF !important;
}
.navbar-koku.hero-header-overlay .btn-outline-primary {
    border-color: rgba(255,255,255,0.6) !important;
    color: #FFFFFF !important;
    background: transparent !important;
}
.navbar-koku.hero-header-overlay .btn-outline-primary:hover {
    background: rgba(255,255,255,0.15) !important;
    border-color: #FFFFFF !important;
}
.navbar-koku.hero-header-overlay .btn-primary {
    background: rgba(255,255,255,0.15) !important;
    border: 1.5px solid rgba(255,255,255,0.5) !important;
    backdrop-filter: blur(6px);
    box-shadow: none !important;
}
.navbar-koku.hero-header-overlay .btn-primary:hover {
    background: rgba(255,255,255,0.25) !important;
}
.navbar-koku.hero-header-overlay .navbar-toggler {
    border-color: rgba(255,255,255,0.4);
}
.navbar-koku.hero-header-overlay .navbar-toggler-icon {
    filter: invert(1);
}
/* After scroll — normal solid header */
.navbar-koku.hero-header-overlay.scrolled {
    position: fixed !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
}
.navbar-koku.hero-header-overlay.scrolled .nav-link {
    color: #1a1a1a !important;
    text-shadow: none !important;
}
.navbar-koku.hero-header-overlay.scrolled .nav-link:hover,
.navbar-koku.hero-header-overlay.scrolled .nav-link.active {
    color: #0288D1 !important;
}
.navbar-koku.hero-header-overlay.scrolled .navbar-brand {
    color: #000000 !important;
    filter: none;
}
.navbar-koku.hero-header-overlay.scrolled .brand-name {
    color: #0072C6 !important;
}
.navbar-koku.hero-header-overlay.scrolled .btn-outline-primary {
    border-color: #00BCD4 !important;
    color: #00BCD4 !important;
    background: rgba(0,188,212,0.1) !important;
}
.navbar-koku.hero-header-overlay.scrolled .btn-primary {
    background: linear-gradient(135deg, #0288D1, #01579B) !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(2,136,209,0.4) !important;
}

/* ═══ HERO SLIDER ═══ */
.hero-slider-container {
    width: 100%;
    height: 100vh;
    min-height: 600px;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
}
.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}
.hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, 0, 0) scale(1);
    z-index: 0;
    will-change: transform, opacity;
    transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.85s;
}
.hero-slide.is-entering,
.hero-slide.is-leaving,
.hero-slide.active {
    visibility: visible;
}
.hero-slide.is-entering,
.hero-slide.is-leaving {
    pointer-events: none;
}
.hero-slide.enter-from-right {
    transform: translate3d(12%, 0, 0) scale(1.02);
}
.hero-slide.enter-from-left {
    transform: translate3d(-12%, 0, 0) scale(1.02);
}
.hero-slide.is-leaving.exit-to-left {
    opacity: 0;
    transform: translate3d(-12%, 0, 0) scale(0.98);
}
.hero-slide.is-leaving.exit-to-right {
    opacity: 0;
    transform: translate3d(12%, 0, 0) scale(0.98);
}
.hero-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1);
    z-index: 2;
    transition-delay: 0s;
}
.hero-slide-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
}
.hero-slide-bg video {
    width: 100%; height: 100%;
    object-fit: cover;
}
.hero-slide-bg iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-width: 177.78vh;
    min-height: 100vh;
    transform: translate(-50%, -50%);
    border: 0;
    pointer-events: none;
}
/* 25% dark overlay — text readable, video still clear */
.hero-slide-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}
/* Text positioned slightly above center */
.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    height: 100%;
    padding: 160px 0px 140px;
}
.hero-text-group {
    max-width: 900px;
    width: 55%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
/* ── Large Bold Heading ── */
.hero-heading {
    font-size: 80px;
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 24px;
    line-height: 1;
    text-shadow: 0 2px 24px rgba(0,0,0,0.45);
    letter-spacing: -2px;
}
/* Accent color for highlighted text */
.hero-heading .highlight {
    color: #FFA500;
}
.hero-kicker {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    margin-bottom: 16px;
    display: inline-block;
    text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}
.hero-subtitle {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255,255,255,0.9);
    margin-bottom: 16px;
    text-shadow: 0 1px 12px rgba(0,0,0,0.35);
    line-height: 1.6;
}
.hero-description {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,0.88);
    margin-bottom: 0;
    max-width: 480px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}
/* ── CTA Buttons — Left Aligned ── */
.hero-cta-group {
    position: absolute;
    bottom: 80px;
    left: 0px;
    right: auto;
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    padding: 0;
    z-index: 12;
}
.hero-cta-group .btn {
    font-weight: 700;
    padding: 14px 40px;
    border-radius: 10px;
    font-size: 15px;
    letter-spacing: 0.3px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: all 0.3s ease;
}
.hero-cta-group .btn-light {
    background: rgba(255,255,255,0.95);
    color: #1a1a1a;
    border: none;
}
.hero-cta-group .btn-light:hover {
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.hero-cta-group .btn-outline-light {
    background: rgba(255,255,255,0.08);
    color: #FFFFFF;
    border: 1.5px solid rgba(255,255,255,0.45);
}
.hero-cta-group .btn-outline-light:hover {
    background: rgba(255,255,255,0.18);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
/* Dots */
.hero-controls {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
}
/* Prev / Next */
.slider-btn {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1.5px solid rgba(255,255,255,0.25);
    color: #FFFFFF;
    width: 48px; height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    position: absolute;
    z-index: 15;
}
.slider-btn.prev { left: 20px; top: 50%; transform: translateY(-50%); }
.slider-btn.next { right: 20px; top: 50%; transform: translateY(-50%); }
.slider-btn:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-50%) scale(1.1);
}
.slider-dots { display: flex; gap: 10px; justify-content: center; }
.slider-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    border: 1.5px solid rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}
.slider-dot:hover { background: rgba(255,255,255,0.7); }
.slider-dot.active {
    background: #FFFFFF;
    width: 30px;
    border-radius: 5px;
    border-color: #FFFFFF;
}
@media (max-width: 1024px) {
    .hero-content { padding: 140px 80px 130px; }
    .hero-heading { font-size: 46px; }
    .hero-subtitle { font-size: 17px; }
    .hero-text-group { width: 60%; }
    .hero-cta-group { left: 80px; padding: 0; }
}
@media (max-width: 768px) {
    .hero-slider-container { min-height: 500px; }
    .hero-heading { font-size: 48px; }
    .hero-subtitle { font-size: 16px; }
    .hero-description { font-size: 14px; }
    .hero-content { padding: 120px 60px 120px; }
    .hero-text-group { width: 70%; }
    .hero-cta-group { left: 60px; padding: 0; bottom: 80px; }
    .hero-cta-group .btn { font-size: 13px; padding: 12px 28px; }
    .slider-btn { width: 38px; height: 38px; font-size: 14px; }
    .slider-btn.prev { left: 10px; }
    .slider-btn.next { right: 10px; }
}
@media (max-width: 576px) {
    .hero-heading { font-size: 36px; }
    .hero-subtitle { font-size: 14px; }
    .hero-description { font-size: 13px; }
    .hero-content { padding: 100px 30px 100px; }
    .hero-text-group { width: 95%; }
    .hero-cta-group { left: 30px; padding: 0; bottom: 65px; flex-direction: column; align-items: flex-start; gap: 10px; }
    .slider-btn { width: 34px; height: 34px; font-size: 13px; }
    .slider-btn.prev { left: 6px; }
    .slider-btn.next { right: 6px; }
}
