/* ============================================
   Reservation Alley-Shawnee — Custom Styles
   Premium Dark Luxury | Midnight + Mint + Gold
   ============================================ */

/* ---- Base & Typography ---- */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: #050D1A;
    color: #F0FBF7;
}

::selection {
    background-color: rgba(245, 199, 126, 0.3);
    color: #F5C77E;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0A1628;
}
::-webkit-scrollbar-thumb {
    background: #1E3A5C;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2A9D7A;
}

/* ---- Navbar ---- */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, #F5C77E, #3DB38E);
    transition: width 0.3s ease;
}

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

/* ---- Hero Orbs ---- */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: orbFloat 8s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(45, 150, 214, 0.4) 0%, transparent 70%);
    top: -10%;
    right: -5%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(42, 157, 122, 0.35) 0%, transparent 70%);
    bottom: 10%;
    left: -5%;
    animation-delay: -3s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245, 199, 126, 0.25) 0%, transparent 70%);
    top: 40%;
    left: 30%;
    animation-delay: -5s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ---- Hero Animations ---- */
.hero-badge {
    opacity: 0;
    animation: fadeSlideUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.hero-title {
    opacity: 0;
    animation: fadeSlideUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.hero-subtitle {
    opacity: 0;
    animation: fadeSlideUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.hero-ctas {
    opacity: 0;
    animation: fadeSlideUp 0.8s ease forwards;
    animation-delay: 0.8s;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Scroll Reveal Animations ---- */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

    .reveal-up.revealed,
    .reveal-left.revealed,
    .reveal-right.revealed {
        opacity: 1;
        transform: none;
    }
}

/* ---- Gold Accent Line ---- */
.gold-line {
    background: linear-gradient(90deg, transparent, #F5C77E, transparent);
    height: 1px;
}

/* ---- Button Ripple Effect ---- */
button, a {
    position: relative;
    overflow: visible;
}

/* ---- Card Hover Glow ---- */
.group:hover .group-hover\:scale-105 {
    will-change: transform;
}

/* ---- Form Focus States ---- */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 1px rgba(245, 199, 126, 0.3);
}

/* ---- Mobile Menu Transition ---- */
#mobile-menu {
    animation: menuSlideDown 0.3s ease forwards;
}

@keyframes menuSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Image Loading ---- */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* ---- Accessibility: Focus Visible ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #F5C77E;
    outline-offset: 2px;
    border-radius: 4px;
}

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

    .hero-badge,
    .hero-title,
    .hero-subtitle,
    .hero-ctas {
        opacity: 1;
        animation: none;
    }
}

/* ---- Tablet ---- */
@media (max-width: 768px) {
    .hero-orb {
        filter: blur(60px);
        opacity: 0.35;
    }
    .orb-1 { width: 300px; height: 300px; }
    .orb-2 { width: 250px; height: 250px; }
    .orb-3 { width: 180px; height: 180px; }
}

/* ---- Large Desktop ---- */
@media (min-width: 1280px) {
    .hero-title {
        font-size: 88px;
    }
}
