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

:root {
    --bg-primary: #FDFBF7;
    --accent-coral: #E67357;
    --accent-mint: #B4D4C6;
    --text-dark: #2A2624;
    --text-light: #FFFFFF;
    --surface-card: #F4EFE8;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --transition-smooth: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

/* ---- Navbar ---- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: var(--bg-primary);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(230, 115, 87, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.nav-logo-img {
    height: 60px;
    width: auto;
    filter: brightness(0);
}

.nav-links { display: flex; gap: 2.5rem; }

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: var(--transition-fast);
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0; height: 1px;
    bottom: 0; left: 50%;
    background-color: var(--accent-coral);
    transition: var(--transition-fast);
    transform: translateX(-50%);
}

.nav-links a:hover { color: var(--accent-coral); }
.nav-links a:hover::after { width: 100%; }

/* ---- Blog Hero ---- */
.blog-hero {
    margin-top: 80px;
    width: 100%;
    height: 75vh;
    position: relative;
    overflow: hidden;
}

.blog-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.blog-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(253,251,247,0) 30%, rgba(253,251,247,0.95) 100%);
    display: flex;
    align-items: flex-end;
    padding: 0 10% 5%;
}

.blog-hero-text {
    max-width: 800px;
}

.blog-tag {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: #fff;
    border-radius: 50px;
    padding: 6px 16px;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.blog-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.15;
    margin-bottom: 1.2rem;
}

.blog-hero-meta {
    font-size: 0.9rem;
    color: rgba(42,38,36,0.55);
    letter-spacing: 0.05em;
}

/* ---- Article Body ---- */
.article-wrap {
    max-width: 780px;
    margin: 0 auto;
    padding: 80px 5%;
}

.article-lead {
    font-size: 1.3rem;
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--text-dark);
    opacity: 0.8;
    margin-bottom: 3rem;
    line-height: 1.8;
    border-left: 3px solid var(--accent-coral);
    padding-left: 2rem;
}

.article-body h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 500;
    margin: 3rem 0 1.2rem;
    color: var(--text-dark);
}

.article-body p {
    font-size: 1.05rem;
    color: rgba(42,38,36,0.75);
    line-height: 2;
    margin-bottom: 1.8rem;
    font-weight: 300;
}

.article-body .pull-quote {
    margin: 3rem 0;
    padding: 2.5rem 3rem;
    background-color: var(--surface-card);
    border-radius: 30px;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--text-dark);
    line-height: 1.6;
    position: relative;
}

.article-body .pull-quote::before {
    content: '\201C';
    font-size: 5rem;
    color: var(--accent-coral);
    opacity: 0.3;
    position: absolute;
    top: -10px; left: 20px;
    font-family: var(--font-heading);
    line-height: 1;
}

.article-inline-img {
    width: 100%;
    border-radius: 30px;
    margin: 3rem 0;
    object-fit: cover;
    max-height: 500px;
}

/* ---- Back button ---- */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dark);
    text-decoration: none;
    border-bottom: 1px solid rgba(42,38,36,0.2);
    padding-bottom: 3px;
    transition: var(--transition-fast);
    margin-bottom: 3rem;
}

.back-btn:hover { color: var(--accent-coral); border-color: var(--accent-coral); }

/* ---- Related Articles ---- */
.related-section {
    background-color: var(--surface-card);
    padding: 80px 5%;
}

.related-section h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.related-card {
    background-color: var(--bg-primary);
    border-radius: 30px;
    overflow: hidden;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 30px rgba(42,38,36,0.06);
    display: flex;
    flex-direction: column;
}

.related-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(42,38,36,0.1); }

.related-card img {
    width: 100%; aspect-ratio: 16/9;
    object-fit: cover;
}

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

.related-card-body span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-coral);
}

.related-card-body h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-top: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* ---- Footer ---- */
.blog-footer {
    background-color: var(--surface-card);
    text-align: center;
    padding: 3rem 5%;
    font-size: 0.85rem;
    color: rgba(42,38,36,0.45);
    border-top: 1px solid rgba(42,38,36,0.08);
}

.blog-footer a {
    color: var(--accent-coral);
    text-decoration: none;
    font-weight: 500;
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .blog-hero { height: 55vh; }
    .related-grid { grid-template-columns: 1fr; }
    .article-lead { font-size: 1.1rem; padding-left: 1.2rem; }
    .article-body .pull-quote { font-size: 1.2rem; padding: 2rem; }
}
