/* ============================================
   100K SHAKES - STYLESHEET
   Brand Colors: Deep chocolate brown, Strawberry red, Milky off-white
   ============================================ */

:root {
    --primary-brown: #3D2817;
    --deep-brown: #2A1A0E;
    --strawberry-red: #C92A2A;
    --light-red: #FF6B6B;
    --milky-white: #F5F5DC;
    --off-white: #FFF8E7;
    --cream: #FAF0E6;
    --text-dark: #2A1A0E;
    --text-light: #666;
    --gold: #D4AF37;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-snap-type: y proximity;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--deep-brown);
}

.script-font {
    font-family: 'Dancing Script', cursive;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(61, 40, 23, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--off-white);
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

.logo-accent {
    font-family: 'Dancing Script', cursive;
    color: var(--light-red);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--off-white);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--light-red);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--off-white);
    transition: all 0.3s ease;
}

/* ============================================
   HERO — BEHIND-LAYER TECHNIQUE
   Fixed image + title; content slides over like a curtain
   ============================================ */

/* ── Fixed image layer (always behind everything) ── */
.hero-image-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
}

.hero-backdrop-img,
.hero-backdrop-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(42, 26, 14, 0.25) 0%,
        rgba(42, 26, 14, 0.45) 40%,
        rgba(42, 26, 14, 0.75) 100%
    );
}

/* ── Fixed title overlay (stays until content covers it) ── */
.hero-title-overlay {
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--off-white);
    pointer-events: none;
    transition: opacity 0.1s linear;
}

.hero-title-overlay .hero-content {
    pointer-events: auto;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero-title .script-font {
    font-size: 5rem;
    color: var(--light-red);
    display: block;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    opacity: 0.95;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll-down hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.5;
    pointer-events: none;
}

.hero-scroll-hint span {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero-scroll-arrow {
    width: 1px;
    height: 50px;
    background: var(--off-white);
    opacity: 0.6;
    animation: hero-arrow-pulse 1.8s ease-in-out infinite;
}

@keyframes hero-arrow-pulse {
    0%, 100% { transform: scaleY(1); opacity: 0.6; }
    50% { transform: scaleY(0.5); opacity: 0.2; }
}

/* ── Scroll spacer (invisible, keeps hero visible while scrolling) ── */
.hero-scroll-spacer {
    position: relative;
    height: calc(100vh + 70px); /* hero height + navbar */
    z-index: 0;
    pointer-events: none;
}

/* ── Content curtain (slides OVER the hero) ── */
.main-content-curtain {
    position: relative;
    z-index: 2;
    box-shadow: 0 -60px 100px rgba(0, 0, 0, 0.8);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: var(--strawberry-red);
    color: var(--off-white);
}

.btn-primary:hover {
    background: var(--light-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(201, 42, 42, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--off-white);
    border: 2px solid var(--off-white);
}

.btn-secondary:hover {
    background: var(--off-white);
    color: var(--primary-brown);
    transform: translateY(-2px);
}

/* ============================================
   SECTIONS
   ============================================ */

section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-brown);
}

.section-title .script-font {
    color: var(--strawberry-red);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* ============================================
   FEATURED SHAKES CAROUSEL
   ============================================ */

.featured-shakes {
    background: var(--cream);
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
    padding: 1rem;
}

.carousel-slide {
    min-width: 280px;
    flex-shrink: 0;
}

.shake-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.shake-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.shake-image {
    height: 250px;
    width: 100%;
    background-size: cover;
    background-position: center;
}

.shake-card h3 {
    font-size: 1.5rem;
    margin: 1rem 0 0.5rem;
    color: var(--primary-brown);
}

.shake-card p {
    color: var(--text-light);
    padding: 0 1rem;
    margin-bottom: 1rem;
}

.shake-category {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--primary-brown);
    color: var(--off-white);
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.shake-category.shotshake {
    background: var(--strawberry-red);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-brown);
    color: var(--off-white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--strawberry-red);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: -25px;
}

.carousel-btn.next {
    right: -25px;
}

/* ============================================
   PRODUCT CATEGORIES
   ============================================ */

.product-categories {
    background: white;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.category-card {
    background: var(--cream);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--strawberry-red);
    box-shadow: 0 10px 30px rgba(201, 42, 42, 0.2);
}

.category-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    font-size: 1.5rem;
    color: var(--primary-brown);
    margin-bottom: 1rem;
}

