/* ========================================
   Global Styles & Variables
   ======================================== */

:root {
    /* ========================================
       DESIGN SYSTEM TOKENS - Enhanced v2
       ======================================== */
    
    /* Color System - Green Scale (10 shades) */
    --green-50: #F0F9F4;
    --green-100: #D3EFE0;
    --green-200: #A8D5A2;
    --green-300: #7FBD8C;
    --green-400: #6B9D7F;
    --green-500: #2D7A5F;  /* Primary green */
    --green-600: #256752;
    --green-700: #1B4D3E;  /* Dark green */
    --green-800: #143529;
    --green-900: #0D231B;
    
    /* Color System - Pink Scale (10 shades) */
    --pink-50: #FFF0F6;
    --pink-100: #FFD9E8;
    --pink-200: #FFB3D1;
    --pink-300: #FF8CBA;
    --pink-400: #FF69B4;  /* Secondary pink */
    --pink-500: #E84D8A;  /* Primary pink */
    --pink-600: #D63D7A;
    --pink-700: #B82D65;
    --pink-800: #8F2250;
    --pink-900: #66183B;
    
    /* Color System - Gray Scale (10 shades) */
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    
    /* Semantic Colors */
    --success: var(--green-500);
    --warning: #FDB813;  /* Yellow accent */
    --error: #DC2626;
    --info: #3B82F6;
    
    /* Legacy Color Mappings (backwards compatibility) */
    --primary-green: var(--green-500);
    --secondary-green: var(--green-400);
    --dark-green: var(--green-700);
    --cream: #FFF8F0;
    --off-white: #FFFBF7;
    --primary-pink: var(--pink-500);
    --secondary-pink: var(--pink-400);
    --hot-pink: #F73D7B;
    --sage-green: #8FBC8F;
    --light-green: var(--green-200);
    --yellow-accent: var(--warning);
    --dark-teal: #1E5945;
    --dark-text: #2C3E38;
    --light-text: #5A6C65;
    
    /* Typography Scale - Perfect Fourth Ratio (1.333) */
    --text-xs: 0.75rem;      /* 12px */
    --text-sm: 0.875rem;     /* 14px */
    --text-base: 1rem;       /* 16px */
    --text-lg: 1.125rem;     /* 18px */
    --text-xl: 1.333rem;     /* 21.328px ≈ 21px */
    --text-2xl: 1.777rem;    /* 28.432px ≈ 28px */
    --text-3xl: 2.369rem;    /* 37.904px ≈ 38px */
    --text-4xl: 3.157rem;    /* 50.512px ≈ 51px */
    --text-5xl: 4.209rem;    /* 67.344px ≈ 67px */
    --text-6xl: 5.610rem;    /* 89.760px ≈ 90px */
    
    /* Spacing Scale - 8pt Grid System */
    --space-1: 0.5rem;       /* 8px */
    --space-2: 1rem;         /* 16px */
    --space-3: 1.5rem;       /* 24px */
    --space-4: 2rem;         /* 32px */
    --space-5: 2.5rem;       /* 40px */
    --space-6: 3rem;         /* 48px */
    --space-8: 4rem;         /* 64px */
    --space-10: 5rem;        /* 80px */
    --space-12: 6rem;        /* 96px */
    --space-16: 8rem;        /* 128px */
    
    /* Shadow System - Multi-layer Depth */
    --shadow-sm: 
        0 1px 2px rgba(45, 122, 95, 0.08),
        0 1px 4px rgba(45, 122, 95, 0.08);
    --shadow-md: 
        0 2px 4px rgba(45, 122, 95, 0.08),
        0 4px 8px rgba(45, 122, 95, 0.12),
        0 8px 16px rgba(45, 122, 95, 0.12);
    --shadow-lg: 
        0 4px 8px rgba(45, 122, 95, 0.08),
        0 8px 16px rgba(45, 122, 95, 0.12),
        0 16px 32px rgba(45, 122, 95, 0.16);
    
    /* Border Radius System */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transition & Animation Timing */
    --duration-fast: 0.15s;
    --duration-base: 0.3s;
    --duration-slow: 0.6s;
    --duration-slower: 1s;
    
    /* Easing Functions */
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Legacy Spacing */
    --section-padding: 80px 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-text);
    background-color: var(--off-white);
    line-height: 1.6;
    font-size: var(--text-base);
    overflow-x: hidden;
}

