*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy-900: #0f1a2e;
    --navy-800: #1a2744;
    --gold-500: #c9a84c;
    --gold-400: #d4af57;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--navy-900);
    color: #fff;
    overflow-x: hidden;
}

.font-['Cormorant_Garamond'] {
    font-family: 'Cormorant Garamond', serif;
}

.font-['Montserrat'] {
    font-family: 'Montserrat', sans-serif;
}

/* Hero animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeUp 0.9s ease-out forwards;
}

/* Scroll reveal */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(40px);
    }

    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gallery Swiper */
.gallerySwiper .swiper-pagination {
    position: relative;
    bottom: 0;
}

.gallerySwiper .swiper-pagination-bullet {
    background: rgba(201, 168, 76, 0.4);
    opacity: 1;
    width: 8px;
    height: 8px;
    transition: all 0.3s ease;
}

.gallerySwiper .swiper-pagination-bullet-active {
    background: var(--gold-500);
    width: 24px;
    border-radius: 4px;
}

/* Input autofill */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px var(--navy-900) inset !important;
    -webkit-text-fill-color: #fff !important;
}

/* Focus visible */
input:focus,
textarea:focus,
button:focus {
    outline: none;
}

/* Selection */
::selection {
    background: rgba(201, 168, 76, 0.3);
    color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--navy-900);
}

::-webkit-scrollbar-thumb {
    background: rgba(201, 168, 76, 0.4);
    border-radius: 3px;
}

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

/* Mobile menu transitions */
#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}

#mobileMenu.closed {
    opacity: 0;
    pointer-events: none;
}

.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
}

#mobileMenu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
#mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
#mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }
#mobileMenu.open .mobile-link:nth-child(5) { transition-delay: 0.3s; }
#mobileMenu.open .mobile-link:nth-child(6) { transition-delay: 0.35s; }

/* Smooth image loading */
img {
    image-rendering: auto;
    will-change: transform;
}
