@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&display=swap');

/* =========================================================
   SLG GOLD - COMMON HEADER STYLES
========================================================= */

.slg-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 41, 56, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.22);
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transform: translateY(0);
    will-change: transform;
}

/* 1. Scrolling DOWN: Header smoothly slides up & hides */
.slg-header.header-hidden {
    transform: translateY(-100%);
    box-shadow: none;
}

/* 2. Scrolling UP (from bottom to top): Header reveals with luxury gold glow */
.slg-header.header-visible {
    transform: translateY(0);
    background: rgba(0, 41, 56, 0.98);
    border-bottom-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.5);
}

.slg-header.scrolled {
    background: rgba(0, 41, 56, 0.98);
    border-bottom-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* Top Body Offset for Fixed Header */
body {
    padding-top: 80px;
}

.header-container {
    width: min(calc(100% - 60px), 1440px);
    margin: 0 auto;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: height 0.3s ease;
}

.slg-header.scrolled .header-container {
    height: 72px;
}

/* 1. Brand Logo */
.header-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.header-logo-link:hover {
    transform: translateY(-1px);
}

.header-logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.35));
}

.header-logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main-title {
    font-family: 'Roboto', sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #FFFFFF;
    line-height: 1.1;
}

.logo-gold-accent {
    color: #ECC75C;
    background: linear-gradient(135deg, #FFF0B8 0%, #ECC75C 50%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-sub-tagline {
    font-family: 'Poppins', sans-serif;
    font-size: 8.5px;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: #D4AF37;
    line-height: 1.2;
    margin-top: 2px;
}

/* 2. Desktop Navigation */
.header-nav-desktop {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #CAD7DF;
    text-decoration: none;
    padding: 8px 2px;
    transition: color 0.25s ease;
    position: relative;
    display: inline-block;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ECC75C, #D4AF37);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover {
    color: #FFFFFF;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: #ECC75C;
    font-weight: 600;
}

/* 3. Header Right CTA & Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.header-cta-btn {
    background: linear-gradient(135deg, #ECC75C 0%, #D4AF37 60%, #C09A29 100%);
    color: #061B25;
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 9999px;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.header-cta-btn:hover {
    background: linear-gradient(135deg, #FFF0B8 0%, #ECC75C 60%, #D4AF37 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(212, 175, 55, 0.5);
}

.header-cta-btn .btn-arrow {
    font-size: 15px;
    transition: transform 0.3s ease;
}

.header-cta-btn:hover .btn-arrow {
    transform: translateX(3px);
}

/* Mobile Hamburger Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: #D4AF37;
}

.hamburger-bar {
    width: 22px;
    height: 2px;
    background: #FFFFFF;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* 4. Mobile Offcanvas Navigation Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: min(85vw, 320px);
    height: 100vh;
    background: #002938;
    border-left: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.6);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 24px 20px;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

.mobile-nav-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    flex-shrink: 0;
}

.drawer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.drawer-logo-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.drawer-logo-title {
    font-family: 'Roboto', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: #FFFFFF;
}

.drawer-close-btn {
    background: none;
    border: none;
    color: #D4AF37;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    padding: 4px;
    transition: transform 0.2s ease;
}

.drawer-close-btn:hover {
    transform: scale(1.1);
    color: #FFFFFF;
}

.mobile-nav-list {
    list-style: none;
    margin: 8px 0 20px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-shrink: 0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    color: #D7E1E5;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.25s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(212, 175, 55, 0.12);
    color: #ECC75C;
    border-bottom-color: transparent;
    padding-left: 18px;
}

.link-arrow {
    font-size: 18px;
    color: #D4AF37;
    transition: transform 0.25s ease;
}

.mobile-nav-link:hover .link-arrow {
    transform: translateX(4px);
}

.drawer-footer {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-shrink: 0;
}

.drawer-cta-btn {
    background: linear-gradient(135deg, #ECC75C 0%, #D4AF37 60%, #C09A29 100%);
    color: #061B25;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 13px 20px;
    border-radius: 9999px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.4);
}

.drawer-trust-tag {
    text-align: center;
    color: #D4AF37;
    font-size: 9.5px;
    letter-spacing: 0.14em;
    font-weight: 600;
}

/* Mobile Backdrop Overlay */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* =========================================================
   HEADER RESPONSIVE MEDIA QUERIES
========================================================= */
@media (max-width: 1080px) {
    .nav-list {
        gap: 18px;
    }

    .nav-link {
        font-size: 13px;
    }
}

@media (max-width: 960px) {
    .header-nav-desktop {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-cta-btn {
        display: none;
    }
}

@media (max-width: 600px) {
    .header-container {
        width: calc(100% - 32px);
        height: 70px;
    }

    .header-logo-img {
        width: 40px;
        height: 40px;
    }

    .logo-main-title {
        font-size: 19px;
    }

    .logo-sub-tagline {
        font-size: 7.5px;
    }
}

/* =========================================================
   NEW MODEL: CINEMATIC GOLD CURTAIN & MONOGRAM PRELOADER
========================================================= */
.slg-preloader {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    pointer-events: all;
}

/* Split Curtains */
.preloader-curtain {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50.5%;
    background: radial-gradient(ellipse at 50% 100%, #063c4c 0%, #00222f 60%, #00121a 100%);
    z-index: 1;
    transition: transform 0.85s cubic-bezier(0.77, 0, 0.175, 1);
    will-change: transform;
}

.preloader-curtain.curtain-top {
    top: 0;
    border-bottom: 1.5px solid rgba(212, 175, 55, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
}

.preloader-curtain.curtain-bottom {
    bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, #063c4c 0%, #00222f 60%, #00121a 100%);
    border-top: 1.5px solid rgba(212, 175, 55, 0.5);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.8);
}

/* When opening / completed */
.slg-preloader.curtains-open .curtain-top {
    transform: translateY(-100%);
}

.slg-preloader.curtains-open .curtain-bottom {
    transform: translateY(100%);
}

.slg-preloader.curtains-open .preloader-stage {
    opacity: 0;
    transform: scale(1.12);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.slg-preloader.fade-out {
    pointer-events: none;
    visibility: hidden;
}

/* Central Stage */
.preloader-stage {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    width: min(92%, 500px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Ambient Ray Aura behind logo */
.preloader-aura-pulse {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(236, 199, 92, 0.35) 0%, rgba(212, 175, 55, 0.1) 45%, transparent 70%);
    filter: blur(48px);
    animation: preloaderAuraBreathe 3s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: -1;
}

/* Luxury Emblem Box */
.preloader-emblem-box {
    position: relative;
    width: 110px;
    height: 110px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Outer Orbiting Diamond Halo */
.preloader-diamond-halo {
    position: absolute;
    width: 96px;
    height: 96px;
    border: 1px dashed rgba(236, 199, 92, 0.4);
    transform: rotate(45deg);
    animation: preloaderHaloRotate 12s linear infinite;
    pointer-events: none;
}

/* Geometric Gold Diamond Shield */
.preloader-diamond-shield {
    position: absolute;
    width: 84px;
    height: 84px;
    border: 1.8px solid rgba(236, 199, 92, 0.8);
    transform: rotate(45deg);
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.18) 0%, rgba(0, 41, 56, 0.9) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 0 35px rgba(212, 175, 55, 0.45), inset 0 0 20px rgba(212, 175, 55, 0.3);
    animation: preloaderDiamondGlow 2.5s ease-in-out infinite alternate;
}

.preloader-diamond-shield::before {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(255, 240, 184, 0.6);
    transform: rotate(0deg);
}

.preloader-logo-graphic {
    position: relative;
    z-index: 2;
    width: 58px;
    height: 58px;
    object-fit: contain;
    filter: drop-shadow(0 4px 18px rgba(236, 199, 92, 0.85));
    animation: preloaderLogoGentleFloat 2.6s ease-in-out infinite alternate;
}

/* Luxury Shimmering Brand Title */
.preloader-brand-header {
    font-family: 'Cinzel', 'Playfair Display', 'Georgia', serif;
    font-size: 38px;
    font-weight: 800;
    letter-spacing: 0.2em;
    margin-bottom: 8px;
    text-transform: uppercase;
    background: linear-gradient(110deg, #D4AF37 0%, #ECC75C 25%, #FFFDF0 48%, #ECC75C 58%, #D4AF37 80%, #9B7812 100%);
    background-size: 240% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 16px rgba(212, 175, 55, 0.6));
    animation: preloaderGoldTextShimmer 3.2s ease-in-out infinite;
    line-height: 1.15;
}

/* Luxury Divider Line with Sparkling Diamond */
.preloader-gold-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin-bottom: 8px;
}

.preloader-gold-divider .divider-line {
    width: 45px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(236, 199, 92, 0.7));
}

.preloader-gold-divider .divider-line.right {
    background: linear-gradient(90deg, rgba(236, 199, 92, 0.7), transparent);
}

.preloader-gold-divider .divider-sparkle {
    color: #ECC75C;
    font-size: 10px;
    filter: drop-shadow(0 0 6px rgba(236, 199, 92, 0.9));
    animation: preloaderSparklePulse 1.8s ease-in-out infinite alternate;
}

.preloader-motto {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.28em;
    color: #CAD7DF;
    text-transform: uppercase;
    margin-bottom: 26px;
}

.preloader-motto .bullet-gold {
    color: #ECC75C;
    margin: 0 4px;
}

/* Big Minimalist Percentage Display */
.preloader-metric-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 12px;
}

.preloader-big-num {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
    color: #ECC75C;
    text-shadow: 0 0 22px rgba(236, 199, 92, 0.7);
    letter-spacing: -0.02em;
}

.preloader-percent-symbol {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #D4AF37;
    margin-left: 3px;
}

/* Sleek Laser Progress Bar */
.preloader-laser-track {
    width: 260px;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: visible;
    margin-bottom: 14px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6);
}

.preloader-laser-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #8A6407 0%, #ECC75C 60%, #FFFFFF 100%);
    border-radius: 4px;
    box-shadow: 0 0 16px rgba(236, 199, 92, 1);
    transition: width 0.05s linear;
}

