   /* ==========================================================================
   GOZOFOOD.COM - MAIN STYLESHEET
   ==========================================================================
   
   Description: Modern, clean CSS for food website template
   Methodology: BEM (Block Element Modifier) naming conventions
   Architecture: ITCSS (Inverted Triangle CSS) inspired structure
   
   File Structure:
   1. Reset and Base Styles
   2. Typography System
   3. Layout Components
   4. Header & Navigation
   5. Hero Section
   6. Button Components
   7. Featured Content Section
   8. Responsive Design
   
   Color Palette:
   - Primary Green: #2D5A27 (deep forest green)
   - Secondary Green: #7CB342 (fresh lime green)
   - Primary Yellow: #FFC107 (warm golden yellow)
   - Secondary Yellow: #FFF59D (light cream yellow)
   - Orange Accent: #FF8F00 (vibrant orange)
   - Neutral Background: #F8F9FA (off-white)
   - Text Primary: #2C3E50 (dark blue-gray)
   
   Typography:
   - Primary Font: Inter (sans-serif) - for body text and UI
   - Secondary Font: Playfair Display (serif) - for headings
   - Accent Font: Dancing Script (cursive) - for taglines
   
   Breakpoints:
   - Mobile: 0-768px
   - Tablet: 768-1023px
   - Desktop: 1024px+
   
   Author: Gozofood.com Development Team
   Version: 1.0
   Last Updated: September 2025
   ========================================================================== */

        /* ==========================================================================
   1. RESET AND BASE STYLES
   ==========================================================================
   
   Provides a consistent foundation across all browsers by:
   - Resetting default margins and paddings
   - Setting consistent box-sizing
   - Establishing base typography
   - Enabling smooth scrolling
   - Optimizing font rendering
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    /* Ensures padding and border are included in element's total width/height */
}

html {
    font-size: 16px;
    /* Base font size for rem calculations */
    scroll-behavior: smooth;
    /* Enables smooth scrolling for anchor links */
    overflow-x: hidden;
    /* Prevent horizontal scrolling */
    width: 100%;
    position: relative;
    overflow-y: auto;
    /* Ensure vertical scrolling works properly */
    max-width: 100vw;
    /* Ensure no width overflow */
}

body {
    margin: 0;
    padding: 0;
    padding-top: 70px;
    /* Add space for fixed header */
    font-family: var(--font-family-primary);
    /* Inter font for body text */
    font-size: var(--font-size-base);
    /* 16px base font size */
    font-weight: var(--font-weight-normal);
    /* 400 weight */
    overflow-x: hidden !important;
    /* Prevent horizontal scrolling */
    width: 100%;
    max-width: 100vw;
    /* Prevent horizontal overflow */
    line-height: var(--line-height-normal);
    /* 1.5 line height for readability */
    color: var(--color-text-primary);
    /* Dark blue-gray text color */
    background-color: var(--color-white);
    /* White background */
    -webkit-font-smoothing: antialiased;
    /* Improves font rendering on WebKit browsers */
    -moz-osx-font-smoothing: grayscale;
    /* Improves font rendering on Firefox/macOS */
    position: relative;
    /* Ensure proper positioning context */
    scrollbar-width: none;
    /* Hide Firefox scrollbar */
    -ms-overflow-style: none;
    /* Hide IE and Edge scrollbar */
}

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
    display: none;
}

/* Prevent scroll when mobile menu is open */
body.scroll-lock {
    overflow: hidden;
    /* Prevents background scrolling when mobile menu is active */
}

/* Skip link for accessibility - hidden by default, visible on focus */
.skip-link {
    position: absolute;
    top: -40px;
    /* Hidden above viewport */
    left: 6px;
    background: var(--color-primary-green);
    color: var(--color-white);
    padding: 8px;
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    z-index: 1000;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 6px;
    /* Slides down into view when focused */
}

/* Visually hidden elements (for screen readers) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Utility class to disable text decoration */
.no-text-decoration,
.no-text-decoration:hover,
.no-text-decoration:focus {
    text-decoration: none !important;
}

