/* 
   Foodie Feest - Stylesheet
   Clean design with warm terracotta palette
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

:root {
    --terra-900: #5C2E1A;
    --terra-800: #7A3E24;
    --terra-700: #96502F;
    --terra-600: #B0643C;
    --terra-500: #C47A52;
    --terra-400: #D49474;
    --terra-300: #E2B098;
    --terra-200: #EECCBC;
    --terra-100: #F5E3D4;
    --terra-50: #FBF3EC;
    --terra-25: #FDF9F6;
    --white: #FFFFFF;
    --text-dark: #3A2218;
    --text-body: #5A3D2E;
    --text-light: #8C6B5A;
    --text-muted: #A68978;
    --border-subtle: #E8D5C4;
    --shadow-sm: 0 2px 8px rgba(92, 46, 26, 0.06);
    --shadow-md: 0 4px 16px rgba(92, 46, 26, 0.08);
    --shadow-lg: 0 8px 32px rgba(92, 46, 26, 0.12);
    --shadow-lift: 0 12px 40px rgba(92, 46, 26, 0.16);
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Lora', 'Times New Roman', serif;
    --max-content: 1140px;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.75;
    color: var(--text-body);
    background-color: var(--terra-25);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--terra-700);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--terra-900);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.3;
    font-weight: 600;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }


/* ---- Site Header ---- */
.site-top {
    background: var(--white);
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
    z-index: 100;
}

.site-top-inner {
    max-width: var(--max-content);
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-link svg {
    height: 48px;
    width: auto;
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--terra-800);
    letter-spacing: -0.02em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav a {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-body);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.25rem 0;
    border-bottom: 2px solid transparent;
    transition: all var(--transition);
}

.main-nav a:hover,
.main-nav a.current {
    color: var(--terra-700);
    border-bottom-color: var(--terra-500);
}

.hamburger-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
}

.hamburger-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all var(--transition);
}


/* ---- Hero / Banner ---- */
.hero-banner {
    background: linear-gradient(135deg, var(--terra-100) 0%, var(--terra-200) 40%, var(--terra-300) 100%);
    padding: 4rem 1.5rem;
    text-align: center;
}

.hero-banner-inner {
    max-width: 720px;
    margin: 0 auto;
}

.hero-banner h1 {
    font-size: 3rem;
    color: var(--terra-900);
    margin-bottom: 1rem;
    font-weight: 700;
    font-style: italic;
}

.hero-banner .tagline {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: var(--terra-700);
    line-height: 1.8;
    max-width: 560px;
    margin: 0 auto;
}


/* ---- Content Wrapper ---- */
.content-wrap {
    max-width: var(--max-content);
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.content-wrap-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}


/* ---- Section Titles ---- */
.section-heading {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-heading h2 {
    font-size: 2.25rem;
    color: var(--terra-900);
    margin-bottom: 0.5rem;
}

.section-heading .subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    font-style: italic;
}


/* ---- Recipe Cards Grid ---- */
.recipe-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.recipe-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.recipe-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
}

.recipe-card-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: var(--terra-100);
}

.recipe-card-body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.recipe-card-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--terra-500);
    margin-bottom: 0.4rem;
    display: block;
}

.recipe-card-body h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.recipe-card-body h3 a {
    color: var(--text-dark);
}

.recipe-card-body h3 a:hover {
    color: var(--terra-700);
}

.recipe-card-excerpt {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* ---- About / Intro Block ---- */
.intro-block {
    background: var(--terra-50);
    border-radius: var(--radius-xl);
    padding: 3rem;
    display: flex;
    gap: 2.5rem;
    align-items: center;
    margin: 3rem auto;
    max-width: var(--max-content);
}

.intro-block-text {
    flex: 1;
}

.intro-block-text h2 {
    margin-bottom: 1rem;
}

.intro-block-text p {
    color: var(--text-body);
    font-size: 1rem;
}

.intro-block-visual {
    flex: 0 0 220px;
    text-align: center;
}

.intro-block-visual svg {
    width: 200px;
    height: auto;
}


/* ---- Category Grid ---- */
.category-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.category-tile {
    background: linear-gradient(145deg, var(--terra-100), var(--terra-200));
    border-radius: var(--radius-md);
    padding: 1.75rem 1.5rem;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
    display: block;
}

.category-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.category-tile-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.category-tile-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--terra-800);
}


/* ---- Blogroll / Recent Posts ---- */
.blogroll-section {
    padding: 3rem 1.5rem;
    max-width: var(--max-content);
    margin: 0 auto;
}

.blogroll-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blogroll-entry {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.blogroll-entry:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.blogroll-meta {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.blogroll-meta time {
    font-weight: 500;
}

.blogroll-entry h3 {
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
}

.blogroll-entry h3 a {
    color: var(--text-dark);
}

.blogroll-entry h3 a:hover {
    color: var(--terra-600);
}

.blogroll-excerpt {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.blogroll-excerpt a {
    color: var(--terra-600);
    text-decoration: underline;
    text-decoration-color: var(--terra-300);
    text-underline-offset: 2px;
}

.blogroll-excerpt a:hover {
    color: var(--terra-800);
    text-decoration-color: var(--terra-600);
}

.read-on {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--terra-600);
    transition: color var(--transition);
}

.read-on:hover {
    color: var(--terra-900);
}


/* ---- Buttons ---- */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--terra-600);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--terra-700);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--terra-700);
    border: 2px solid var(--terra-400);
}

.btn-outline:hover {
    background: var(--terra-100);
    border-color: var(--terra-600);
    color: var(--terra-800);
}


/* ---- E-book Promo ---- */
.ebook-promo {
    background: linear-gradient(135deg, var(--terra-800), var(--terra-600));
    border-radius: var(--radius-xl);
    padding: 3rem;
    text-align: center;
    color: var(--white);
    margin: 2rem auto;
    max-width: var(--max-content);
}

