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

body {
    overflow-x: hidden;
}

::selection {
    background-color: rgba(255, 107, 107, 0.3);
    color: #fff;
}

/* ===== Navigation ===== */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(15, 15, 19, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* ===== Hero ===== */
.hero-orb {
    animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-1 {
    background: radial-gradient(circle, rgba(255, 107, 107, 0.6) 0%, transparent 70%);
    animation-delay: 0s;
}

.hero-orb-2 {
    background: radial-gradient(circle, rgba(232, 67, 147, 0.5) 0%, transparent 70%);
    animation-delay: -3s;
}

.hero-orb-3 {
    animation-delay: -5s;
}

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

.hero-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 107, 107, 0.5);
    border-radius: 50%;
    animation: particleFloat var(--duration) ease-in-out infinite;
    animation-delay: var(--delay);
}

.hero-particle::after {
    content: '';
    position: absolute;
    inset: -3px;
    background: rgba(255, 107, 107, 0.15);
    border-radius: 50%;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.4; }
    50% { transform: translateY(-40px) translateX(15px); opacity: 1; }
}

.hero-badge {
    animation: fadeInDown 0.8s ease-out both;
}

.hero-headline {
    animation: fadeInUp 0.9s ease-out 0.2s both;
}

.hero-subtitle {
    animation: fadeInUp 0.9s ease-out 0.4s both;
}

.hero-cta {
    animation: fadeInUp 0.9s ease-out 0.6s both;
}

.hero-scroll {
    animation: fadeInUp 0.9s ease-out 0.8s both;
}

@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);
    }
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #FF6B6B 0%, #E84393 100%);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.45);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: rgba(255, 107, 107, 0.6);
    color: #FF6B6B;
    transform: translateY(-2px);
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* ===== Flavor Tag ===== */
.flavor-tag {
    font-family: 'Lato', sans-serif;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

/* ===== Flavor Cards ===== */
.flavor-card {
    cursor: pointer;
}

.flavor-card-inner {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.flavor-card:hover .flavor-card-inner {
    transform: translateY(-6px);
    border-color: rgba(255, 107, 107, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 107, 107, 0.08);
}

.flavor-swatch {
    height: 8px;
    width: 100%;
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.flavor-card:hover .flavor-swatch {
    height: 12px;
}

.flavor-info {
    padding: 1.75rem;
}

/* ===== Gallery ===== */
.gallery-item {
    cursor: pointer;
}

.gallery-img-wrapper {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 15, 19, 0.4) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-img-wrapper {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.gallery-item:hover .gallery-img-wrapper::after {
    opacity: 1;
}

.gallery-img-wrapper img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-img-wrapper img {
    transform: scale(1.08);
}

/* ===== Visit Cards ===== */
.visit-card {
    cursor: default;
}

.visit-card-inner {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.visit-card:hover .visit-card-inner {
    transform: translateY(-4px);
    border-color: rgba(255, 107, 107, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.visit-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.15) 0%, rgba(232, 67, 147, 0.15) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF6B6B;
    transition: all 0.4s ease;
}

.visit-card:hover .visit-icon {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.25) 0%, rgba(232, 67, 147, 0.25) 100%);
    transform: scale(1.05);
}

/* ===== Reveal Animations ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ===== Mobile Menu ===== */
#mobileMenu {
    animation: slideDown 0.3s ease-out;
}

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

.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-link:last-child {
    border-bottom: none;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .flavor-grid {
        gap: 1rem;
    }
    
    .gallery-grid {
        gap: 0.5rem;
    }
    
    .visit-card-inner {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2.25rem;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta a {
        width: 100%;
        justify-content: center;
    }
    
    .flavor-info {
        padding: 1.25rem;
    }
}

/* ===== 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;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
    
    .hero-particle,
    .hero-orb {
        animation: none;
    }
}
