/* Base styles */
:root {
    --primary-color: #333;
    --secondary-color: #666;
    --accent-color: #8B4513;
    --background-color: #f1efe7;
    --spacing-unit: 1rem;
}

body {
    font-family: "Times New Roman MT Condensed", "Times New Roman", serif;
    background: #f1efe7;
    color: #222;
    margin: 0;
    padding: 0;
}

/* Header styles */
header {
    background: #f1efe7;
    border-bottom: 1px solid #eee;
    padding: 0 0 1.5rem 0;
    position: relative;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 2rem 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.site-title {
    font-family: "Times New Roman MT Condensed", "Times New Roman", serif;
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    margin-bottom: 0.5rem;
    text-align: center;
    width: 100%;
}

.main-nav {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 0.5rem;
    justify-content: center;
    width: 100%;
}

.main-nav a {
    color: #222;
    text-decoration: none;
    font-size: 1.1rem;
    font-family: "Times New Roman MT Condensed", "Times New Roman", serif;
    position: relative;
    padding-bottom: 0.2rem;
    transition: color 0.2s;
}

.main-nav a:hover, .main-nav a:focus {
    color: #1612d3;
}

.main-nav a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #1612d3;
    transition: width 0.3s;
    margin: 0 auto;
}

.main-nav a:hover::after, .main-nav a:focus::after {
    width: 100%;
}

.social-icons {
    position: absolute;
    right: 2rem;
    top: 2.5rem;
    display: flex;
    gap: 1.2rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    color: #222;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.social-icons a:hover, .social-icons a:focus {
    opacity: 1;
}

/* Hero section */
.hero {
    text-align: center;
    padding: calc(var(--spacing-unit) * 4);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-unit);
}

.intro {
    font-size: 1.2rem;
    color: var(--secondary-color);
    max-width: 600px;
    margin: 0 auto;
}

.cta-buttons {
    margin-top: calc(var(--spacing-unit) * 2);
}

.button {
    display: inline-block;
    padding: calc(var(--spacing-unit) * 0.75) calc(var(--spacing-unit) * 1.5);
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin: 0 var(--spacing-unit);
}

/* Footer styles */
footer {
    text-align: center;
    padding: var(--spacing-unit);
    background-color: var(--background-color);
    margin-top: calc(var(--spacing-unit) * 4);
}

.social-links {
    margin-bottom: var(--spacing-unit);
}

.social-links a {
    color: var(--primary-color);
    text-decoration: none;
    margin: 0 var(--spacing-unit);
}

/* Recipe Grid */
.recipes-section {
    padding: calc(var(--spacing-unit) * 4) var(--spacing-unit);
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: calc(var(--spacing-unit) * 2);
    padding: 0 var(--spacing-unit);
}

