/* ===== CUSTOM STYLES ===== */

:root {
    --navy-900: #0D1527;
    --navy-800: #1B2A4A;
    --gold-500: #D4A843;
    --gold-400: #E0BC5E;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.nav-header {
    background: rgba(13, 21, 39, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all duration-300;
}

.nav-header.scrolled {
    background: rgba(13, 21, 39, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-400);
    transition: width 0.3s ease;
}

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

/* ===== HERO ===== */
.hero {
    position: relative;
}

.hero-geo {
    animation: float 8s ease-in-out infinite;
}

.hero-geo:nth-child(2) { animation-delay: -2s; animation-duration: 10s; }
.hero-geo:nth-child(3) { animation-delay: -4s; animation-duration: 12s; }
.hero-geo:nth-child(4) { animation-delay: -1s; animation-duration: 9s; }
.hero-geo:nth-child(5) { animation-delay: -3s; animation-duration: 11s; }
.hero-geo:nth-child(6) { animation-delay: -5s; animation-duration: 13s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(var(--rotation, 0deg)); }
    50% { transform: translateY(-20px) rotate(var(--rotation, 0deg)); }
}

.hero-geo:nth-child(5) { --rotation: 12deg; }
.hero-geo:nth-child(6) { --rotation: 45deg; }

/* ===== SERVICE CARDS ===== */
.service-card {
    position: relative;
}

/* ===== GALLERY ===== */
.gallery-item {
    position: relative;
    cursor: pointer;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

/* Mobile menu transitions */
.mobile-menu {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--gold-500);
    border-radius: 4px;
}

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

/* Selection color */
::selection {
    background: var(--gold-500);
    color: var(--navy-900);
}