.ebook-promo h2 {
    color: var(--white);
    margin-bottom: 0.75rem;
}

.ebook-promo p {
    color: var(--terra-200);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto 1.5rem;
}

.ebook-promo .btn {
    background: var(--white);
    color: var(--terra-800);
    font-weight: 700;
}

.ebook-promo .btn:hover {
    background: var(--terra-100);
}


/* ---- Footer ---- */
.site-footer {
    background: var(--terra-900);
    color: var(--terra-300);
    padding: 3rem 1.5rem 1.5rem;
    margin-top: 3rem;
}

.footer-columns {
    max-width: var(--max-content);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--terra-800);
}

.footer-col h4 {
    font-family: var(--font-heading);
    color: var(--terra-200);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-col p {
    font-size: 0.9rem;
    color: var(--terra-400);
    line-height: 1.7;
}

.footer-col a {
    color: var(--terra-300);
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-links {
    list-style: none;
}

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

.footer-bottom {
    max-width: var(--max-content);
    margin: 0 auto;
    padding-top: 1.25rem;
    text-align: center;
    font-size: 0.82rem;
    color: var(--terra-600);
}


/* ---- Page Content ---- */
.page-hero {
    background: linear-gradient(135deg, var(--terra-50), var(--terra-100));
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    color: var(--terra-900);
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
}

.page-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.page-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.page-content ul, .page-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.page-content li {
    margin-bottom: 0.4rem;
}


/* ---- Recipe Page ---- */
.recipe-hero {
    background: linear-gradient(135deg, var(--terra-50), var(--terra-100));
    padding: 2.5rem 1.5rem;
}

.recipe-hero-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.recipe-hero h1 {
    font-size: 2.25rem;
    color: var(--terra-900);
    margin-bottom: 0.5rem;
}

.recipe-meta-bar {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.recipe-article {
    max-width: 800px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
}

.recipe-intro {
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 2rem;
}

.ingredient-box {
    background: var(--terra-50);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin-bottom: 2rem;
}

.ingredient-box h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--terra-800);
}

.ingredient-box ul {
    list-style: none;
    padding: 0;
}

.ingredient-box li {
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.95rem;
}

.ingredient-box li:last-child {
    border-bottom: none;
}

.preparation-steps h2 {
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
    color: var(--terra-800);
}

.preparation-steps ol {
    padding-left: 1.25rem;
}

.preparation-steps li {
    margin-bottom: 1rem;
    padding-left: 0.5rem;
    line-height: 1.75;
}

.recipe-tip {
    background: var(--terra-100);
    border-left: 4px solid var(--terra-500);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--terra-800);
}


/* ---- Recepten Index ---- */
.recipe-index-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.recipe-index-section {
    margin-bottom: 3rem;
}

.recipe-index-section h2 {
    font-size: 1.6rem;
    color: var(--terra-800);
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--terra-200);
}


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

.form-field {
    margin-bottom: 1.25rem;
}

.form-field label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text-body);
    transition: border-color var(--transition);
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--terra-500);
    box-shadow: 0 0 0 3px rgba(196, 122, 82, 0.15);
}

.form-field textarea {
    min-height: 140px;
    resize: vertical;
}


/* ---- Cookie Banner ---- */
.cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--terra-900);
    color: var(--terra-200);
    padding: 1rem 1.5rem;
    z-index: 9999;
    display: none;
}

.cookie-bar.visible {
    display: block;
}

.cookie-bar-inner {
    max-width: var(--max-content);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-bar p {
    font-size: 0.88rem;
    margin: 0;
    flex: 1;
}

.cookie-bar a {
    color: var(--terra-300);
    text-decoration: underline;
}

.cookie-bar-actions {
    display: flex;
    gap: 0.75rem;
}

.cookie-accept {
    background: var(--terra-500);
    color: var(--white);
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition);
}

.cookie-accept:hover {
    background: var(--terra-400);
}

.cookie-decline {
    background: transparent;
    color: var(--terra-400);
    border: 1px solid var(--terra-700);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition);
}

.cookie-decline:hover {
    border-color: var(--terra-500);
    color: var(--terra-300);
}


/* ---- Skip Link ---- */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--terra-800);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    z-index: 10000;
    transition: top 0.2s;
}

.skip-to-content:focus {
    top: 0.5rem;
    color: var(--white);
}


/* ---- Responsive ---- */
@media (max-width: 900px) {
    .recipe-grid,
    .recipe-index-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-tiles {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-columns {
        grid-template-columns: 1fr 1fr;
    }
    
    .intro-block {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    h1 { font-size: 2.25rem; }
    .hero-banner h1 { font-size: 2.5rem; }
}

@media (max-width: 680px) {
    .hamburger-toggle {
        display: flex;
        order: -1;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem 1.5rem;
        gap: 0;
        border-bottom: 1px solid var(--border-subtle);
        box-shadow: var(--shadow-md);
    }
    
    .main-nav.open {
        display: flex;
    }
    
    .main-nav a {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--terra-50);
        width: 100%;
    }
    
    .recipe-grid,
    .recipe-index-grid,
    .category-tiles {
        grid-template-columns: 1fr;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-banner {
        padding: 2.5rem 1.5rem;
    }
    
    .hero-banner h1 {
        font-size: 2rem;
    }
    
    h1 { font-size: 1.85rem; }
    h2 { font-size: 1.6rem; }
    
    .section-heading h2 {
        font-size: 1.75rem;
    }
    
    .cookie-bar-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .ebook-promo {
        padding: 2rem 1.5rem;
        margin: 2rem 1rem;
    }
}