/* Typography System - Semantic Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: var(--space-4);
}

h1 {
    font-size: var(--text-5xl);
    line-height: 1.2;
}

h2 {
    font-size: var(--text-3xl);
    line-height: 1.2;
}

h3 {
    font-size: var(--text-3xl);
    line-height: 1.3;
}

h4 {
    font-size: var(--text-2xl);
    line-height: 1.3;
}

h5 {
    font-size: var(--text-xl);
    line-height: 1.3;
}

h6 {
    font-size: var(--text-lg);
    line-height: 1.3;
}

p {
    font-size: var(--text-base);
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: var(--space-3);
}

/* Responsive Typography - Mobile Optimization */
@media (max-width: 768px) {
    h1 { font-size: var(--text-4xl); }
    h2 { font-size: var(--text-3xl); }
    h3 { font-size: var(--text-2xl); }
    h4 { font-size: var(--text-xl); }
    h5 { font-size: var(--text-lg); }
    h6 { font-size: var(--text-base); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Navigation Bar
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 251, 247, 0.98);
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

/* Ensure nav-brand stays left aligned */
.navbar .nav-brand {
    margin-right: auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 50px;
    width: auto;
}

.brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-pink);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary-green);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--forest-green);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--forest-green);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(135deg, rgba(255, 248, 240, 0.75) 0%, rgba(255, 251, 247, 0.75) 50%, rgba(255, 248, 240, 0.75) 100%), 
                      url('assets/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: var(--space-8) 0;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        background-attachment: fixed;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(232, 77, 138, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(253, 184, 19, 0.15) 0%, transparent 50%);
    animation: gradientFloat 10s ease-in-out infinite;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(107, 68, 35, 0.05) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    animation: fadeInUp 1s ease;
}

.hero-content-v2 {
    position: relative;
    z-index: 1;
    text-align: center;
    animation: fadeInUp 1s ease;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-xl);
    padding: var(--space-12);
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.4),
        0 8px 32px rgba(45, 122, 95, 0.1);
}

/* Fallback for browsers without backdrop-filter */
@supports not (backdrop-filter: blur(20px)) {
    .hero-content-v2 {
        background: rgba(255, 255, 255, 0.85);
    }
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-pink);
    margin-bottom: 15px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
}

.hero-title-v2 {
    font-family: 'Playfair Display', serif;
    font-size: var(--text-5xl);
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--pink-500) 0%, var(--green-500) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 10px;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-location {
    font-size: 1.2rem;
    color: var(--primary-pink);
    margin-bottom: 30px;
    font-weight: 500;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: var(--primary-green);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all var(--duration-base) var(--ease-out);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width var(--duration-slow) var(--ease-out),
                height var(--duration-slow) var(--ease-out);
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    background: var(--dark-green);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--light-text);
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.scroll-arrow {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

/* ========================================
   About & Benefits Section
   ======================================== */

.about {
    padding: var(--space-12) 0;
    background: var(--off-white);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-6);
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.header-line {
    width: 80px;
    height: 4px;
    background: var(--primary-pink);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto;
}

.about-intro {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    margin-bottom: 50px;
    border-left: 5px solid var(--forest-green);
}

.about-intro h3 {
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.about-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-text);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.benefit-card {
    background: white;
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--duration-slow) var(--ease-out);
    text-align: center;
    position: relative;
    background-image: 
        linear-gradient(white, white),
        linear-gradient(135deg, var(--pink-500) 0%, var(--green-500) 100%);
    background-origin: padding-box, border-box;
    background-clip: padding-box, border-box;
    border: 2px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-12px) rotate(-1deg);
    box-shadow: 
        0 4px 8px rgba(45, 122, 95, 0.08),
        0 8px 16px rgba(45, 122, 95, 0.12),
        0 16px 32px rgba(45, 122, 95, 0.16);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: inline-block;
    animation: iconPulse 2s var(--ease-in-out) infinite;
    transition: transform var(--duration-base) var(--ease-bounce);
}

