/* ========================================
   Hot Spot Hub — Custom Styles
   Premium Dark Luxury Theme
   Forest Green + Gold + Cream Palette
======================================== */

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

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

body {
    margin: 0;
    overflow-x: hidden;
}

/* Selection Color */
::selection {
    background: rgba(196, 160, 74, 0.3);
    color: #faf8f4;
}

/* ========================================
   Navbar
======================================== */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

#navbar.scrolled {
    background: rgba(7, 15, 7, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #c4a04a;
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: #d4b86a;
}

/* ========================================
   Mobile Menu
======================================== */
#mobileMenu {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

#mobileMenu.open {
    transform: translateY(0) !important;
    opacity: 1 !important;
    pointer-events: all !important;
}

.mobile-link {
    position: relative;
}

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

#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(26, 48, 26, 0.4) 0%, transparent 70%);
    pointer-events: none;
}

/* Scroll Indicator Animation */
@keyframes scrollIndicator {
    0% { transform: translateY(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(200%); opacity: 0; }
}

.animate-scroll-indicator {
    animation: scrollIndicator 1.8s ease-in-out infinite;
}

/* ========================================
   Menu Tabs
======================================== */
.menu-tab {
    background: transparent;
    color: rgba(224, 228, 224, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.menu-tab:hover {
    color: rgba(224, 228, 224, 0.8);
    border-color: rgba(196, 160, 74, 0.3);
}

.menu-tab.active {
    background: rgba(196, 160, 74, 0.15);
    color: #d4b86a;
    border-color: rgba(196, 160, 74, 0.4);
}

/* ========================================
   Reveal Animations (Progressive Enhancement)
======================================== */
.reveal-up,
.reveal-left,
.reveal-right {
    /* Default: fully visible — works without JS */
    opacity: 1;
    transform: none;
    transition: none;
}

/* When JS is active and user prefers motion, enable animations */
.js-active .reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-active .reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-active .reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-active .reveal-up.revealed,
.js-active .reveal-left.revealed,
.js-active .reveal-right.revealed {
    opacity: 1;
    transform: translate(0, 0);
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ========================================
   Decorative Elements
======================================== */
.gold-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(196, 160, 74, 0.4), transparent);
}

/* ========================================
   Card Hover Effects
======================================== */
.bg-forest-800\/40 {
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.bg-forest-800\/40:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ========================================
   Responsive Adjustments
======================================== */
@media (max-width: 768px) {
    .font-display {
        line-height: 1.15;
    }
}

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

/* ========================================
   Scrollbar Styling
======================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #070f07;
}

::-webkit-scrollbar-thumb {
    background: #2d522d;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3a663a;
}

/* ========================================
   Print Styles
======================================== */
@media print {
    #navbar,
    #mobileMenu,
    .animate-scroll-indicator {
        display: none !important;
    }
    body {
        background: white;
        color: black;
    }
}