/* ==========================================================================
2. TYPOGRAPHY SYSTEM
==========================================================================

Establishes a consistent typographic hierarchy using:
- Semantic heading structure (h1-h6)
- Consistent spacing and line heights
- Font family assignments based on content type
- Responsive font sizing using CSS custom properties
- Accessible color contrast ratios

Font Usage:
- Headings: Playfair Display (serif) for elegance
- Body text: Inter (sans-serif) for readability
- Links: Inherit with hover states for interaction feedback
========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 var(--spacing-md) 0;
    /* Consistent bottom margin */
    font-family: var(--font-family-secondary);
    /* Playfair Display for headings */
    font-weight: var(--font-weight-bold);
    /* 700 weight for emphasis */
    line-height: var(--line-height-tight);
    /* 1.25 for better heading appearance */
    color: var(--color-text-primary);
    /* Consistent heading color */
}

/* Heading size hierarchy - uses CSS custom properties for consistency */
h1 {
    font-size: var(--font-size-5xl);
    /* 48px - Primary page titles */
}

h2 {
    font-size: var(--font-size-4xl);
    /* 36px - Section titles */
}

h3 {
    font-size: var(--font-size-3xl);
    /* 30px - Subsection titles */
}

h4 {
    font-size: var(--font-size-2xl);
    /* 24px - Card titles */
}

h5 {
    font-size: var(--font-size-xl);
    /* 20px - Small headings */
}

h6 {
    font-size: var(--font-size-lg);
    /* 18px - Smallest headings */
}

/* Paragraph styling */
p {
    margin: 0 0 var(--spacing-md) 0;
    /* Consistent bottom margin for flow */
}

/* Link styling with interaction states */
a {
    color: var(--color-primary-green);
    /* Brand green for links */
    text-decoration: none;
    /* Clean appearance by default */
    transition: color var(--transition-fast);
    /* Smooth color transitions */
}

a:hover,
a:focus {
    color: var(--color-primary-green-dark);
    /* Darker green on interaction */
    text-decoration: underline;
    /* Underline for clarity on hover/focus */
}

/* ==========================================================================
3. LAYOUT COMPONENTS
==========================================================================

Provides the foundational layout structure for the entire site:
- Page wrapper with flexbox for sticky footer
- Main content area that grows to fill available space
- Container utility for consistent content width and padding
- Responsive padding that adapts to different screen sizes

The layout uses modern CSS techniques:
- Flexbox for vertical layout
- CSS custom properties for consistent spacing
- Mobile-first responsive design approach
========================================================================== */

/* Page wrapper - ensures footer sticks to bottom */
.page {
    min-height: 100vh;
    /* Full viewport height minimum */
    display: flex;
    flex-direction: column;
    /* Vertical layout */
    overflow-x: hidden;
    /* Prevent horizontal scrolling */
    width: 100%;
    max-width: 100%;
}

/* Main content area - grows to fill available space */
.main {
    flex: 1;
    /* Takes up remaining space, pushing footer down */
}

/* Container utility for consistent content width and horizontal padding */
.container {
    max-width: 1200px;
    /* Maximum content width */
    margin: 0 auto;
    /* Centers content horizontally */
    padding: 0 var(--spacing-md);
    /* 16px horizontal padding on mobile */
    width: 100%;
    box-sizing: border-box;
    /* Include padding in width calculation */
    overflow-x: hidden;
    /* Prevent horizontal scrolling */
}

/* Responsive container padding - increases on larger screens */
@media (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-lg);
        /* 24px padding on tablet+ */
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 var(--spacing-xl);
        /* 32px padding on desktop+ */
    }
}

/* ==========================================================================
4. HEADER & NAVIGATION
==========================================================================

Creates a fixed header with responsive navigation:
- Fixed positioning for persistent access
- Backdrop blur effect for modern appearance
- Responsive design with mobile hamburger menu
- Smooth transitions for scroll-based state changes
- Accessible navigation with proper ARIA attributes

Navigation Features:
- Logo/brand area with image and text
- Horizontal menu on desktop
- Collapsible mobile menu with overlay
- Active state management
- Search functionality
- Smooth hover and focus states
========================================================================== */

