/* Custom Styles */
body {
    background-image: url(https://lh3.googleusercontent.com/aida-public/AB6AXuA-eNrDvOc3ntQ3FhayMJkiA8H91XtnDlYi1tq1FJ_YVRCgbqnLTy6vqMqk69JPOx105ostleiKsQh-7Ihxx4_84-DDHmom3w71_-xh4jOidsEgdaXtYuFaEXZ2wclmXt05xsL-K391KJuCfbVqeOj57R9n5eu9s15y4j-uwxvg9VSg9fv83kCt4MNkdg0U16tHRMbfUMWYlp6V3tpt8qvbsUAo_m4eP7JezLtHFSAG56pEv2aCu_XP2DR4W4Dtk8EGdaYT3ccjTtM);
}

.botanical-overlay {
    pointer-events: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.6;
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.animate-spin-slow {
    animation: spin-slow 12s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-marquee {
    animation: marquee 20s linear infinite;
}

/* --- Neon Jungle Theme --- */

:root {
    --color-primary: #f2d00d;
    --color-emerald: #064e3b;
    --color-crimson: #450a0a;
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --neon-shadow: 0 0 10px rgba(242, 208, 13, 0.5), 0 0 20px rgba(242, 208, 13, 0.3);
}

/* Glassmorphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(242, 208, 13, 0.3);
    box-shadow: 0 0 15px rgba(242, 208, 13, 0.2), inset 0 0 20px rgba(242, 208, 13, 0.05);
    transform: translateY(-5px);
}

/* Neon Effects */
.neon-text {
    text-shadow: 0 0 5px rgba(242, 208, 13, 0.5), 0 0 10px rgba(242, 208, 13, 0.3);
}

.neon-border {
    box-shadow: 0 0 5px #f2d00d, 0 0 10px #f2d00d, 0 0 20px #f2d00d;
}

/* Border Beam Animation */
/* Using a simpler approach for now that works with existing layout */
.border-beam {
    position: relative;
    overflow: hidden;
}

.border-beam::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(242, 208, 13, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
    pointer-events: none;
}

.border-beam:hover::before {
    transform: translateX(100%);
    transition: transform 0.5s;
}

/* Noise Texture */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 50;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Hero Text Effects */
.hero-text-sangrita {
    background: linear-gradient(135deg, #D4AF37 0%, #C62828 50%, #D4AF37 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-text-stroke: 2px rgba(0, 0, 0, 0.6);
    paint-order: stroke fill;
    filter: drop-shadow(0 0 20px rgba(198, 40, 40, 0.5)) drop-shadow(0 0 40px rgba(212, 175, 55, 0.3));
    display: inline-block;
    animation: slideFromRight 3.6s cubic-bezier(0.16, 1, 0.3, 1) 1.0s both, heroGradientShift 6s ease-in-out infinite;
}

.hero-text-verdita {
    background: linear-gradient(135deg, #D4AF37 0%, #2E7D32 50%, #D4AF37 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-text-stroke: 2px rgba(0, 0, 0, 0.6);
    paint-order: stroke fill;
    filter: drop-shadow(0 0 20px rgba(46, 125, 50, 0.5)) drop-shadow(0 0 40px rgba(212, 175, 55, 0.3));
    display: inline-block;
    animation: slideFromLeft 3.6s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both, heroGradientShift 6s ease-in-out infinite;
}

@keyframes heroGradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Hero video zoom effect */
.hero-video-zoom {
    animation: heroZoom 5s cubic-bezier(0.16, 1, 0.3, 1) 0s both;
}

@keyframes slideFromLeft {
    from {
        opacity: 0;
        transform: translateX(-120%);
        filter: blur(6px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

@keyframes slideFromRight {
    from {
        opacity: 0;
        transform: translateX(120%);
        filter: blur(6px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

@keyframes heroZoom {
    from {
        transform: scale(1.15);
    }

    to {
        transform: scale(1);
    }
}

/* Footer Title Effects */
.footer-title {
    background: linear-gradient(135deg, #D4AF37 0%, #2E7D32 50%, #D4AF37 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-text-stroke: 2px rgba(0, 0, 0, 0.5);
    paint-order: stroke fill;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.4)) drop-shadow(0 0 40px rgba(46, 125, 50, 0.3));
    animation: footerFadeIn 1.5s ease-out both, footerGradientShift 6s ease-in-out infinite;
}

@keyframes footerFadeIn {
    from {
        opacity: 0;
        transform: translateY(60px);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.4)) drop-shadow(0 0 40px rgba(46, 125, 50, 0.3));
    }
}

@keyframes footerGradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Scroll Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

/* ============================================
   Card Scroll Animation: "Scale & Blur"
   ============================================ */

/* Initial state */
.card-anim-c {
    opacity: 0;
    transform: scale(0.8);
    filter: blur(8px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1s cubic-bezier(0.16, 1, 0.3, 1),
        filter 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Stagger the right card */
.card-anim-c.card-right {
    transition-delay: 0.2s;
}

/* Enter state */
.card-anim-c.card-visible {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
}

/* Exit state */
.card-anim-c.card-exit {
    opacity: 0;
    transform: scale(0.9);
    filter: blur(6px);
    transition-duration: 0.8s;
}

/* ============================================
   The Ritual — Spline 3D Section
   ============================================ */

.ritual-title {
    background: linear-gradient(135deg, #D4AF37 0%, #F5E6A3 40%, #D4AF37 60%, #8B6914 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.3));
    animation: ritualGoldShift 8s ease-in-out infinite;
}

@keyframes ritualGoldShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.ritual-tagline {
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.4), 0 0 40px rgba(212, 175, 55, 0.15);
    animation: taglinePulse 3s ease-in-out infinite;
}

@keyframes taglinePulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Spline Loading Spinner */
.spline-spinner {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(212, 175, 55, 0.15);
    border-top-color: #D4AF37;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   Recipes Section
   ============================================ */

/* Recipe Cards — Glassmorphism */
.recipe-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.recipe-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.recipe-card-verdita {
    border-color: rgba(46, 89, 2, 0.2);
}

.recipe-card-verdita:hover {
    border-color: rgba(46, 89, 2, 0.5);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 30px rgba(46, 89, 2, 0.1);
}

.recipe-card-sangrita {
    border-color: rgba(138, 28, 14, 0.2);
}

.recipe-card-sangrita:hover {
    border-color: rgba(138, 28, 14, 0.5);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 30px rgba(138, 28, 14, 0.1);
}

/* Ingredient Dots */
.ingredient-dot {
    width: 8px;
    height: 8px;
    min-width: 8px;
    border-radius: 50%;
    margin-top: 7px;
    margin-right: 12px;
}

/* Step Numbers */
.step-number {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    margin-right: 12px;
    margin-top: 2px;
    font-family: 'Archivo Black', sans-serif;
}

/* Pairing Badges */
.pairing-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pairing-badge-verdita {
    background-color: rgba(46, 89, 2, 0.1);
    color: #2E5902;
    border: 1px solid rgba(46, 89, 2, 0.2);
}

.pairing-badge-sangrita {
    background-color: rgba(138, 28, 14, 0.1);
    color: #8A1C0E;
    border: 1px solid rgba(138, 28, 14, 0.2);
}

/* Pairing Card Hover */
.pairing-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pairing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.1);
}