.preloader-laser-flare {
    position: absolute;
    right: -4px;
    top: -3px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 0 14px 4px rgba(236, 199, 92, 1);
}

/* Status Dynamic Phrase */
.preloader-dynamic-phrase {
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: #ECC75C;
    text-transform: uppercase;
    min-height: 18px;
    transition: opacity 0.2s ease;
}

/* Keyframes */
@keyframes preloaderGoldTextShimmer {
    0% { background-position: 100% 0; }
    50% { background-position: 0% 0; }
    100% { background-position: -100% 0; }
}

@keyframes preloaderSparklePulse {
    0% { transform: scale(0.85); opacity: 0.7; }
    100% { transform: scale(1.3); opacity: 1; filter: drop-shadow(0 0 8px rgba(236, 199, 92, 1)); }
}

@keyframes preloaderHaloRotate {
    0% { transform: rotate(45deg); }
    100% { transform: rotate(405deg); }
}

@keyframes preloaderAuraBreathe {
    0% { transform: translateX(-50%) scale(0.85); opacity: 0.7; }
    100% { transform: translateX(-50%) scale(1.18); opacity: 1; }
}

@keyframes preloaderDiamondGlow {
    0% { transform: rotate(45deg) scale(0.96); box-shadow: 0 0 20px rgba(212, 175, 55, 0.2); }
    100% { transform: rotate(45deg) scale(1.02); box-shadow: 0 0 38px rgba(236, 199, 92, 0.55); }
}