.benefit-icon:hover {
    transform: scale(1.2) rotate(5deg);
    animation-play-state: paused;
}

.benefit-card h4 {
    font-size: 1.3rem;
    color: var(--dark-green);
    margin-bottom: 12px;
}

.benefit-card p {
    color: var(--light-text);
    line-height: 1.6;
}

.why-exotic {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    padding: 50px;
    border-radius: 15px;
    color: white;
    box-shadow: var(--shadow-lg);
}

.why-exotic h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
}

.exotic-list {
    list-style: none;
    max-width: 900px;
    margin: 0 auto;
}

.exotic-list li {
    padding: 18px 0;
    font-size: 1.2rem;
    line-height: 1.8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.exotic-list li:last-child {
    border-bottom: none;
}

.check {
    color: #FFD700;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

/* ========================================
   Recipes Section
   ======================================== */

.recipes {
    padding: var(--section-padding);
    background: linear-gradient(to bottom, var(--off-white) 0%, var(--cream) 100%);
}

.recipe-category {
    margin-bottom: 60px;
}

.category-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--primary-green);
    margin-bottom: 35px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-pink);
}

.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 35px;
}

.recipe-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--duration-slow) var(--ease-out);
    position: relative;
}

.recipe-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 4px 8px rgba(45, 122, 95, 0.08),
        0 8px 16px rgba(45, 122, 95, 0.12),
        0 16px 32px rgba(45, 122, 95, 0.16);
}

.recipe-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.recipe-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.recipe-card:hover .recipe-image img {
    transform: scale(1.1);
}

.placeholder-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--sage-green) 0%, var(--light-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-img span {
    font-size: 5rem;
    opacity: 0.5;
}

.recipe-content {
    padding: 25px;
}

.recipe-content h4 {
    font-size: 1.4rem;
    color: var(--dark-green);
    margin-bottom: 12px;
    font-weight: 600;
}

.recipe-content p {
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 15px;
}

.recipe-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 18px;
    font-size: 0.95rem;
    color: var(--light-text);
}

.recipe-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.recipe-link {
    display: inline-block;
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.recipe-link:hover {
    color: var(--dark-green);
    transform: translateX(5px);
}

.coming-soon-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--sage-green);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ========================================
   Featured Recipe Teaser Section
   ======================================== */

.recipes-teaser {
    padding: var(--space-12) 0;
    background: linear-gradient(to bottom, var(--off-white) 0%, var(--gray-50) 100%);
}

.recipe-teaser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-8);
    margin-bottom: var(--space-12);
}

.recipe-teaser-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--duration-slow) var(--ease-out);
    position: relative;
    background-image: linear-gradient(white, white),
                      linear-gradient(135deg, var(--pink-200), var(--green-200));
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    border: 2px solid transparent;
}

.recipe-teaser-card:hover {
    transform: translateY(-12px) rotate(-1deg);
    box-shadow: 
        0 8px 16px rgba(45, 122, 95, 0.12),
        0 16px 32px rgba(45, 122, 95, 0.18),
        0 24px 48px rgba(45, 122, 95, 0.24);
}

.recipe-teaser-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.recipe-teaser-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.recipe-teaser-card:hover .recipe-teaser-image img {
    transform: scale(1.15);
}

.recipe-category-pills {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    display: flex;
    gap: var(--space-2);
}

.recipe-category-pills .pill {
    padding: var(--space-2) var(--space-4);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--green-700);
    text-decoration: none;
    transition: all var(--duration-base) var(--ease-out);
    border: 1px solid var(--green-200);
}

.recipe-category-pills .pill:hover {
    background: var(--green-600);
    color: white;
    transform: scale(1.05);
}

.recipe-teaser-content {
    padding: var(--space-6);
}

