
:root {
    --soft-sage: #C8D3C0;
    --warm-blush: #e3b0b3;
    --calm-cream: #F9F8F4;
    --dusty-cocoa: #5A4E4D;
    --muted-sky-blue: #AFC9D9;
    --font-body: 'Source Sans Pro', sans-serif;
    --font-heading: 'PT Serif', serif;
    --font-logo: 'Handlee', cursive;
    --font-affirm: 'Playfair Display', serif;
    --font-hand: 'Caveat', cursive;
}

/* Navbar styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    margin: .2rem;
    background: var(--soft-sage);
    position: relative;
    border-radius: 10px;
}

.navbar .logo a {
    font-family: var(--font-heading);
    font-weight: bold;
    font-size: 1.3rem;
    color: var(--dusty-cocoa);
    text-decoration: none;
}

.calmful {
    font-family: 'Handlee', cursive;
    font-weight: normal;
    color: var(--dusty-cocoa);
}

.roots {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--dusty-cocoa);
}

.menu-toggle {
    font-size: 1.8rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--dusty-cocoa);
}

.nav-links {
    list-style: none;
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    width: 180px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    z-index: 999;
    text-align: left;
}

.nav-links.show {
    display: flex;
}

.nav-links li {
    margin: 0.5rem 0;
}

.nav-links li a {
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: bold;
    font-size: 0.95rem;
    color: var(--dusty-cocoa);
}

.nav-links li a:hover {
    color: var(--muted-sky-blue);
}

* {
    box-sizing: border-box;
}

.header-logo {
    display: block;
    margin: 0 auto 1rem;
}

.divider {
    height: 2px;
    background-color: #D8C9C4;
    margin: 0 auto 2rem auto;
    width: 50%;
}

body {
    background-color: var(--calm-cream);
    color: var(--dusty-cocoa);
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.site-header {
    margin-bottom: 30px;
    padding: 0 .2rem;
}

.content {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
    background-color: var(--calm-cream);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgb(0, 0, 50, .1);
    line-height: 1.7;
}

.blog-hero {
    text-align: center;
}

.blog-hero h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dusty-cocoa);
    margin: 0.5rem;
}

.blog-hero .tagline {
    font-family: var(--font-affirm);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--warm-blush);
    margin-bottom: 1.5rem;
}

.blog-hero p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--dusty-cocoa);
}

.featured-post {
    background-color: var(--muted-sky-blue)  /*linear-gradient(135deg, var(--soft-sage) 0%, rgba(200, 211, 192, 0.7) 100%)*/;
    border-radius: 12px;
    padding: 2rem;
    margin: 4.5rem 0;
    text-align: center;
}

.featured-post h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--dusty-cocoa);
    margin-bottom: 1rem;
    margin-top: 0rem;
}

.featured-post .post-preview {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    margin: 1.5rem 0;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.featured-post .post-preview h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--dusty-cocoa);
    margin-bottom: 0.5rem;
}

.featured-post .post-preview .post-meta {
    font-size: 0.9rem;
    color: var(--warm-blush);
    margin-bottom: 1rem;
}

.featured-post .post-preview p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--dusty-cocoa);
}

.read-more {
    background-color: var(--dusty-cocoa);
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.read-more:hover {
    background-color: var(--muted-sky-blue);
}


.blog-topics h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--dusty-cocoa);
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.topic-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--muted-sky-blue);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.topic-card:hover {
    transform: translateY(-2px);
}

.topic-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--dusty-cocoa);
    margin-bottom: 0.2rem;
    margin-top: -.2rem;
}

.topic-card p {
    font-size: 1rem;
    margin: 0;
}

.newsletter-signup {
    background: var(--warm-blush);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 4.5rem 0;
}

.newsletter-signup h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1rem;
}

.newsletter-signup h2 .handlee {
    font-family: var(--font-logo);
}

.newsletter-signup p {
    color: white;
    font-size: 1.1rem;
            margin-bottom: -.3rem;
        }

.note {
    font-size: 0.95rem !important;
    color: white;
    font-style: italic;
    margin-top: 1rem;
}

.social-links {
    text-align: center;
    margin: 3rem 0;
}

.social-links h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--dusty-cocoa);
}

.social-links .icons a {
    margin: 0 1rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--dusty-cocoa);
    transition: color 0.3s ease;
}

.social-links .icons a:hover {
    color: var(--muted-sky-blue);
}

.site-footer {
    text-align: center;
    padding: 1rem;
    background-color: var(--calm-cream);
    font-size: 0.9rem;
    color: var(--dusty-cocoa);
    border-top: 1px solid var(--soft-sage);
    width: auto;
    margin-top: 4rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
}

.site-footer p {
    text-align: center;
    margin: 0 auto;
}

footer a {
    text-decoration: none;
    color: var(--dusty-cocoa);
    font-weight: 600;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--muted-sky-blue);
}

/* Scroll to Top button */
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--muted-sky-blue);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

#scrollTopBtn:hover {
    background-color: var(--dusty-cocoa);
}

/* Show button when scrolled */
#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
}

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


@media (max-width: 768px) {
    .content {
        padding: 1.5rem 1rem;
    }

    .blog-hero h1 {
        font-size: 2rem;
    }

    .featured-post .post-preview {
        padding: 1.5rem;
    }

    .topics-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-signup {
        padding: 1.5rem;
    }
}