/* =============================================
   The Dolly Llama — Custom Styles
   ============================================= */

/* --- Base --- */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Hero Gradient --- */
.hero-gradient {
    background: linear-gradient(
        135deg,
        #0A2342 0%,
        #0D2E54 25%,
        #0F3460 40%,
        #0A2342 60%,
        #061526 80%,
        #030C14 100%
    );
}

/* --- Hero Orbs --- */
.hero-orb--1 {
    background: radial-gradient(circle, rgba(94, 234, 212, 0.4) 0%, transparent 70%);
}

.hero-orb--2 {
    background: radial-gradient(circle, rgba(20, 184, 166, 0.3) 0%, transparent 70%);
}

/* --- Hero Badge Animation --- */
.hero-badge {
    animation: fadeInDown 0.8s ease-out both;
}

/* --- Hero Headline --- */
h1 {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* --- Hero Subheadline --- */
.hero p {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* --- Hero CTAs --- */
.hero .flex {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* --- Scroll Indicator --- */
.hero .bottom-10 {
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

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

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

/* --- Reveal Animations (progressive enhancement) --- */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal.delay-100 { transition-delay: 100ms; }
    .reveal.delay-200 { transition-delay: 200ms; }
    .reveal.delay-300 { transition-delay: 300ms; }
}

/* --- Navbar --- */
.nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(10, 35, 66, 0.06);
}

.nav.scrolled {
    box-shadow: 0 4px 30px rgba(10, 35, 66, 0.08);
}

/* --- Card 3D Hover --- */
.card-3d {
    transform: translateY(0);
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

@media (prefers-reduced-motion: no-preference) {
    .card-3d:hover {
        transform: translateY(-4px);
    }
}

/* --- Menu List Items --- */
.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(10, 35, 66, 0.06);
}

.menu-item:last-child {
    border-bottom: none;
}

/* --- Map Placeholder --- */
.map-container {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Mobile Menu --- */
#mobile-menu {
    animation: slideDown 0.2s ease-out;
}

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

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero-badge {
        font-size: 0.75rem;
    }

    .hero-orb--1 {
        width: 20rem;
        height: 20rem;
        top: -8rem;
        right: -4rem;
    }

    .hero-orb--2 {
        width: 24rem;
        height: 24rem;
        bottom: -12rem;
        left: -8rem;
    }

    .floating-card {
        position: relative;
        margin-top: 1rem;
        margin-left: 0;
    }
}

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

/* --- Selection --- */
::selection {
    background: rgba(94, 234, 212, 0.3);
    color: #0A2342;
}