.recipe-teaser-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: var(--text-2xl);
    color: var(--green-800);
    margin-bottom: var(--space-3);
    font-weight: 700;
    line-height: 1.3;
}

.recipe-teaser-content p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--space-4);
    font-size: var(--text-base);
}

.recipe-teaser-meta {
    display: flex;
    gap: var(--space-6);
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--gray-200);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--gray-600);
    font-weight: 500;
}

.meta-icon {
    width: 18px;
    height: 18px;
    color: var(--green-600);
}

.recipe-teaser-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--green-700);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-base);
    transition: all var(--duration-base) var(--ease-out);
    position: relative;
}

.recipe-teaser-cta:hover {
    color: var(--green-900);
    gap: var(--space-3);
}

.recipe-teaser-cta .cta-arrow {
    width: 20px;
    height: 20px;
    transition: transform var(--duration-base) var(--ease-out);
}

.recipe-teaser-cta:hover .cta-arrow {
    transform: translateX(4px);
}

.recipe-teaser-cta-section {
    text-align: center;
    margin-top: var(--space-12);
    padding-top: var(--space-8);
    border-top: 2px solid var(--gray-200);
}

.view-all-recipes-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-8);
    background: linear-gradient(135deg, var(--green-600), var(--green-700));
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: var(--text-lg);
    border-radius: var(--radius-full);
    transition: all var(--duration-base) var(--ease-out);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.view-all-recipes-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width var(--duration-slow) var(--ease-out), 
                height var(--duration-slow) var(--ease-out);
}

.view-all-recipes-btn:hover::before {
    width: 300px;
    height: 300px;
}

.view-all-recipes-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    gap: var(--space-4);
}

.view-all-recipes-btn .btn-arrow {
    width: 24px;
    height: 24px;
    transition: transform var(--duration-base) var(--ease-out);
    position: relative;
    z-index: 1;
}

.view-all-recipes-btn:hover .btn-arrow {
    transform: translateX(6px);
}

.cta-subtitle {
    margin-top: var(--space-4);
    color: var(--gray-600);
    font-size: var(--text-base);
    font-weight: 400;
}

/* Responsive Grid for Recipe Teaser */
@media (max-width: 768px) {
    .recipe-teaser-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .recipe-teaser-image {
        height: 240px;
    }
}

/* ========================================
   Product Gallery
   ======================================== */

.product-gallery {
    margin: 50px 0;
    text-align: center;
}

.product-gallery h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 30px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    aspect-ratio: 1;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.gallery-item:hover img {
    transform: scale(1.15);
}

/* ========================================
   Contact Section
   ======================================== */

.contact {
    padding: var(--section-padding);
    background: var(--off-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin: 50px 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--light-text);
    margin-bottom: 30px;
    line-height: 1.8;
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.whatsapp-button:hover {
    background: #20BA5A;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.whatsapp-icon {
    width: 28px;
    height: 28px;
}

.instagram-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    margin-top: 20px;
}

.instagram-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.instagram-icon {
    width: 28px;
    height: 28px;
}

.phone-number {
    margin-top: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #F0FFF4 0%, #E1FFE4 100%);
    border-radius: 10px;
    text-align: center;
    font-size: 1.3rem;
    border: 2px solid var(--primary-green);
}

.qr-code {
    text-align: center;
}

.qr-code h4 {
    font-size: 1.5rem;
    color: var(--dark-green);
    margin-bottom: 20px;
}

.qr-row {
    display: flex;           /* This aligns items in a row */
    justify-content: center; /* Centers the columns horizontally */
    align-items: flex-start; /* Aligns them to the top */
    gap: 40px;               /* Adds space between the two columns */
    padding: 20px;
}

.qr-item {
    display: flex;           /* Flexbox for vertical alignment inside the column */
    flex-direction: column;  /* Stacks the Image on top of the Label */
    align-items: center;     /* Centers content horizontally */
    text-align: center;
}

.qr-image {
    width: 150px;            /* Set a fixed or max width for consistency */
    height: auto;
    display: block;          /* Removes bottom spacing artifacts */
}

.qr-label {
    margin-top: 10px;        /* Spacing between image and text */
    font-weight: bold;
}

