/* ========================================
   Northwest Plaza — Custom Styles
   Deep Navy + Warm Gold | Clean Minimalist
   ======================================== */

:root {
    --navy-800: #0A1628;
    --navy-900: #050D1A;
    --gold-400: #E0BC5E;
    --gold-500: #D4A843;
    --white: #FFFFFF;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--navy-800);
}
::-webkit-scrollbar-thumb {
    background: var(--gold-500);
    border-radius: 3px;
}

/* ========================================
   Hero Gradient
   ======================================== */
.hero-gradient {
    background: 
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(212,168,67,0.25) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(26,58,107,0.8) 0%, transparent 60%),
        radial-gradient(ellipse 90% 70% at 50% 50%, rgba(10,22,40,0.9) 0%, transparent 70%),
        linear-gradient(160deg, #050D1A 0%, #0A1628 30%, #152D56 60%, #0A1628 80%, #050D1A 100%);
}

/* Subtle geometric pattern overlay */
.hero-pattern {
    background-image: 
        linear-gradient(rgba(212,168,67,0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212,168,67,0.3) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* ========================================
   Scroll Line Animation
   ======================================== */
@keyframes scrollLine {
    0% { top: -16px; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

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

/* ========================================
   Scroll Reveal (Progressive Enhancement)
   Only applied when JS runs and user prefers motion
   ======================================== */
@media (prefers-reduced-motion: no-preference) {
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
    }
}

/* ========================================
   Navigation
   ======================================== */
#navbar {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(10,22,40,0.06);
}

#navbar.scrolled {
    box-shadow: 0 1px 30px rgba(10,22,40,0.08);
}

.nav-link {
    position: relative;
}

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

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

/* Mobile menu active state */
#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.active .mobile-link {
    animation: fadeInUp 0.4s ease forwards;
}

#mobile-menu.active .mobile-link:nth-child(1) { animation-delay: 0.05s; }
#mobile-menu.active .mobile-link:nth-child(2) { animation-delay: 0.1s; }
#mobile-menu.active .mobile-link:nth-child(3) { animation-delay: 0.15s; }
#mobile-menu.active .mobile-link:nth-child(4) { animation-delay: 0.2s; }
#mobile-menu.active .mobile-link:nth-child(5) { animation-delay: 0.25s; }

/* ========================================
   Section Eyebrow
   ======================================== */
.section-eyebrow {
    display: block;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 400;
    font-family: 'Inter', system-ui, sans-serif;
}

/* ========================================
   Divider Line
   ======================================== */
.divider-line {
    margin-top: 0;
    margin-bottom: 0;
}

/* ========================================
   Cards
   ======================================== */
.card-item {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card-item:hover {
    border-color: rgba(212,168,67,0.4);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(10,22,40,0.3);
}

/* ========================================
   Buttons
   ======================================== */
.cta-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.cta-primary:hover::before {
    left: 100%;
}

.cta-secondary {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ========================================
   Visit Section Pattern
   ======================================== */
.visit-pattern {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(212,168,67,0.5) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(212,168,67,0.5) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* ========================================
   Image Hover Effect
   ======================================== */
img {
    display: block;
}

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

/* ========================================
   Focus Styles
   ======================================== */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--gold-500);
    outline-offset: 4px;
    border-radius: 2px;
}

/* ========================================
   Reduced Motion
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .scroll-line {
        animation: none;
    }
}

/* ========================================
   Responsive Adjustments
   ======================================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}
