@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --deep-blue: #1A2B4A;
    --gold: #C9A84C;
    --gold-light: #dfc67d;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    position: relative;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
}

.bg-deep-blue {
    background-color: var(--deep-blue);
}

.text-gold {
    color: var(--gold);
}

.bg-gold {
    background-color: var(--gold);
}

.border-gold {
    border-color: var(--gold);
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate-right.animate {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered animations */
.scroll-animate:nth-child(1) {
    transition-delay: 0.1s;
}

.scroll-animate:nth-child(2) {
    transition-delay: 0.2s;
}

.scroll-animate:nth-child(3) {
    transition-delay: 0.3s;
}

.scroll-animate:nth-child(4) {
    transition-delay: 0.4s;
}

.hero-min-height {
    min-height: 100vh;
}

@media (max-width: 768px) {
    .hero-min-height {
        min-height: auto;
    }
}

.hero-video-responsive {
    height: 420px;
    width: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(201, 168, 76, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 100%;
}

@media (max-width: 768px) {
    .hero-video-responsive {
        height: auto;
        width: 100%;
        max-width: 320px;
    }
}

.hero-pattern {
    background-color: #1a2b4a;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4v-4H4v4H0v2h4v4h2v-4h4v-2H6zm30 0v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.gold-gradient {
    background: linear-gradient(135deg, #C9A84C 0%, #A68939 100%);
}

/* Comparison Slider */
.comparison-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    user-select: none;
    background: #000;
}

.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.slider-image.before {
    z-index: 1;
}

.slider-image.after {
    z-index: 2;
    clip-path: inset(0 50% 0 0);
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: white;
    z-index: 3;
    cursor: ew-resize;
    transform: translateX(-50%);
}

.slider-handle::after {
    content: '\f337';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: white;
    color: var(--deep-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.slider-label {
    position: absolute;
    bottom: 20px;
    padding: 8px 16px;
    background: rgba(26, 43, 74, 0.8);
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 4;
    pointer-events: none;
}

@media (max-width: 768px) {
    .slider-handle::after {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .slider-label {
        padding: 4px 8px;
        font-size: 0.625rem;
        bottom: 10px;
    }

    .slider-label.before-label {
        right: 10px;
    }

    .slider-label.after-label {
        left: 10px;
    }
}

.slider-label.before-label {
    right: 20px;
}

.slider-label.after-label {
    left: 20px;
}

/* Thumbnail Gallery */
.thumbnail-item {
    position: relative;
    overflow: hidden;
}

.thumbnail-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.thumbnail-item:hover::after {
    opacity: 0.1;
}

.thumbnail-item.border-gold::after {
    opacity: 0;
}

/* --- New Navigation Concepts --- */

/* Scrolled Header State */
header.header-scrolled {
    padding-top: 2px;
    padding-bottom: 2px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

header.header-scrolled .top-info-bar {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    overflow: hidden;
    border-bottom-width: 0;
}

header.header-scrolled nav {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* Active Nav Links */
.nav-link {
    position: relative;
    padding-bottom: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition-smooth);
    opacity: 0;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
    opacity: 1;
}

.nav-link.active {
    color: var(--gold) !important;
}

/* Refined Desktop Menu */
.desktop-menu-item {
    transition: var(--transition-fast);
}

.desktop-menu-item:hover {
    color: var(--deep-blue) !important;
}

/* Hero Section Animations */
#hero-inner {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button Animations */
button,
.gold-gradient,
[class*="btn"] {
    transition: var(--transition-smooth);
    transform: translateY(0);
}

button:hover,
.gold-gradient:hover,
[class*="btn"]:hover {
    transform: translateY(-2px);
}

/* Navigation Animations — scoped to .nav-link only */

/* Image/Video Hover Effects */
#hero-video {
    transition: transform 0.5s ease;
}

#hero-video:hover {
    transform: scale(1.02);
}

.comparison-slider {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comparison-slider:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* WhatsApp Floating Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.whatsapp-widget:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    background-color: #1ebe57;
}

.whatsapp-widget::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #25D366;
    border-radius: 50%;
    opacity: 0.5;
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .whatsapp-widget {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
}

/* Mobile Menu Design Enhancements */
#mobile-menu {
    transition: transform 0.7s cubic-bezier(0.85, 0, 0.15, 1);
}

.mobile-nav-link {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

#mobile-menu:not(.translate-x-full) .mobile-nav-link {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered link entry */
#mobile-menu:not(.translate-x-full) .mobile-link-box:nth-child(2) .mobile-nav-link {
    transition-delay: 0.2s;
}

#mobile-menu:not(.translate-x-full) .mobile-link-box:nth-child(3) .mobile-nav-link {
    transition-delay: 0.25s;
}

#mobile-menu:not(.translate-x-full) .mobile-link-box:nth-child(4) .mobile-nav-link {
    transition-delay: 0.3s;
}

#mobile-menu:not(.translate-x-full) .mobile-link-box:nth-child(5) .mobile-nav-link {
    transition-delay: 0.35s;
}

#mobile-menu:not(.translate-x-full) .mobile-link-box:nth-child(6) .mobile-nav-link {
    transition-delay: 0.4s;
}

#mobile-menu:not(.translate-x-full) .mobile-link-box:nth-child(7) .mobile-nav-link {
    transition-delay: 0.45s;
}

#mobile-menu:not(.translate-x-full) .mobile-link-box:nth-child(8) .mobile-nav-link {
    transition-delay: 0.5s;
}

#mobile-menu:not(.translate-x-full) .mobile-link-box:nth-child(9) .mobile-nav-link {
    transition-delay: 0.55s;
}

#mobile-menu:not(.translate-x-full) .mobile-link-box:nth-child(10) .mobile-nav-link {
    transition-delay: 0.6s;
}

#mobile-menu:not(.translate-x-full) .mobile-link-box:nth-child(11) .mobile-nav-link {
    transition-delay: 0.65s;
}

.mobile-link-box {
    background-color: white;
    margin-bottom: 2px;
    padding-left: 20px;
    padding-right: 20px;
}

.mobile-nav-link {
    background-color: white;
}