.qr-container {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    display: inline-block;
    margin-bottom: 15px;
}

.qr-image {
    width: 200px;
    height: 200px;
    display: block;
}

.qr-instruction {
    color: var(--light-text);
    font-size: 0.95rem;
}

.location-qr {
    text-align: center;
    margin-top: 30px;
}

.location-qr h4 {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.business-info {
    text-align: center;
    margin-top: 50px;
    padding: 40px;
    background: linear-gradient(135deg, var(--sage-green) 0%, var(--light-green) 100%);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.business-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: white;
    margin-bottom: 10px;
}

.business-info p {
    color: white;
    font-size: 1.1rem;
    margin: 5px 0;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--dark-teal);
    color: var(--cream);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--cream);
}

.footer-brand p {
    line-height: 1.8;
}

.footer-links h5,
.footer-contact h5 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--cream);
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: #E0D5C7;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 5px 0;
}

.footer-links a:hover {
    color: var(--light-green);
}

.footer-contact p {
    color: #E0D5C7;
    padding: 5px 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: #E0D5C7;
}

/* ========================================
   Animations
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes gradientFloat {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(20px, -20px);
    }
}

/* ========================================
   Scroll Animations
   ======================================== */

/* Initial hidden state for scroll-triggered elements */
.benefit-card,
.recipe-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--duration-slow) var(--ease-out),
                transform var(--duration-slow) var(--ease-out);
}

/* Animate-in class applied by Intersection Observer */
.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Stagger animation delays for sequential appearance */
.benefit-card:nth-child(1),
.recipe-card:nth-child(1) {
    transition-delay: 0.1s;
}

.benefit-card:nth-child(2),
.recipe-card:nth-child(2) {
    transition-delay: 0.2s;
}

.benefit-card:nth-child(3),
.recipe-card:nth-child(3) {
    transition-delay: 0.3s;
}

/* Accessibility: Respect user's reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .benefit-card,
    .recipe-card {
        opacity: 1;
        transform: none;
    }
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablet Portrait and Landscape */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .cta-button {
        padding: 14px 35px;
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2.3rem;
    }
    
    .recipe-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 968px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .recipe-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Landscape and Portrait */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .navbar .container {
        padding: 12px 15px;
    }
    
    .menu-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .logo {
        height: 40px;
        border-radius: 2px;
    }
    
    .brand-name {
        font-size: 1.2rem;
        border-radius: 2px;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--off-white);
        flex-direction: column;
        padding: 80px 30px 30px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        transition: right 0.4s ease;
        gap: 0;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin-bottom: 20px;
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: 12px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid #E0D5C7;
    }
    
    .hero {
        min-height: 80vh;
        padding: 100px 20px 60px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-location {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 0.95rem;
    }
    
    .scroll-indicator {
        bottom: 15px;
    }
    
    .about-intro,
    .why-exotic {
        padding: 25px 20px;
    }
    
    .about-intro h3 {
        font-size: 1.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .recipe-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .contact-content {
        gap: 30px;
    }
    
    .whatsapp-qr img {
        width: 180px;
        height: 180px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .category-title {
        font-size: 1.4rem;
    }
    
    .benefit-card h4 {
        font-size: 1.1rem;
    }
    
    .recipe-card h4 {
        font-size: 1.2rem;
    }
    
    .whatsapp-button {
        padding: 14px 25px;
        font-size: 0.95rem;
    }
    
    .instagram-button {
        padding: 14px 25px;
        font-size: 0.95rem;
    }
    
    .nav-menu {
        width: 85%;
        padding: 70px 20px 20px;
    }
    
    .logo {
        height: 35px;
    }
    
    .brand-name {
        font-size: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Recipe Modal Popup
   ======================================== */

.recipe-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: var(--off-white);
    margin: 2% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
    position: relative;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: sticky;
    top: 0;
    right: 0;
    float: right;
    font-size: 35px;
    font-weight: bold;
    color: var(--primary-pink);
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 15px;
    box-shadow: var(--shadow-md);
    z-index: 10;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--primary-pink);
    color: white;
    transform: rotate(90deg);
}

.recipe-detail {
    padding: 30px 40px 40px 40px;
}

.recipe-detail-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-md);
}

