/* Root brand styles */
: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 container */
.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;
}

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

/* Calmful in Handlee */
.navbar .logo .calmful {
    font-family: 'Handlee', cursive;
    font-weight: normal;
    color: var(--dusty-cocoa);
}

/* Roots in Playfair Display Bold */
.navbar .logo .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;
}

.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);
}

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


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




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

.content h1 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    text-align: center;
    font-weight: 700;
    color: var(--dusty-cocoa);
    margin-bottom: 1.5rem;
}

.content h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-top: 2rem;
    color: var(--warm-blush);
    border-bottom: 2px solid var(--muted-sky-blue);
    padding-bottom: 0.3rem;
}

.content p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--dusty-cocoa);
    margin: 1rem 0;
}

.policies {
    text-align: center;
    margin-bottom: 1rem;
}

.policies p {
    font-style: italic;
}

.social-links {
    text-align: center;
    margin: 3rem 0;
}
        
.social-links h3 {
    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);
}

/* One-line highlights */
.policy-meta {
    font-weight: bold;
    color: var(--dusty-cocoa);
    background: var(--soft-sage);
    padding: 0.4rem 0.7rem;
    border-radius: 6px;
    margin: 0.6rem 0;
    display: inline-block;
    font-family: var(--font-body);
}

.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;
    max-width: 800px;
    margin-top: 4rem;
    margin-left: auto;
    margin-right: auto;
    
}

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

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

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

/* 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);
}

#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
}