/* ==========================================================================
5. HERO SECTION - Bright & Vibrant Design
========================================================================== */

/* Hero section with colorful background and animated elements */
.hero {
    position: relative;
    min-height: 100vh;
    height: 100vh;
    /* Fixed height for better centering */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #000;
    /* Fallback color before image loads */
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero__background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(1.1) contrast(1.05);
    /* Slightly enhance image vibrancy */
    transform: scale(1.01);
    /* Slight scale to prevent any potential border gaps */
    transition: transform 12s ease-out;
    /* Super slow zoom effect */
    animation: slowZoom 20s ease-out forwards;
}

@keyframes slowZoom {
    0% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1.06);
    }
}

/* Overlay to enhance text readability while preserving image colors */
.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    /* Stronger gradient for better text visibility */
    z-index: 2;
}

.hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-white);
    width: 100%;
    height: 100vh;
    max-width: 100vw;
    /* Ensure it doesn't exceed viewport width */
    padding: 0 10px;
    /* Minimal horizontal padding */
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Center vertically */
    overflow: hidden;
    /* Prevent overflow */
}

/* Hero content entrance animation */
@keyframes heroContentEntrance {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__title {
    font-family: var(--font-family-secondary);
    /* Source Serif Pro */
    font-size: clamp(3.85rem, 13.5vw, 22rem);
    /* Increased by ~10% from previous values */
    font-weight: 700;
    /* Bold weight for Source Serif Pro */
    font-variation-settings: 'opsz' 60, 'wght' 700;
    /* Optimize for large display size */
    line-height: 0.85;
    /* Adjusted line height for better containment */
    margin-bottom: var(--spacing-md);
    /* Reduced margin to give more space to text */
    color: var(--color-white);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    /* Subtle shadow for better visibility */
    letter-spacing: -0.02em;
    /* Looser letter spacing to prevent cut-off */
    animation: professionalTitleEntrance 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    padding: 0;
    /* Remove padding that might cause wrapping */
    text-align: center;
    /* Ensure perfect centering */
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    /* Include padding in width calculations */
}

/* Professional title entrance animation with clean, subtle movement */
@keyframes professionalTitleEntrance {
    0% {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(4px);
    }

    40% {
        opacity: 0.6;
        filter: blur(2px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.hero__title-main {
    display: inline-block;
    /* Changed to inline-block to keep text together */
    transform-origin: center;
    letter-spacing: -0.02em;
    /* Match the updated title letter-spacing */
    animation: titleReveal 1.5s cubic-bezier(0.23, 1, 0.32, 1) forwards 0.2s;
    opacity: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
    white-space: nowrap;
    /* Prevent text from wrapping */
    text-align: center;
    padding: 0;
    /* Remove padding that might cause issues */
}

/* Professional title reveal animation */
@keyframes titleReveal {
    0% {
        opacity: 0;
        transform: scale(0.96);
        letter-spacing: -0.04em;
        filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0));
    }

    100% {
        opacity: 1;
        transform: scale(1);
        letter-spacing: -0.02em;
        /* Match our updated letter spacing */
        filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
    }
}

.hero__title-dot {
    color: var(--color-primary-yellow);
    display: inline-block;
    animation: dotPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 193, 7, 0.6));
}

@keyframes dotPulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(255, 193, 7, 0.6));
    }

    50% {
        transform: scale(1.2);
        filter: drop-shadow(0 0 20px rgba(255, 193, 7, 0.8));
    }
}

.hero__tagline-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    animation: taglineWrapperFade 1.2s ease-out 1s forwards;
    opacity: 0;
    margin-top: 2rem;
    width: 100%;
}

.hero__tagline-line {
    height: 1px;
    width: clamp(30px, 5vw, 80px);
    background-color: var(--color-primary-yellow);
    animation: lineGrow 1.8s cubic-bezier(0.25, 1, 0.5, 1) 1.4s forwards;
    transform: scaleX(0);
}