.recipe-card {
    background: var(--background-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recipe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.recipe-image {
    position: relative;
    padding-top: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
}

.recipe-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.recipe-content {
    padding: var(--spacing-unit);
}

.recipe-content h2 {
    font-size: 1.5rem;
    margin-bottom: calc(var(--spacing-unit) * 0.5);
}

.recipe-description {
    color: var(--secondary-color);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Contact Form */
.contact-section {
    max-width: 600px;
    margin: 0 auto;
    padding: calc(var(--spacing-unit) * 4) var(--spacing-unit);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 1.5);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 0.5);
}

.form-group label {
    font-weight: 500;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    padding: calc(var(--spacing-unit) * 0.75);
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(22, 18, 211, 0.1);
}

.feedback-message {
    padding: var(--spacing-unit);
    border-radius: 4px;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.feedback-message.success {
    background-color: rgba(0, 128, 0, 0.1);
    color: #006400;
    border: 1px solid #006400;
}

.feedback-message.error {
    background-color: rgba(22, 18, 211, 0.1);
    color: #0d0d8b;
    border: 1px solid #0d0d8b;
}

/* Responsive design */
@media (max-width: 900px) {
    .header-inner {
        padding: 2rem 1rem 0 1rem;
    }
    .social-icons {
        right: 1rem;
        top: 2rem;
    }
    .main-nav {
        gap: 1.2rem;
    }
    .site-title {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .header-inner {
        padding: 1.2rem 0.5rem 0 0.5rem;
    }
    .site-title {
        font-size: 1.3rem;
    }
    .main-nav {
        gap: 0.7rem;
        font-size: 1rem;
    }
    .social-icons {
        right: 0.5rem;
        top: 1.2rem;
    }
}

/***** Editorial Recipes Page *****/
.recipes-page-title {
    font-family: "Times New Roman MT Condensed", "Times New Roman", serif;
    font-size: 2.7rem;
    font-weight: 400;
    text-align: center;
    margin: 2.5rem 0 2.5rem 0;
    letter-spacing: 0.01em;
}

.recipe-grid.editorial {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem 2.5rem;
    max-width: 1200px;
    margin: 0 auto 4rem auto;
    padding: 0 2rem;
}

.recipe-card.editorial {
    background: #f1efe7;
    border-radius: 18px;
    box-shadow: 0 2px 16px 0 rgba(0,0,0,0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.3s, transform 0.3s;
}

.recipe-card.editorial:hover .recipe-image.editorial img {
    transform: scale(1.045);
    box-shadow: 0 6px 32px 0 rgba(0,0,0,0.10);
}

.recipe-image.editorial {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recipe-image.editorial img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(.4,0,.2,1), box-shadow 0.3s;
    border-radius: 0;
    display: block;
}

.recipe-content.editorial {
    padding: 2.2rem 1.5rem 2.5rem 1.5rem;
    text-align: center;
    width: 100%;
}

.recipe-title {
    font-family: "Times New Roman MT Condensed", "Times New Roman", serif;
    font-size: 2rem;
    font-weight: 400;
    margin: 1.2rem 0 0.7rem 0;
    color: #222;
    letter-spacing: 0.01em;
}

.recipe-date {
    font-size: 1.05rem;
    color: #888;
    margin-bottom: 0.2rem;
    font-family: "Times New Roman MT Condensed", "Times New Roman", serif;
}

.recipe-description {
    font-size: 1.1rem;
    color: #444;
    margin-top: 0.5rem;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .recipe-grid.editorial {
        grid-template-columns: 1fr;
        gap: 2.2rem 0;
        padding: 0 1rem;
    }
    .recipes-page-title {
        font-size: 2rem;
        margin: 2rem 0 1.5rem 0;
    }
    .recipe-title {
        font-size: 1.3rem;
    }
    .recipe-content.editorial {
        padding: 1.2rem 0.7rem 1.5rem 0.7rem;
    }
}

/* --- Gallery Page Styles --- */
.gallery-page-title {
    font-family: "Times New Roman MT Condensed", "Times New Roman", serif;
    font-size: 2.7rem;
    font-weight: 400;
    text-align: center;
    margin: 2.5rem 0 2.5rem 0;
    letter-spacing: 0.01em;
}

.gallery-grid {
    column-count: 3;
    column-gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto 4rem auto;
    padding: 0 2rem;
}

.gallery-card {
    background: #f1efe7;
    border-radius: 16px;
    box-shadow: 0 2px 16px 0 rgba(0,0,0,0.04);
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
    display: block;
    break-inside: avoid;
    margin-bottom: 1.5rem;
}

.gallery-image-wrapper {
    width: 100%;
    overflow: hidden;
    background: #f7f7f7;
    position: relative;
}

.gallery-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(.4,0,.2,1), box-shadow 0.3s;
    border-radius: 0;
    display: block;
}

.gallery-card:hover img {
    transform: scale(1.045);
    box-shadow: 0 6px 32px 0 rgba(0,0,0,0.10);
}

.gallery-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: rgba(241,239,231,0.85);
    color: #222;
    font-family: "Times New Roman MT Condensed", "Times New Roman", serif;
    font-size: 1.1rem;
    padding: 0.7rem 1rem;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.gallery-card:hover .gallery-caption {
    opacity: 1;
}

@media (max-width: 900px) {
    .gallery-grid {
        column-count: 2;
        column-gap: 1.2rem;
        padding: 0 1rem;
    }
    .gallery-card {
        margin-bottom: 1.2rem;
    }
    .gallery-page-title {
        font-size: 2rem;
        margin: 2rem 0 1.5rem 0;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        column-count: 1;
        column-gap: 0;
        padding: 0 0.5rem;
    }
    .gallery-card {
        margin-bottom: 1rem;
    }
    .gallery-page-title {
        font-size: 1.5rem;
        margin: 1.5rem 0 1rem 0;
    }
}

/* --- Home Hero Section (abbykirn.com inspired) --- */
.hero-section {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    max-width: 1400px;
    margin: 0 auto 0 auto;
    padding: 4.5rem 2rem 3rem 2rem;
    min-height: 80vh;
    gap: 2.5rem;
}

.hero-text {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 700px;
    min-width: 320px;
}

.hero-title {
    font-family: "Times New Roman MT Condensed", "Times New Roman", serif;
    font-size: 6vw;
    font-weight: 700;
    color: #1612d3;
    line-height: 0.95;
    letter-spacing: -0.01em;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
}

.hero-subtitle {
    font-family: "Times New Roman MT Condensed", "Times New Roman", serif;
    font-size: 1.3rem;
    font-style: italic;
    color: #1612d3;
    margin-bottom: 2.2rem;
    letter-spacing: 0.04em;
}

.hero-bio {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 1.18rem;
    color: #222;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.bio-highlight {
    color: #1612d3;
    font-weight: 700;
}

.bio-mission {
    margin-top: 1.5rem;
    font-size: 1.15rem;
}

.hero-cta {
    display: inline-block;
    margin-top: 2.5rem;
    padding: 0.9rem 2.5rem;
    background: #1612d3;
    color: #fff;
    font-family: "Times New Roman MT Condensed", "Times New Roman", serif;
    font-size: 1.2rem;
    letter-spacing: 0.12em;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 12px 0 rgba(22,18,211,0.08);
}
.hero-cta:hover, .hero-cta:focus {
    background: #1612d3;
    color: #fff;
    box-shadow: 0 4px 24px 0 rgba(22,18,211,0.13);
}

.hero-image {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 320px;
    max-width: 600px;
}
.hero-image img {
    width: 100%;
    max-width: 520px;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 2px 24px 0 rgba(0,0,0,0.10);
}

@media (max-width: 1100px) {
    .hero-section {
        flex-direction: column;
        align-items: center;
        padding: 2.5rem 1rem 2rem 1rem;
        gap: 2rem;
    }
    .hero-title {
        font-size: 3.2rem;
    }
    .hero-image {
        max-width: 100%;
    }
}

@media (max-width: 700px) {
    .hero-section {
        padding: 1.2rem 0.2rem 1.2rem 0.2rem;
        gap: 1.2rem;
    }
    .hero-title {
        font-size: 2.1rem;
    }
    .hero-bio {
        font-size: 1rem;
    }
    .hero-image img {
        max-width: 100vw;
        border-radius: 10px;
    }
    .hero-cta {
        font-size: 1rem;
        padding: 0.7rem 1.5rem;
    }
}

/* --- Simple Contact Page Styles --- */
.contact-simple-section {
    max-width: 600px;
    margin: 0 auto;
    padding: 5rem 1.5rem 6rem 1.5rem;
    text-align: center;
}

.contact-title {
    font-family: "Times New Roman MT Condensed", "Times New Roman", serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1612d3;
    margin-bottom: 2.2rem;
    letter-spacing: 0.01em;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 2.5rem;
}

.contact-link {
    font-family: "Times New Roman MT Condensed", "Times New Roman", serif;
    font-size: 1.3rem;
    color: #1612d3;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: color 0.2s;
    border-bottom: 2px solid transparent;
    padding-bottom: 0.1em;
}
.contact-link:hover, .contact-link:focus {
    color: #1612d3;
    border-bottom: 2px solid #1612d3;
}

.contact-note {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 1.1rem;
    color: #444;
    margin-top: 1.5rem;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .contact-simple-section {
        padding: 2.5rem 0.5rem 3rem 0.5rem;
    }
    .contact-title {
        font-size: 1.5rem;
    }
    .contact-link {
        font-size: 1rem;
    }
} 