/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy-900: #0a1628;
    --navy-800: #0f2140;
    --gold-500: #c9a84c;
    --gold-400: #d4b962;
}

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

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--navy-900);
    background: #fff;
    overflow-x: hidden;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s 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; }

/* ===== NAVBAR ===== */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

#navbar.scrolled {
    background: rgba(10, 22, 40, 0.97);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.nav-text {
    transition: color 0.3s ease;
}

#navbar:not(.scrolled) .nav-text {
    color: rgba(255, 255, 255, 0.85);
}

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

#hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, #fff, transparent);
    z-index: 1;
    pointer-events: none;
}

/* ===== SECTION STYLING ===== */
section {
    position: relative;
}

/* ===== BUTTONS ===== */
button, a {
    cursor: pointer;
}

/* ===== FORM STYLING ===== */
input:focus, select:focus, textarea:focus {
    outline: none;
    box-shadow: none;
}

input::placeholder, textarea::placeholder {
    color: #9ca3af;
}

/* ===== MOBILE MENU ===== */
#mobile-menu {
    animation: fadeIn 0.3s ease;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    #hero::after {
        height: 60px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
}

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

/* ===== 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);
}
