/* --- 1. FONTS & IMPORTS --- */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

/* --- 2. DESIGN SYSTEM VARIABLES --- */
:root {
    --dolcetti-cream: #FCF9F3;
    --dolcetti-espresso: #2D241E;
    --dolcetti-gold: #A67C52;
}

/* --- 3. CORE BASE & TYPOGRAPHY --- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--dolcetti-cream);
    color: var(--dolcetti-espresso);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, .brand-logo, .font-serif {
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.02em;
}

img {
    background-color: transparent;
}

/* --- 4. HEADER & NAVIGATION --- */
.header-zone {
    width: 33.333%;
}

#menu-toggle {
    display: none;
}

#mobile-menu {
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(-10px);
    pointer-events: none;
    opacity: 0;
}

@media (max-width: 767px) {
    #menu-toggle:checked ~ #mobile-menu {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    
    #mobile-menu ul li a {
        padding: 1rem;
        display: block;
        border-bottom: 1px solid rgba(45, 36, 30, 0.05);
    }
}

@media (min-width: 768px) {
    #mobile-menu {
        display: none;
    }
}
/* --- 6. PRODUCT CARDS & HOVER ANIMATIONS --- */
.hover\:grow {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover\:grow:hover {
    transform: scale(1.03);
}

/* --- 7. FAQ (DETAILS / SUMMARY) --- */
details summary::-webkit-details-marker {
    display: none;
}

details[open] summary span svg {
    transform: rotate(180deg);
}

/* --- 8. FORMS & INPUTS --- */
.form-input {
    width: 100%;
    padding: 12px 16px;
    background-color: white;
    border: 1px solid rgba(45, 36, 30, 0.2);
    font-family: 'Lato', sans-serif;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--dolcetti-gold);
}

/* --- 9. WHOLESALE SPECIFICS --- */
.wholesale-form-container {
    background-color: white;
    box-shadow: 0 20px 40px rgba(45, 36, 30, 0.08);
    border: 1px solid rgba(45, 36, 30, 0.05);
}

.benefit-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    line-height: 1;
    opacity: 0.2;
    margin-right: 1.5rem;
}

/* --- 10. RECIPE SYSTEM --- */
.recipe-card img {
    transition: transform 0.5s ease;
}

.recipe-card:hover img {
    transform: scale(1.05);
}

.badge-tag {
    font-size: 0.65rem;
    padding: 4px 8px;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.recipe-meta-box {
    border-top: 1px solid rgba(45, 36, 30, 0.1);
    border-bottom: 1px solid rgba(45, 36, 30, 0.1);
}

.ingredient-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.ingredient-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--dolcetti-gold);
    font-weight: bold;
}

.instruction-step {
    display: flex;
    margin-bottom: 2rem;
}

.step-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    min-width: 3rem;
    color: var(--dolcetti-gold);

}

/* --- EDITORIAL HERO FIXES --- */
.parallax-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 350px; /* Controlled mobile height to avoid vertical stretching */
}

@media (min-width: 768px) {
    .parallax-container {
        height: 100vh;
        min-height: 600px;
    }
}

.parallax-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image maintains correct proportions without warping */
    will-change: transform;
}

/* --- 11. FOOTER --- */
.footer-logo {
    max-height: 40px;
    width: auto;
}

.footer-link {
    transition: opacity 0.3s ease;
    opacity: 0.6;
}

.footer-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* --- 12. PRINT STYLES --- */
@media print {
    nav, footer, .no-print {
        display: none;
    }
    .page-header {
        padding: 20px 0;
    }
}