.recipe-detail h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.recipe-info {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    flex-wrap: wrap;
}

.recipe-info span {
    font-size: 1rem;
    color: var(--dark-text);
    font-weight: 500;
}

.recipe-section {
    margin-bottom: 30px;
}

.recipe-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-pink);
    margin-bottom: 15px;
    border-bottom: 3px solid var(--primary-green);
    padding-bottom: 10px;
}

.ingredients-list {
    list-style: none;
    padding: 0;
}

.ingredients-list li {
    padding: 12px 15px;
    background: white;
    margin-bottom: 8px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-pink);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.ingredients-list li:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.instructions-list {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
}

.instructions-list li {
    counter-increment: step-counter;
    padding: 15px 15px 15px 50px;
    background: white;
    margin-bottom: 12px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    position: relative;
    line-height: 1.6;
}

.instructions-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-green);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .recipe-detail {
        padding: 20px;
    }
    
    .recipe-detail h2 {
        font-size: 2rem;
    }
    
    .recipe-detail-image {
        height: 200px;
    }
    
    .recipe-info {
        gap: 15px;
    }
}

/* ========================================
   Accessibility - Focus States & Keyboard Navigation
   ======================================== */

/* High-visibility focus indicator for WCAG AAA compliance */
*:focus-visible {
    outline: 3px solid var(--green-600);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

/* Enhanced focus states for interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--green-600);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px rgba(45, 122, 95, 0.15);
}

/* Card focus states for keyboard navigation */
.benefit-card:focus-within,
.recipe-card:focus-within,
.recipe-teaser-card:focus-within {
    outline: 3px solid var(--green-600);
    outline-offset: 4px;
    transform: translateY(-8px);
}

/* Button focus states */
.cta-button:focus-visible,
.view-all-recipes-btn:focus-visible,
.recipe-teaser-cta:focus-visible {
    outline: 3px solid var(--pink-600);
    outline-offset: 4px;
    box-shadow: 0 0 0 8px rgba(204, 56, 116, 0.2);
}

/* Navigation link focus states */
nav a:focus-visible {
    background: rgba(45, 122, 95, 0.1);
    outline: 2px solid var(--green-700);
    outline-offset: 4px;
}

/* Skip to main content link (for screen readers) */
.skip-to-main {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--green-700);
    color: white;
    padding: var(--space-3) var(--space-6);
    text-decoration: none;
    font-weight: 600;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-to-main:focus {
    top: 0;
    outline: 3px solid var(--pink-600);
    outline-offset: 3px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    * {
        border-width: 2px !important;
    }
    
    .benefit-card,
    .recipe-card,
    .recipe-teaser-card {
        border: 2px solid var(--green-800) !important;
    }
    
    a:focus-visible,
    button:focus-visible {
        outline-width: 4px !important;
        outline-color: var(--green-900) !important;
    }
}

/* Screen reader only class */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ARIA live region for dynamic content */
[aria-live] {
    position: relative;
}

/* Ensure sufficient color contrast for text */
/* Text on light backgrounds: WCAG AAA 7:1 ratio */
body,
p,
.recipe-content p,
.benefit-card p {
    color: var(--gray-800); /* Ensures 7:1+ contrast on white */
}

/* Headings maintain strong contrast */
h1, h2, h3, h4, h5, h6 {
    color: var(--green-900); /* Dark enough for AAA contrast */
}

/* Link contrast improvements */
a {
    color: var(--green-700); /* Ensures 7:1+ contrast */
}

a:hover,
a:focus {
    color: var(--green-900);
    text-decoration: underline;
}

/* Button text contrast */
.cta-button,
.view-all-recipes-btn {
    color: white; /* White on green-600+ ensures AAA */
}

/* Reduced motion already handled earlier, but reinforce */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ========================================
   Performance Optimizations
   ======================================== */

/* Hardware acceleration for animated elements */
.benefit-card,
.recipe-card,
.recipe-teaser-card,
.hero-content-v2,
.hero::before,
.gallery-item {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Optimize animations for 60fps */
@keyframes iconPulse {
    0%, 100% { 
        transform: scale(1) translateZ(0); 
    }
    50% { 
        transform: scale(1.1) translateZ(0); 
    }
}

@keyframes gradientFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) translateZ(0);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg) translateZ(0);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg) translateZ(0);
    }
}