@keyframes lineGrow {
    0% {
        transform: scaleX(0);
    }

    100% {
        transform: scaleX(1);
    }
}

@keyframes taglineWrapperFade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.hero__tagline {
    font-family: var(--font-family-accent);
    /* Source Serif 4 */
    font-size: clamp(1.2rem, 3vw, 2rem);
    /* Responsive tagline */
    font-weight: 400;
    /* Regular weight for elegant italic */
    font-variation-settings: 'opsz' 24, 'wght' 400;
    /* Optimize for medium display size */
    margin: 0 var(--spacing-md);
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-style: italic;
    letter-spacing: 0.05em;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    white-space: nowrap;
}

/* Hero content entrance animation */
@keyframes heroContentEntrance {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    40% {
        opacity: 0.6;
        transform: translateX(-10px) scale(0.98) rotateY(-3deg);
        filter: blur(0.5px);
    }

    70% {
        opacity: 0.9;
        transform: translateX(5px) scale(1.01) rotateY(1deg);
        filter: blur(0px);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1) rotateY(0deg);
        filter: blur(0px);
    }
}

.hero__description {
    font-size: var(--font-size-lg);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-2xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: descriptionFade 2s ease-out 1.2s forwards;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

/* Description fade-in animation */
@keyframes descriptionFade {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 0.95;
        transform: translateY(0);
    }
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    justify-content: center;
    align-items: center;
    animation: actionsRise 2s ease-out 1.6s forwards;
    opacity: 0;
    transform: translateY(30px);
}

/* Actions rise-up animation */
@keyframes actionsRise {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__cta {
    min-width: 160px;
    transition: all var(--transition-fast);
}

.hero__cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.hero__scroll-indicator {
    position: absolute;
    bottom: var(--spacing-2xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    color: var(--color-white);
    cursor: pointer;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    animation: scrollIndicatorFade 1.5s cubic-bezier(0.25, 1, 0.5, 1) 2s forwards;
}

/* Modern scroll indicator fade-in animation */
@keyframes scrollIndicatorFade {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }

    100% {
        opacity: 0.9;
        transform: translateX(-50%) translateY(0);
    }
}

.hero__scroll-indicator:hover {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

.hero__scroll-text {
    font-family: var(--font-family-primary);
    /* Using the primary font for a modern look */
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.8px;
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    padding-bottom: 5px;
}

.hero__scroll-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-white), transparent);
    opacity: 0.5;
}

.hero__scroll-arrow {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: all 0.3s ease;
}

.hero__scroll-circle {
    opacity: 0.15;
    transition: all 0.3s ease;
}

.hero__scroll-arrow-path {
    animation: arrowPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.hero__scroll-indicator:hover .hero__scroll-circle {
    opacity: 0.3;
    stroke-width: 2;
}

.hero__scroll-indicator:hover .hero__scroll-arrow-path {
    stroke-width: 2;
}

@keyframes arrowPulse {

    0%,
    100% {
        opacity: 1;
        transform: translateY(0);
    }

    50% {
        opacity: 0.7;
        transform: translateY(3px);
    }
}

/* Mobile optimizations for hero section */
/* ==========================================================================
Button Components
========================================================================== */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md) var(--spacing-xl);
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
    min-height: 48px;
    position: relative;
    overflow: hidden;
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-normal);
}

.button:hover::before {
    left: 100%;
}

.button--primary {
    background: var(--color-primary-yellow);
    color: var(--color-text-primary);
    border-color: var(--color-primary-yellow);
}

