@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Outfit:wght@300;400;600;700&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.01em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
}

:root {
    --gold: #C5A059;
    --gold-dark: #A68549;
    --gold-light: #D4B982;
}

.text-gold {
    color: var(--gold);
}

.bg-gold {
    background-color: var(--gold);
}

.border-gold {
    border-color: var(--gold);
}

.hover\:bg-dark-gold:hover {
    background-color: var(--gold-dark);
}

.bg-dark-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-zoom {
    animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

.scroll-indicator {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-content>div {
    overflow: hidden;
}

.accordion-content.active {
    grid-template-rows: 1fr;
}

.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.3s;
}

.stagger-3 {
    transition-delay: 0.5s;
}

.nav-link {
    color: inherit;
}

.mobile-nav-link {
    color: #111827;
    /* Gray-900 for light mode */
}

.dark .mobile-nav-link {
    color: #f3f4f6;
    /* Gray-100 for dark mode */
}

.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item.hidden {
    display: none;
    opacity: 0;
    transform: scale(0.9);
}

.filter-btn.active {
    background-color: var(--gold);
    color: white;
    border-color: var(--gold);
}

/* Nav & Mobile Menu Utilities */
.header-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding-top: 1rem;
    padding-bottom: 1rem;
    color: #111827;
    /* gray-900 */
}

.dark .header-scrolled {
    background-color: rgba(17, 24, 39, 0.95);
    /* gray-900 */
    color: white;
}

/* RESTORED: Header Scrolled State (Desktop Visibility) */
.header-scrolled .nav-link {
    color: #111827 !important;
}

.dark .header-scrolled .nav-link {
    color: #ffffff !important;
}

.header-scrolled #lang-switcher {
    border-color: rgba(0, 0, 0, 0.2);
    color: #111827;
}

.dark .header-scrolled #lang-switcher {
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.header-scrolled #mobile-menu-btn {
    color: #111827;
}

.dark .header-scrolled #mobile-menu-btn {
    color: #ffffff;
}

/* FIXED: Mobile Sidebar Full Screen */
#mobile-sidebar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    background-color: #000000 !important;
    z-index: 9999 !important;
    display: flex !important;
    flex-direction: column !important;
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
}

#mobile-sidebar.open {
    transform: translateX(0) !important;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
}

.mobile-nav-link:hover {
    color: var(--gold);
    padding-left: 1rem;
}

.mobile-nav-link svg {
    width: 1.75rem;
    height: 1.75rem;
    color: var(--gold);
}

/* Lightbox Styles */
#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
}

#lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    position: relative;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: white;
    cursor: pointer;
    font-size: 2rem;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    cursor: pointer;
    font-size: 2rem;
    width: auto;
    padding: 16px;
    transition: 0.3s;
}

.lightbox-prev {
    left: -20px;
}

.lightbox-next {
    right: -20px;
}

@media (min-width: 768px) {
    .lightbox-prev {
        left: -80px;
    }

    .lightbox-next {
        right: -80px;
    }
}