/* Contain layout shifts */
.recipe-teaser-image,
.recipe-image,
.gallery-item {
    content-visibility: auto;
    contain: layout style paint;
}

/* Lazy load optimization - prevent layout shift */
img {
    display: block;
    max-width: 100%;
    height: auto;
}

img[loading="lazy"] {
    min-height: 200px; /* Prevent CLS */
    background: var(--gray-100);
}

/* Font display optimization */
@font-face {
    font-family: 'Poppins';
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    font-display: swap;
}

/* Reduce paint area for shadows on scroll */
@media (min-width: 769px) {
    .benefit-card:not(:hover),
    .recipe-card:not(:hover),
    .recipe-teaser-card:not(:hover) {
        will-change: auto;
    }
}

/* Critical CSS hints */
.hero {
    contain: layout style;
}

/* Optimize backdrop-filter performance */
@supports (backdrop-filter: blur(20px)) {
    .hero-content-v2,
    .recipe-category-pills .pill {
        contain: paint;
    }
}

/* ========================================
   Cross-browser Compatibility & Vendor Prefixes
   ======================================== */

/* Glassmorphism backdrop-filter fallback */
.hero-content-v2 {
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
}

.recipe-category-pills .pill {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

/* Gradient text fallback for older browsers */
.hero-title-v2 {
    background-image: -webkit-linear-gradient(135deg, var(--green-600), var(--green-400));
    background-image: linear-gradient(135deg, var(--green-600), var(--green-400));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@supports not (-webkit-background-clip: text) {
    .hero-title-v2 {
        color: var(--green-700);
        background-image: none;
    }
}

/* Flexbox fallbacks for older Safari */
.recipe-teaser-grid,
.recipe-grid,
.benefits-grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: var(--space-8);
}

@supports (display: grid) {
    .recipe-teaser-grid,
    .recipe-grid,
    .benefits-grid {
        display: grid;
    }
}

/* Transform 3D for hardware acceleration */
.benefit-card,
.recipe-card,
.recipe-teaser-card {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Smooth scrolling for Safari */
html {
    -webkit-scroll-behavior: smooth;
    scroll-behavior: smooth;
}

/* Box-shadow fallback for older browsers */
.benefit-card,
.recipe-card,
.recipe-teaser-card {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Fallback */
    box-shadow: var(--shadow-md);
}

/* Object-fit fallback for IE11 */
@supports not (object-fit: cover) {
    .recipe-teaser-image img,
    .recipe-image img,
    .gallery-item img {
        width: 100%;
        height: 100%;
    }
}

/* Clip-path fallback for complex shapes */
@supports not (clip-path: polygon(0 0)) {
    .hero::before {
        border-radius: 50%;
    }
}

/* Grid gap fallback for older browsers */
@supports not (gap: 2rem) {
    .recipe-teaser-grid > * {
        margin-right: var(--space-8);
        margin-bottom: var(--space-8);
    }
    
    .recipe-teaser-grid > *:nth-child(3n) {
        margin-right: 0;
    }
}

/* CSS custom properties fallback */
@supports not (--css: variables) {
    body {
        font-family: 'Poppins', sans-serif;
        color: #2d3748;
        background-color: #faf8f5;
    }
    
    .hero-title {
        color: #2d7a5f;
    }
    
    .cta-button {
        background: #2d7a5f;
        color: white;
    }
}

/* Firefox-specific fixes */
@-moz-document url-prefix() {
    .recipe-teaser-card {
        background-clip: padding-box;
    }
}

/* Safari-specific fixes */
@media not all and (min-resolution: 0.001dpcm) {
    @supports (-webkit-appearance: none) {
        .hero-content-v2 {
            -webkit-backdrop-filter: blur(20px) saturate(180%);
        }
    }
}

/* Edge-specific fixes */
@supports (-ms-ime-align: auto) {
    .recipe-teaser-grid {
        display: -ms-grid;
        -ms-grid-columns: 1fr 2rem 1fr 2rem 1fr;
    }
}

/* ========================================
   Recipe Metadata Badge System
   ======================================== */

/* Base badge styling */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    transition: all var(--duration-base) var(--ease-out);
}

/* Badge icon sizing */
.badge svg,
.badge .badge-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Time badge */
.badge-time {
    background: var(--gray-100);
    color: var(--gray-700);
}

/* Spice level badges */
.badge-spice-mild {
    background: var(--green-100);
    color: var(--green-700);
}

.badge-spice-medium {
    background: #FEF3C7; /* yellow-100 */
    color: #92400E; /* yellow-800 */
}

.badge-spice-spicy {
    background: var(--pink-100);
    color: var(--pink-700);
}

/* Dietary badges */
.badge-veg {
    background: #dcfce7; /* green-100 */
    color: #166534; /* green-800 */
    border: 2px solid #22c55e; /* green-500 */
    font-weight: 600;
}

.badge-non-veg {
    background: #fef2f2; /* red-50 */
    color: #dc2626; /* red-600 */
    border: 2px solid #ef4444; /* red-500 */
    font-weight: 600;
}

/* Calories badge */
.badge-calories {
    background: var(--gray-100);
    color: var(--gray-600);
}

/* Rating badge - conditional colors */
.badge-rating {
    background: var(--gray-100);
    color: var(--gray-700);
}

.badge-rating.high {
    background: var(--green-100);
    color: var(--green-700);
}

.badge-rating.medium {
    background: #FEF3C7;
    color: #92400E;
}

/* Clickable badge hover */
.badge.clickable:hover,
a .badge:hover {
    transform: scale(1.1);
    filter: brightness(0.9);
    cursor: pointer;
}

/* Badge groups */
.badge-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    align-items: center;
}