.category-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.category-link {
    color: var(--strawberry-red);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.category-link:hover {
    color: var(--light-red);
}

/* ============================================
   SOCIAL FEED
   ============================================ */

.social-feed {
    background: var(--primary-brown);
    color: var(--off-white);
}

.social-feed .section-title {
    color: var(--off-white);
}

.social-feed .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.social-post {
    position: relative;
    aspect-ratio: 1;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.social-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.social-post:hover .social-image {
    transform: scale(1.1);
}

.social-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-post:hover .social-overlay {
    opacity: 1;
}

.social-icon {
    font-size: 2rem;
}

.social-cta {
    text-align: center;
}

/* ============================================
   NEWSLETTER
   ============================================ */

.newsletter {
    background: var(--cream);
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    border: 2px solid var(--primary-brown);
    border-radius: 50px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--strawberry-red);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--deep-brown);
    color: var(--off-white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--light-red);
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--off-white);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-section ul li a:hover {
    color: var(--light-red);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* ============================================
   PAGE SPECIFIC STYLES
   ============================================ */

.page-header {
    background: linear-gradient(135deg, var(--primary-brown) 0%, var(--deep-brown) 100%);
    color: var(--off-white);
    padding: 8rem 0 4rem;
    text-align: center;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.content-section {
    padding: 4rem 0;
}

.content-section:nth-child(even) {
    background: var(--cream);
}

/* Menu Page Styles */
.menu-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    background: white;
    border: 2px solid var(--primary-brown);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-brown);
    color: var(--off-white);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.menu-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.menu-item-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.menu-item-content {
    padding: 1.5rem;
}

.menu-item h3 {
    color: var(--primary-brown);
    margin-bottom: 0.5rem;
}

.menu-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.menu-item-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.tag {
    padding: 0.3rem 0.8rem;
    background: var(--cream);
    border-radius: 15px;
    font-size: 0.75rem;
    color: var(--primary-brown);
}

.tag.alcohol {
    background: var(--strawberry-red);
    color: white;
}

.tag.vegan {
    background: #4CAF50;
    color: white;
}

/* Story Page Styles */
.story-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.timeline-year {
    font-size: 2rem;
    font-weight: 700;
    color: var(--strawberry-red);
    min-width: 100px;
}

.timeline-content h3 {
    color: var(--primary-brown);
    margin-bottom: 0.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    color: var(--primary-brown);
    margin-bottom: 1rem;
}

/* Contact Form Styles */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-brown);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--primary-brown);
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--strawberry-red);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* ============================================
   SCROLL-BLEND SHAKE SECTIONS
   ============================================ */

.scroll-blend-container {
    position: relative;
    width: 100%;
    overflow: visible;
}

.scroll-blend-bg {
    display: none; /* Background is now driven directly on body */
}

.scroll-blend-sections {
    position: relative;
    z-index: 1;
    display: block;
}

.scroll-blend-section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 80px 2rem 2rem;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.scroll-blend-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    z-index: 2;
}

.scroll-blend-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.scroll-blend-image {
    width: 100%;
    max-width: 580px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
    transform: scale(0);
    opacity: 0;
    background: transparent;
}

.scroll-blend-section.visible .scroll-blend-image {
    animation: shakeGrowIn 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 1;
}

@keyframes shakeGrowIn {
    0% {
        transform: scale(0);
    }
    70% {
        transform: scale(1.15); /* Overshoot - grows bigger than final size */
    }
    100% {
        transform: scale(1); /* Settle to proper size */
    }
}

.scroll-blend-info {
    color: var(--off-white);
    max-width: 500px;
}

.scroll-blend-info > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-blend-section.visible .scroll-blend-info > * {
    opacity: 1;
    transform: translateY(0);
}

.scroll-blend-section.visible .scroll-blend-info > *:nth-child(1) { transition-delay: 0s; }
.scroll-blend-section.visible .scroll-blend-info > *:nth-child(2) { transition-delay: 0.1s; }
.scroll-blend-section.visible .scroll-blend-info > *:nth-child(3) { transition-delay: 0.15s; }
.scroll-blend-section.visible .scroll-blend-info > *:nth-child(4) { transition-delay: 0.2s; }

.scroll-blend-tag {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    display: block;
}

.scroll-blend-name {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--off-white);
}

.scroll-blend-name .script-font {
    color: var(--light-red);
}

.scroll-blend-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
}

.scroll-blend-cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    color: var(--off-white);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.scroll-blend-cta:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* Alternate layout: even sections flip the grid */
.scroll-blend-section.flip {
    direction: rtl;
}

.scroll-blend-section.flip > * {
    direction: ltr;
}

/* ── VIGNETTE EFFECT ON EACH SECTION ── */
.scroll-blend-section::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(
        ellipse 70% 65% at center,
        transparent 30%,
        rgba(0, 0, 0, 0.55) 100%
    );
}