.button--primary:hover,
.button--primary:focus {
    background: var(--color-orange-accent);
    border-color: var(--color-orange-accent);
    color: var(--color-white);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.button--secondary {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.button--secondary:hover,
.button--secondary:focus {
    background: var(--color-white);
    color: var(--color-primary-green);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
Newsletter Component
========================================================================== */

.newsletter {
    background: linear-gradient(135deg, var(--color-primary-green-light) 0%, var(--color-surface) 100%);
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-xl);
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(var(--color-primary-yellow-rgb), 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.newsletter>* {
    position: relative;
    z-index: 2;
}

.newsletter__title {
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-lg);
    color: var(--color-text);
    font-family: var(--font-family-secondary);
}

.newsletter__description {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.newsletter__form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.newsletter__input {
    padding: var(--spacing-md) var(--spacing-lg);
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius-lg);
    font-size: var(--font-size-sm);
    background-color: var(--color-white);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.newsletter__input:focus {
    outline: none;
    border-color: var(--color-primary-yellow);
    box-shadow: 0 0 0 3px rgba(var(--color-primary-yellow-rgb), 0.1);
}

.newsletter__button {
    background: linear-gradient(135deg, var(--color-primary-yellow) 0%, var(--color-primary-yellow-dark) 100%);
    color: var(--color-text-primary);
    border: none;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md) var(--spacing-lg);
    font-weight: 600;
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(var(--color-primary-yellow-rgb), 0.3);
}

.newsletter__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(var(--color-primary-yellow-rgb), 0.4);
}

/* Newsletter form inline variant for larger screens */
@media (min-width: 576px) {
    .newsletter__form--inline {
        flex-direction: row;
    }

    .newsletter__form--inline .newsletter__input {
        flex: 1;
    }

    .newsletter__form--inline .newsletter__button {
        flex-shrink: 0;
        white-space: nowrap;
    }
}

/* Newsletter Section Component (Full-width variant) */
.blog-newsletter {
    background: linear-gradient(135deg,
            var(--color-primary-green-light) 0%,
            var(--color-primary-green) 50%,
            var(--color-primary-green-dark) 100%);
    padding: var(--spacing-xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.blog-newsletter__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl) var(--spacing-md) var(--spacing-xl);
    position: relative;
    z-index: 2;
}

.blog-newsletter__content {
    max-width: 700px;
    margin: 0 auto;
}

.blog-newsletter__title {
    font-family: var(--font-family-secondary);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    line-height: 1.2;
    text-align: center;
}

/* Yellow underline decoration for newsletter title */
.blog-newsletter__title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--color-primary-yellow);
    border-radius: 2px;
}

.blog-newsletter__description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.blog-newsletter__form {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.blog-newsletter__input-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    max-width: 400px;
    width: 100%;
}

@media (min-width: 576px) {
    .blog-newsletter__input-group {
        flex-direction: row;
        max-width: 500px;
    }
}

.blog-newsletter__input {
    flex-grow: 1;
    padding: var(--spacing-md) var(--spacing-lg);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-base);
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-text-primary);
    transition: all 0.3s ease;
    outline: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.blog-newsletter__input:focus {
    border-color: var(--color-primary-yellow);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(var(--color-primary-yellow-rgb), 0.2);
}

.blog-newsletter__input::placeholder {
    color: var(--color-text-secondary);
    opacity: 0.8;
}

.blog-newsletter__submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 2.5rem;
    border-radius: var(--border-radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: var(--color-primary-yellow);
    color: var(--color-text-primary);
    border-color: var(--color-primary-yellow);
    white-space: nowrap;
}

/* Shine effect animation for submit button */
.blog-newsletter__submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
    z-index: 0;
}

.blog-newsletter__submit:hover::before {
    left: 100%;
}

/* Button text positioning above shine effect */
.blog-newsletter__submit span {
    position: relative;
    z-index: 1;
}

.blog-newsletter__submit:hover {
    background: var(--color-white);
    color: var(--color-primary-green-dark);
    border-color: var(--color-white);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.blog-newsletter__submit:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--color-primary-yellow-rgb), 0.4);
}

.blog-newsletter__privacy {
    text-align: center;
    margin-top: var(--spacing-md);
}

