/* ═══════════════════════════════════════
   Aegean Breeze — Coastal Greek Theme
   ═══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600&display=swap');

/* ── Variables ────────────────────────── */
:root {
    --aegean-deep:   #1a4d6e;
    --aegean:        #2471a3;
    --aegean-light:  #7fb5d4;
    --aegean-pale:   #d4e6f1;
    --whitewash:     #faf8f4;
    --cream:         #f5f0e8;
    --terracotta:    #c47a52;
    --terracotta-dark: #a05a38;
    --sand:          #e8dcc8;
    --charcoal:      #2c2416;
    --text:          #3d3527;
    --text-light:    #7a6e5e;

    --serif:  'Playfair Display', Georgia, serif;
    --sans:   'DM Sans', -apple-system, sans-serif;

    --max-width: 1100px;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(26, 77, 110, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text);
    background: var(--whitewash);
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { font-family: var(--serif); color: var(--charcoal); line-height: 1.25; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
h3 { font-size: 1.3rem; }

a { color: var(--aegean); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--aegean-deep); }

/* ── Header ───────────────────────────── */
.site-header {
    background: var(--whitewash);
    border-bottom: 1px solid var(--aegean-pale);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.logo-icon { width: 40px; height: 40px; }

.logo-text {
    font-family: 'DM Sans', var(--sans);
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--aegean-deep);
    letter-spacing: 0.02em;
}

.main-nav { display: flex; gap: 1.8rem; }
.main-nav a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.3rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s, color 0.2s;
}
.main-nav a:hover { color: var(--aegean); border-color: var(--aegean); }
.main-nav a.active { color: var(--aegean); border-color: var(--aegean); }

/* ── Page Hero (subpages) ──────────────── */
.page-hero {
    background: linear-gradient(170deg, var(--aegean-deep) 0%, var(--aegean) 100%);
    color: #fff;
    text-align: center;
    padding: 3rem 1.5rem;
}
.page-hero h1 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 0.5rem;
}
.page-hero p { opacity: 0.85; font-size: 1.1rem; }

/* ── Recipe Page ───────────────────────── */
.recipe-page { background: var(--whitewash); }

.recipe-hero {
    position: relative;
    max-height: 400px;
    overflow: hidden;
}
.recipe-hero-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}
.recipe-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(26,77,110,0.85));
    padding: 3rem 2rem 2rem;
    color: #fff;
}
.recipe-hero-overlay h1 {
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin: 0.5rem 0;
}
.recipe-meta { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 0.5rem; }
.recipe-time {
    background: rgba(255,255,255,0.2);
    color: #fff;
    padding: 0.2rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.back-link {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    text-decoration: none;
}
.back-link:hover { color: #fff; }

.recipe-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
}

.recipe-intro { margin-bottom: 2.5rem; }
.recipe-intro p { margin-bottom: 1rem; color: var(--text-light); font-size: 1.05rem; }

.recipe-ingredients { margin-bottom: 2.5rem; }
.recipe-ingredients h2 { margin-bottom: 1.2rem; }

.ingredients-table {
    width: 100%;
    border-collapse: collapse;
}
.ingredients-table td {
    padding: 0.6rem 0.8rem;
    border-bottom: 1px solid var(--sand);
    font-size: 0.95rem;
}
.ingredients-table td:first-child { font-weight: 600; color: var(--charcoal); }
.ingredients-table td:last-child { color: var(--text-light); text-align: right; }

.recipe-method { margin-bottom: 2rem; }
.recipe-method h2 { margin-bottom: 1.5rem; }
.recipe-method h3 {
    font-family: var(--sans);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--aegean-deep);
    margin: 1.8rem 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.recipe-method p { margin-bottom: 0.8rem; line-height: 1.8; }
.recipe-method ol { margin: 0.5rem 0 1rem 1.5rem; }
.recipe-method li { margin-bottom: 0.5rem; line-height: 1.7; }

.non-negotiable {
    font-size: 0.7rem;
    color: var(--terracotta);
    font-weight: 400;
    font-style: italic;
    text-transform: none;
    letter-spacing: 0;
}

.recipe-footer {
    border-top: 1px solid var(--sand);
    padding-top: 1.5rem;
    text-align: center;
    color: var(--text-light);
}

/* ── About Page ────────────────────────── */
.about-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem 1.5rem;
}
.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.about-text p { margin-bottom: 1.2rem; color: var(--text-light); line-height: 1.8; }
.about-text h2 { margin: 2rem 0 1rem; }
.about-list {
    list-style: none;
    margin: 1rem 0 1.5rem;
}
.about-list li {
    padding: 0.3rem 0;
    color: var(--text-light);
}
.about-list li::before {
    content: '\2014';
    color: var(--terracotta);
    margin-right: 0.5rem;
}
.about-signoff {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--charcoal) !important;
    margin-top: 2rem !important;
}
.greek-ornament.large { width: 250px; height: 250px; }

/* ── Hero ─────────────────────────────── */
.hero {
    background: linear-gradient(170deg, var(--aegean-deep) 0%, var(--aegean) 60%, var(--aegean-light) 100%);
    color: #fff;
    text-align: center;
    padding: 5rem 1.5rem 3rem;
    position: relative;
    overflow: hidden;
}

.hero-content { max-width: 700px; margin: 0 auto; position: relative; z-index: 2; }