/* ── FLOATING INGREDIENT ELEMENTS ── */
.floating-elements {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.floating-ingredient {
    position: absolute;
    z-index: 2;
    opacity: 0;
    transition: opacity 1s ease;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.6));
    will-change: transform, opacity;
    max-width: 35vw;
}

/* Only show when section is visible */
.scroll-blend-section.visible .floating-ingredient {
    opacity: 0.75;
}

/* 6 unique organic float animations */
.floating-ingredient:nth-child(1) {
    animation: float-drift-1 15s ease-in-out infinite;
}
.floating-ingredient:nth-child(2) {
    animation: float-drift-2 12s ease-in-out infinite;
    animation-delay: -3s;
}
.floating-ingredient:nth-child(3) {
    animation: float-drift-3 10s ease-in-out infinite;
    animation-delay: -6s;
}
.floating-ingredient:nth-child(4) {
    animation: float-drift-4 14s ease-in-out infinite;
    animation-delay: -7s;
}
.floating-ingredient:nth-child(5) {
    animation: float-drift-5 13s ease-in-out infinite;
    animation-delay: -2s;
}
.floating-ingredient:nth-child(6) {
    animation: float-drift-6 11s ease-in-out infinite;
    animation-delay: -5s;
}

/* Animation 1: Diagonal drift with subtle rotation */
@keyframes float-drift-1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    25% { transform: translate(15px, -20px) rotate(3deg) scale(1.02); }
    50% { transform: translate(-10px, -35px) rotate(-2deg) scale(1.05); }
    75% { transform: translate(-20px, -15px) rotate(2deg) scale(1.02); }
}

/* Animation 2: Circular meander with depth */
@keyframes float-drift-2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    20% { transform: translate(20px, -15px) rotate(5deg) scale(1.08); }
    40% { transform: translate(10px, -30px) rotate(3deg) scale(1.05); }
    60% { transform: translate(-15px, -25px) rotate(-3deg) scale(1.02); }
    80% { transform: translate(-10px, -10px) rotate(-2deg) scale(0.98); }
}

/* Animation 3: Vertical bob with sway */
@keyframes float-drift-3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    33% { transform: translate(-18px, -25px) rotate(-4deg) scale(1.03); }
    66% { transform: translate(18px, -40px) rotate(4deg) scale(1.06); }
}

/* Animation 4: Figure-8 with parallax */
@keyframes float-drift-4 {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    25% { transform: translate(25px, -20px) rotate(6deg) scale(1.1); }
    50% { transform: translate(0, -45px) rotate(0deg) scale(1.05); }
    75% { transform: translate(-25px, -20px) rotate(-6deg) scale(0.95); }
}

/* Animation 5: Deep parallax - forward/backward */
@keyframes float-drift-5 {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(0.9); opacity: 0.5; }
    25% { transform: translate(12px, -18px) rotate(4deg) scale(1.05); opacity: 0.7; }
    50% { transform: translate(-8px, -35px) rotate(-2deg) scale(1.15); opacity: 0.8; }
    75% { transform: translate(-15px, -20px) rotate(-4deg) scale(1.02); opacity: 0.6; }
}

/* Animation 6: Gentle spiral */
@keyframes float-drift-6 {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    20% { transform: translate(15px, -10px) rotate(8deg) scale(1.04); }
    40% { transform: translate(5px, -25px) rotate(4deg) scale(1.06); }
    60% { transform: translate(-20px, -20px) rotate(-4deg) scale(1.03); }
    80% { transform: translate(-10px, -8px) rotate(-8deg) scale(0.97); }
}

/* Make sure scroll-blend content stays above floating elements and vignette */
.scroll-blend-content {
    position: relative;
    z-index: 3;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .scroll-blend-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 5rem 2rem 2rem;
    }

    .scroll-blend-section.flip {
        direction: ltr;
    }

    .scroll-blend-visual {
        order: -1;
    }

    .scroll-blend-image {
        max-width: 320px;
    }

    .scroll-blend-name {
        font-size: 2rem;
    }

    /* Slightly smaller floating elements on mobile */
    .floating-ingredient {
        max-width: 140px !important;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--primary-brown);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        padding: 1rem 0;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-title .script-font {
        font-size: 3.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .hero-scroll-spacer {
        height: calc(100vh + 60px);
    }

    .section-title {
        font-size: 2rem;
    }

    .carousel-btn {
        display: none;
    }

    .carousel-track {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .carousel-slide {
        scroll-snap-align: start;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        min-width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-title .script-font {
        font-size: 2.6rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}