@keyframes preloaderLogoGentleFloat {
    0% { transform: translateY(-2px); }
    100% { transform: translateY(3px); }
}

@media (max-width: 768px) {
    .preloader-brand-header {
        font-size: 28px;
        letter-spacing: 0.16em;
    }
    .preloader-big-num {
        font-size: 34px;
    }
    .preloader-laser-track {
        width: 220px;
    }
}

/* =========================================================
   GLOBAL SMOOTH SCROLL & LUXURY SCROLL-REVEAL SYSTEM
========================================================= */
html {
    scroll-behavior: smooth;
}

/* Base Reveal Element */
.slg-reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.slg-reveal.is-revealed {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Directional & Scaling Reveal Variants */
.slg-reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.slg-reveal-left.is-revealed {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.slg-reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.slg-reveal-right.is-revealed {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.slg-reveal-scale {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.slg-reveal-scale.is-revealed {
    opacity: 1 !important;
    transform: scale(1) translateY(0) !important;
}

/* Floating Luxury Back to Top Button */
.slg-back-to-top {
    position: fixed;
    bottom: 100px;
    right: 34px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 41, 56, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(212, 175, 55, 0.5);
    color: #ECC75C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    z-index: 99998;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px) scale(0.9);
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.slg-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.slg-back-to-top:hover {
    background: #002938;
    border-color: #ECC75C;
    color: #FFFFFF;
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 10px 28px rgba(212, 175, 55, 0.35);
}

.slg-back-to-top svg {
    position: absolute;
    inset: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    pointer-events: none;
    transform: rotate(-90deg);
}

.slg-back-to-top .progress-circle {
    fill: none;
    stroke: #ECC75C;
    stroke-width: 2.5;
    stroke-dasharray: 157.08;
    stroke-dashoffset: 157.08;
    transition: stroke-dashoffset 0.1s linear;
}

@media (max-width: 768px) {
    .slg-back-to-top {
        bottom: 84px;
        right: 24px;
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}