.blog-newsletter__checkbox-label {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.blog-newsletter__checkbox {
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: var(--color-primary-yellow);
}

.blog-newsletter__checkbox-text {
    text-align: left;
}

.blog-newsletter__link {
    color: var(--color-primary-yellow);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.blog-newsletter__link:hover {
    color: var(--color-white);
    text-decoration-thickness: 2px;
}

/* Blog Newsletter Responsive Improvements */
@media (max-width: 576px) {
    .blog-newsletter {
        padding: var(--spacing-xl) 0;
    }

    .blog-newsletter__container {
        padding: 0 var(--spacing-md);
    }

    .blog-newsletter__title {
        font-size: clamp(1.25rem, 5vw, 1.75rem);
        margin-bottom: var(--spacing-md);
    }

    .blog-newsletter__description {
        font-size: var(--font-size-sm);
        margin-bottom: var(--spacing-xl);
    }

    .blog-newsletter__input-group {
        gap: var(--spacing-sm);
    }

    .blog-newsletter__input,
    .blog-newsletter__submit {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: var(--font-size-sm);
    }

    .blog-newsletter__checkbox-label {
        font-size: calc(var(--font-size-sm) - 1px);
        gap: var(--spacing-xs);
    }
}

/* ==========================================================================
Featured Section
========================================================================== */

.featured {
    padding: var(--spacing-2xl) 0 var(--spacing-2xl);
    /* Reduced padding */
    background: var(--color-white);
    /* Clean white background like med.kitchen */
    position: relative;
    overflow: visible;
    /* Allow content to overflow for negative margins if needed */
    margin: var(--spacing-xl) 0;
    /* Reduced margins */
}

/* Remove background pattern for cleaner look */
.featured::before {
    content: none;
}

.featured__container {
    max-width: 1400px;
    /* Wider container like med.kitchen */
    margin: 0 auto;
    padding: 0 var(--spacing-2xl);
    /* More horizontal padding */
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Ensure all children are left-aligned */
}

.featured__header {
    text-align: center;
    /* Changed to center for consistency with other sections */
    margin-bottom: var(--spacing-md);
    position: relative;
    padding: var(--spacing-sm) 0 var(--spacing-xs);
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center aligned for consistency */
    gap: var(--spacing-xs);
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    /* Center the header */
    margin-right: 0;
    padding-left: 0;
    /* Let the container handle padding */
}

/* Remove decorative underline */
.featured__header::after {
    content: none;
}

.featured__category {
    display: inline-block;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary-green);
    background: rgba(45, 90, 39, 0.1);
    /* Subtle green background */
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--border-radius-full);
    margin-bottom: var(--spacing-xs);
    /* Reduced spacing between category and title */
    box-shadow: none;
    transform: none;
    transition: all 0.3s ease;
    position: relative;
    align-self: flex-start;
    /* Ensure left alignment */
}

/* Add subtle hover effects */
.featured__category:hover {
    background: rgba(45, 90, 39, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(45, 90, 39, 0.2);
}

/* Remove separator dot */
.featured__category::after {
    content: none;
}

.featured__title {
    /* Most styles now come from .section-heading */
    align-self: center;
    /* Center for consistency */
}

/* The underline animation is now handled by .section-heading::after */
.featured__title::after {
    /* Override with empty to avoid duplicate underlines */
    content: none;
}

/* Kept for backward compatibility */
@keyframes underlineAnimate {
    to {
        width: 100%;
    }
}

.featured__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    /* Reduced spacing for mobile view as well */
    margin-top: 0;
    /* Remove top margin */
    opacity: 0;
    transform: translateY(20px);
    animation: featuredGridReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
    /* Delayed start */
}

@keyframes featuredGridReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsive styles for featured section */
@media (max-width: 768px) {
    .featured__category {
        font-size: var(--font-size-xs);
        letter-spacing: 1px;
        padding: var(--spacing-2xs) var(--spacing-sm);
        margin-bottom: var(--spacing-2xs);
    }
}

@media (max-width: 480px) {
    .featured__category {
        font-size: var(--font-size-xs);
        letter-spacing: 0.5px;
        padding: var(--spacing-2xs) var(--spacing-xs);
        margin-bottom: var(--spacing-xs);
    }
}