/* ========================================
   Recipe Grid Navigation
   ======================================== */

.recipe-grid-index {
    padding: var(--space-12) 0;
    margin-bottom: var(--space-12);
    background: linear-gradient(to bottom, var(--gray-50) 0%, white 100%);
    border-radius: var(--radius-xl);
}

.recipe-grid-index .section-header {
    font-family: 'Playfair Display', serif;
    font-size: var(--text-2xl);
    color: var(--green-800);
    text-align: center;
    margin-bottom: var(--space-8);
}

.recipe-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.recipe-grid-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--duration-slow) var(--ease-out);
    text-decoration: none;
    display: block;
    position: relative;
    background-image: 
        linear-gradient(white, white),
        linear-gradient(135deg, var(--pink-300) 0%, var(--green-300) 100%);
    background-origin: padding-box, border-box;
    background-clip: padding-box, border-box;
    border: 1px solid transparent;
}

.recipe-grid-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 4px 8px rgba(45, 122, 95, 0.12),
        0 8px 16px rgba(45, 122, 95, 0.16),
        0 12px 24px rgba(45, 122, 95, 0.20);
}

.recipe-grid-card.active {
    border: 3px solid var(--green-600);
    transform: scale(1.05);
    box-shadow: 
        0 6px 12px rgba(45, 122, 95, 0.18),
        0 12px 24px rgba(45, 122, 95, 0.24);
}

.recipe-grid-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.recipe-grid-card:hover img {
    transform: scale(1.1);
}

.recipe-grid-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: var(--text-lg);
    color: var(--green-800);
    margin: var(--space-3) var(--space-3) var(--space-2);
    line-height: 1.3;
}

.recipe-grid-meta {
    padding: 0 var(--space-3) var(--space-3);
}

/* Responsive Grid */
@media (max-width: 1023px) {
    .recipe-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .recipe-grid-container {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .recipe-grid-card img {
        height: 200px;
    }
}





