/* Continental Coffee — Canadian Coffee & Travel Guide */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Nunito+Sans:wght@400;500;600;700&display=swap');

:root {
    --espresso: #3c2415;
    --espresso-mid: #5a3a28;
    --roast: #8b5e3c;
    --roast-light: #a8795a;
    --sage: #7a8f7a;
    --sage-light: #9aab9a;
    --cream: #faf7f2;
    --linen: #f0ebe3;
    --text: #2c2520;
    --text-mid: #6b5e54;
    --text-light: #9a8e82;
    --white: #fff;
}

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

body {
    font-family: 'Nunito Sans', 'Helvetica Neue', sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.75;
    font-size: 1rem;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--espresso);
    line-height: 1.25;
    font-weight: 700;
}

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

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 740px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Header ── */
.site-header {
    background: var(--espresso);
    position: sticky;
    top: 0;
    z-index: 100;
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand {
    color: var(--cream);
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    font-style: italic;
    padding: 0.9rem 0;
    text-decoration: none;
}
.brand:hover { color: #fff; }
.nav { display: flex; }
.nav a {
    color: rgba(250,247,242,0.65);
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 0.9rem 0.75rem;
    text-decoration: none;
    transition: color 0.2s;
}
.nav a:hover, .nav a.active { color: var(--cream); }
.nav-toggle { display: none; background: none; border: none; color: var(--cream); font-size: 1.3rem; cursor: pointer; padding: 0.9rem; }

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav { display: none; flex-direction: column; width: 100%; position: absolute; top: 100%; left: 0; background: var(--espresso); z-index: 99; }
    .nav.open { display: flex; }
    .site-header .container { flex-wrap: wrap; position: relative; }
}

/* ── Hero ── */
.hero {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 8rem 1.5rem;
    text-align: center;
    color: var(--cream);
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(60,36,21,0.6) 0%, rgba(60,36,21,0.75) 100%);
}
.hero-content { position: relative; max-width: 680px; margin: 0 auto; }
.hero h1 { color: var(--cream); font-size: 3rem; margin-bottom: 0.6rem; font-style: italic; }
.hero p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 1.5rem; font-weight: 300; }
.hero .btn { margin: 0 0.3rem; }

@media (min-width: 768px) {
    .hero { padding: 10rem 2rem; }
    .hero h1 { font-size: 3.6rem; }
}

/* ── Buttons ── */
.btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border-radius: 2px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-warm { background: var(--roast); color: var(--cream); }
.btn-warm:hover { background: var(--espresso); color: var(--cream); }
.btn-outline { border: 1.5px solid rgba(250,247,242,0.5); color: var(--cream); }
.btn-outline:hover { background: rgba(250,247,242,0.1); border-color: var(--cream); color: var(--cream); }

/* ── Sections ── */
.section { padding: 4.5rem 0; }
.section-alt { padding: 4.5rem 0; background: var(--white); }
.section-linen { padding: 4.5rem 0; background: var(--linen); }
.section-label {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--roast);
    text-align: center;
    margin-bottom: 0.4rem;
}
.section-title { font-size: 2rem; text-align: center; margin-bottom: 0.4rem; font-style: italic; }
.section-sub { text-align: center; color: var(--text-mid); margin-bottom: 2.5rem; font-size: 0.95rem; }

/* ── Card grid ── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.75rem;
}
.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(60,36,21,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: var(--text);
    display: block;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(60,36,21,0.1); }
.card img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 1.25rem 1.5rem; }
.card-tag {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--roast);
    margin-bottom: 0.3rem;
    display: block;
}
.card-body h3 { font-size: 1.15rem; margin-bottom: 0.35rem; font-style: italic; }
.card-body p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.65; }

/* ── Article ── */
.article-hero { height: 400px; background-size: cover; background-position: center; position: relative; }
.article-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(60,36,21,0.5) 100%); }
.article-header { padding: 2.5rem 0 0.5rem; }
.article-tag {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--roast);
}
.article-header h1 { font-size: 2.2rem; margin: 0.4rem 0; font-style: italic; }
.article-meta { font-size: 0.82rem; color: var(--text-light); margin-bottom: 1.5rem; }

.article-body { padding-bottom: 4rem; }
.article-body p { margin-bottom: 1.3rem; font-size: 1.02rem; line-height: 1.8; }
.article-body h2 {
    font-size: 1.5rem;
    margin: 2.5rem 0 0.7rem;
    font-style: italic;
}
.article-body h3 { font-size: 1.15rem; margin: 1.75rem 0 0.5rem; }
.article-body ul, .article-body ol { margin: 0 0 1.3rem 1.5rem; }
.article-body li { margin-bottom: 0.3rem; }
.article-body img { width: 100%; border-radius: 3px; margin: 1.5rem 0; }
.article-body .caption {
    font-size: 0.8rem; color: var(--text-light); font-style: italic;
    text-align: center; margin-top: -1rem; margin-bottom: 1.5rem;
}
.article-body blockquote {
    border-left: 3px solid var(--roast);
    padding: 0.75rem 1.25rem;
    margin: 1.5rem 0;
    background: var(--linen);
    color: var(--text-mid);
    font-style: italic;
}

/* Tip box */
.tip {
    background: var(--linen);
    border-left: 3px solid var(--sage);
    padding: 1rem 1.25rem;
    border-radius: 2px;
    margin: 1.5rem 0;
    font-size: 0.92rem;
}

/* Related */
.related {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--linen);
}
.related h3 { font-size: 1rem; margin-bottom: 0.6rem; font-style: italic; }
.related ul { list-style: none; padding: 0; }
.related li { padding: 0.25rem 0; }

/* ── Footer ── */
.site-footer {
    background: var(--espresso);
    color: rgba(250,247,242,0.45);
    padding: 3rem 0 1.5rem;
    font-size: 0.88rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand {
    color: var(--cream);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-style: italic;
    font-size: 1.05rem;
    display: block;
    margin-bottom: 0.5rem;
    text-decoration: none;
}
.site-footer h4 {
    color: rgba(250,247,242,0.7);
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}
.site-footer a { color: rgba(250,247,242,0.4); display: block; padding: 0.15rem 0; text-decoration: none; font-size: 0.82rem; }
.site-footer a:hover { color: var(--cream); }
.footer-bottom {
    border-top: 1px solid rgba(250,247,242,0.06);
    padding-top: 1.25rem;
    text-align: center;
    font-size: 0.75rem;
    color: rgba(250,247,242,0.2);
}