@media (min-width: 768px) {
    .featured__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto auto;
        gap: var(--spacing-xl);
        /* Horizontal gap */
        row-gap: var(--spacing-lg);
        /* Reduced vertical gap between rows */
    }

    /* Two cards on top row for tablet */
    .card:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .card:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }
}

@media (min-width: 1024px) {
    .featured__grid {
        grid-template-columns: repeat(3, 1fr);
        /* Three equal columns like med.kitchen */
        grid-template-rows: auto auto;
        grid-auto-flow: row;
        gap: var(--spacing-xl);
        /* Horizontal gap */
        row-gap: var(--spacing-lg);
        /* Reduced vertical gap between rows */
    }

    /* Position all cards with two on top, three on bottom */
    .card:nth-child(1) {
        grid-column: 1 / span 2;
        /* First card spans 2 columns instead of all 3 */
        grid-row: 1;
    }

    .card:nth-child(2) {
        grid-column: 3;
        grid-row: 1;
    }

    .card:nth-child(3) {
        grid-column: 1;
        grid-row: 2;
    }

    .card:nth-child(4) {
        grid-column: 2;
        grid-row: 2;
    }

    .card:nth-child(5) {
        grid-column: 3;
        grid-row: 2;
    }
}

/* Add staggered reveal animations to cards */
.card:nth-child(1) {
    animation-delay: 0.2s;
}

.card:nth-child(2) {
    animation-delay: 0.35s;
}

.card:nth-child(3) {
    animation-delay: 0.5s;
}

.card:nth-child(4) {
    animation-delay: 0.65s;
}

.card:nth-child(5) {
    animation-delay: 0.8s;
}

/* ==========================================================================
Categories Section
========================================================================== */

.categories {
    padding: var(--spacing-lg) 0 var(--spacing-xl);
    background-color: rgba(var(--color-neutral-bg-rgb), 0.7);
    position: relative;
    overflow: hidden;
}

.categories__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (min-width: 768px) {
    .categories {
        padding: var(--spacing-xl) 0 var(--spacing-2xl);
    }

    .categories__container {
        padding: 0 var(--spacing-xl);
    }
}

.categories::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--color-primary-green-rgb), 0.1) 0%, rgba(var(--color-primary-green-rgb), 0) 70%);
    top: -150px;
    left: -150px;
    z-index: 1;
}

.categories::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--color-primary-yellow-rgb), 0.08) 0%, rgba(var(--color-primary-yellow-rgb), 0) 70%);
    bottom: -200px;
    right: -200px;
    z-index: 1;
}

.categories__container {
    position: relative;
    z-index: 2;
}

.categories__header {
    text-align: center;
    margin-bottom: var(--spacing-md);
    position: relative;
}

@media (min-width: 768px) {
    .categories__header {
        margin-bottom: var(--spacing-lg);
    }
}

@media (min-width: 1024px) {
    .categories__header {
        margin-bottom: var(--spacing-xl);
    }
}

.categories__title {
    /* Most styles now come from .section-heading */
    color: var(--color-text-primary);
}

.categories__title::after {
    /* Override with empty to avoid duplicate underlines */
    content: none;
}

.categories__description {
    font-size: var(--font-size-md);
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .categories__description {
        font-size: var(--font-size-lg);
        line-height: 1.6;
    }
}

@media (min-width: 1024px) {
    .categories__description {
        font-size: var(--font-size-xl);
    }
}

.categories__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (min-width: 768px) {
    .categories__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
}

@media (min-width: 1024px) {
    .categories__grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1200px;
        gap: var(--spacing-md);
        padding: 0;
    }
}

/* ==========================================================================
Responsive Design
========================================================================== */

@media (min-width: 768px) {
    .header__container {
        padding: 0 var(--spacing-lg);
    }

    .hero__content {
        padding: 0 var(--spacing-lg);
    }

    .featured__container {
        padding: 0 var(--spacing-lg);
    }
}

@media (min-width: 1024px) {
    .header__container {
        padding: 0 var(--spacing-xl);
    }

    .hero__content {
        padding: 0 var(--spacing-xl);
    }

    .featured__container {
        padding: 0 var(--spacing-xl);
    }
}