@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400&display=swap');

:root {
    --bg-main: #0B0D13;
    --bg-card: #12151F;
    --bg-surface: #181C2A;
    --bg-glass: rgba(18, 21, 31, 0.75);
    --gold: #D4AF37;
    --gold-light: #F5E6B3;
    --gold-glow: rgba(212, 175, 55, 0.25);
    --border-gold: rgba(212, 175, 55, 0.18);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --text-primary: #F8FAFC;
    --text-secondary: #CBD5E1;
    --text-muted: #94A3B8;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.font-serif-luxury {
    font-family: 'Playfair Display', serif;
}

.font-display {
    font-family: 'Cinzel', serif;
    letter-spacing: 0.05em;
}

/* Glassmorphism */
.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-gold);
}

.glass-nav {
    background: rgba(11, 13, 19, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

/* Luxury Gold Gradients & Accents */
.text-gold-gradient {
    background: linear-gradient(135deg, #FFF0CA 0%, #D4AF37 50%, #AA8012 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gold-gradient-bg {
    background: linear-gradient(135deg, #D4AF37 0%, #E5C158 50%, #C5A059 100%);
    color: #0B0D13;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gold-gradient-bg:hover {
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.gold-outline-btn {
    border: 1px solid var(--gold);
    color: var(--gold);
    background: transparent;
    transition: all 0.3s ease;
}

.gold-outline-btn:hover {
    background: var(--gold);
    color: #0B0D13;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

/* Luxury Cards */
.luxury-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 1rem;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.luxury-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.luxury-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-6px);
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.7), 0 0 25px rgba(212, 175, 55, 0.1);
}

.luxury-card:hover::before {
    opacity: 1;
}

/* Image Zoom */
.zoom-container {
    overflow: hidden;
}

.zoom-image {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.luxury-card:hover .zoom-image {
    transform: scale(1.08);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #0B0D13;
}

::-webkit-scrollbar-thumb {
    background: #252A39;
    border-radius: 4px;
    border: 2px solid #0B0D13;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* Animated Golden Shimmer */
@keyframes goldShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.shimmer-text {
    background: linear-gradient(90deg, #D4AF37 0%, #FFFFFF 50%, #D4AF37 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldShimmer 6s infinite ease-in-out;
}

/* Subtle 3D floating effect */
@keyframes float3D {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(0.5deg); }
}

.animate-float {
    animation: float3D 6s ease-in-out infinite;
}

/* Toast */
.toast-luxury {
    background: #141724;
    border: 1px solid var(--gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.2);
    border-radius: 0.75rem;
    animation: slideUp 0.3s ease forwards;
}

@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Professional Hero Banner Carousel (Daraz-style Luxury Slider) */
.hero-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.hero-slider-track {
    display: flex;
    transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.hero-slide {
    flex: 0 0 100%;
    width: 100%;
    position: relative;
    min-height: 380px;
}

@media (min-width: 640px) {
    .hero-slide {
        min-height: 400px;
    }
}

@media (min-width: 1024px) {
    .hero-slide {
        min-height: 420px;
    }
}

.hero-slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 13, 19, 0.75);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: #F8FAFC;
    border-radius: 9999px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 25;
    opacity: 0;
    pointer-events: none;
}

.hero-slider-wrapper:hover .hero-slider-nav-btn {
    opacity: 1;
    pointer-events: auto;
}

@media (hover: none) {
    .hero-slider-nav-btn {
        opacity: 0.85;
        pointer-events: auto;
    }
}

.hero-slider-nav-btn:hover {
    background: #D4AF37;
    color: #0B0D13;
    border-color: #D4AF37;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
    transform: translateY(-50%) scale(1.1);
}

.hero-slider-prev {
    left: 1rem;
}

.hero-slider-next {
    right: 1rem;
}

.hero-slider-dot {
    height: 0.4rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.25);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
    padding: 0;
}

.hero-slider-dot.active {
    width: 2.75rem;
    background: #D4AF37;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.75);
}

.hero-slider-dot:not(.active) {
    width: 0.85rem;
}

.hero-slider-dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.55);
}

/* Slide Progress indicator */
.hero-slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #D4AF37, #F5E6B3);
    width: 0%;
    z-index: 30;
    transition: width 0.1s linear;
}

/* ---------------------------------------------------------------------------
   Single-viewport Hero Section
   Derives clean height to fit fully within a single screen without scrolling
   or wasted dead space.
   --------------------------------------------------------------------------- */
.hero-fold {
    --fold-chrome: 96px; /* Announcement bar (~32px) + header (~64px) */
    position: relative;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    .hero-fold {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: calc(100vh - var(--fold-chrome));
        height: calc(100dvh - var(--fold-chrome));
        min-height: 520px;
        max-height: 840px;
        box-sizing: border-box;
    }

    .hero-fold-inner {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 0;
        height: 100%;
    }

    .hero-fold-grid {
        flex: 1 1 auto;
        min-height: 0;
    }

    .hero-fold-grid > * {
        min-height: 0;
        height: 100%;
    }

    .hero-fold .hero-slider-wrapper {
        min-height: 0;
        height: 100%;
    }

    .hero-fold .hero-slide {
        min-height: 0;
        height: 100%;
    }

    .hero-fold .hero-slider-track {
        height: 100%;
    }

    .hero-fold-rail {
        height: 100%;
        min-height: 0;
        display: flex;
        flex-direction: column;
    }

    .hero-fold-rail > * {
        min-height: 0;
    }
}

/* Compact desktop screens (e.g. 768px laptop height) */
@media (min-width: 1024px) and (max-height: 760px) {
    .hero-fold {
        min-height: 480px;
    }
    .hero-fold-ribbon {
        display: none;
    }
}