.hero-logo { width: 120px; height: 120px; margin: 0 auto 2rem; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2)); }

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hero-tagline {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-links { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-primary {
    background: #fff;
    color: var(--aegean-deep);
}
.btn-primary:hover { background: var(--cream); color: var(--aegean-deep); }

.btn-outline {
    border: 2px solid #fff;
    color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }

/* Wave divider at bottom of hero */
.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%23faf8f4' d='M0,40 C240,80 480,0 720,40 C960,80 1200,0 1440,40 L1440,80 L0,80 Z'/%3E%3C/svg%3E") bottom/cover no-repeat;
}

/* ── Section Headers ──────────────────── */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* ── Featured Recipes ─────────────────── */
.featured-recipes {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 5rem 1.5rem;
}

.recipe-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.recipe-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.25s, box-shadow 0.25s;
}
.recipe-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(26, 77, 110, 0.12);
}

.recipe-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

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

.recipe-tag {
    display: inline-block;
    background: var(--aegean-pale);
    color: var(--aegean-deep);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.7rem;
    border-radius: 4px;
    margin-bottom: 0.7rem;
}

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

.recipe-card-body p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.recipe-link {
    font-weight: 600;
    font-size: 0.9rem;
}

/* ── About Preview ────────────────────── */
.about-preview {
    background: linear-gradient(135deg, var(--cream) 0%, var(--sand) 100%);
    padding: 5rem 1.5rem;
}

.about-preview-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-preview-text h2 { margin-bottom: 1rem; }
.about-preview-text p { margin-bottom: 1rem; color: var(--text-light); }
.about-preview-text .btn-outline { border-color: var(--terracotta); color: var(--terracotta); }
.about-preview-text .btn-outline:hover { background: var(--terracotta); color: #fff; }

.about-preview-accent {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Greek key ornament — pure CSS */
.greek-ornament {
    width: 200px;
    height: 200px;
    border: 3px solid var(--terracotta);
    border-radius: 50%;
    position: relative;
    opacity: 0.3;
}
.greek-ornament::before {
    content: '';
    position: absolute;
    inset: 12px;
    border: 2px solid var(--terracotta);
    border-radius: 50%;
}
.greek-ornament::after {
    content: '';
    position: absolute;
    inset: 28px;
    border: 1px solid var(--terracotta);
    border-radius: 50%;
}

/* ── Latest Stories ───────────────────── */
.latest-stories {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 5rem 1.5rem;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.story-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}
.story-card:hover { transform: translateY(-3px); }

.story-icon { font-size: 2.5rem; margin-bottom: 1rem; }

.story-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.story-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ── Footer ───────────────────────────── */
.site-footer {
    position: relative;
    background: var(--aegean-deep);
    color: rgba(255,255,255,0.85);
    padding: 5rem 1.5rem 2rem;
}

.footer-wave {
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%23faf8f4' d='M0,30 C360,60 720,0 1080,30 C1260,45 1380,30 1440,20 L1440,0 L0,0 Z'/%3E%3C/svg%3E") top/cover no-repeat;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    font-family: var(--serif);
    font-size: 1.5rem;
    color: #fff;
}

.footer-logo { width: 36px; height: 36px; opacity: 0.9; }

.footer-tagline {
    margin-bottom: 1.5rem;
    font-style: italic;
}

.footer-nav {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.footer-nav a { color: rgba(255,255,255,0.7); }
.footer-nav a:hover { color: #fff; }

.footer-copy {
    font-size: 0.85rem;
    opacity: 0.6;
}

/* ── Travel Pages ──────────────────────── */
.travel-post { background: var(--whitewash); }

.travel-hero {
    position: relative;
    max-height: 420px;
    overflow: hidden;
}
.travel-hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}
.travel-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(26,77,110,0.88));
    padding: 3rem 2rem 2rem;
    color: #fff;
}
.travel-hero-overlay h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3rem);
    margin: 0.3rem 0;
}
.travel-dates {
    opacity: 0.8;
    font-size: 1rem;
    font-style: italic;
}

.travel-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
}

.travel-intro p {
    font-size: 1.15rem;
    color: var(--text);
    line-height: 1.9;
    margin-bottom: 2.5rem;
    font-style: italic;
}

.travel-stop {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--sand);
}
.travel-stop:last-of-type { border-bottom: none; }

.travel-stop h2 {
    margin-bottom: 1rem;
    color: var(--aegean-deep);
}

.travel-stop p {
    margin-bottom: 1rem;
    line-height: 1.85;
}

.travel-img {
    width: 100%;
    border-radius: var(--radius);
    margin: 1rem 0 1.5rem;
    box-shadow: var(--shadow);
}

.travel-footer {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--sand);
}
.travel-footer p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-style: italic;
}

.btn-outline-dark {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border: 2px solid var(--aegean);
    color: var(--aegean);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
}
.btn-outline-dark:hover {
    background: var(--aegean);
    color: #fff;
}

.story-card-placeholder {
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}
.placeholder-body {
    text-align: center;
    padding: 2rem;
}
.placeholder-body .story-icon { font-size: 3rem; margin-bottom: 1rem; }
.placeholder-body h3 { margin-bottom: 0.5rem; }
.placeholder-body p { color: var(--text-light); font-size: 0.95rem; }

/* ── Responsive ───────────────────────── */
@media (max-width: 700px) {
    .header-inner { flex-direction: column; gap: 0.5rem; }
    .main-nav { gap: 1rem; }
    .about-preview-inner { grid-template-columns: 1fr; }
    .about-preview-accent { display: none; }
    .recipe-cards { grid-template-columns: 1fr; }
    .hero { padding: 3rem 1rem 2rem; }
    .hero-logo { width: 80px; height: 80px; }
}