@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;600;700&display=swap');

/* Color Palette */
:root {
    --primary-black: #000000;
    --primary-white: #FFFFFF;
    --primary-grey: #EAEAEA;
    --secondary-pink: #F4D4DE;
    --secondary-sage: #BECAB1;
    --secondary-mist: #F0F4ED;
    --tertiary-mint: #A8C9B9;
    --tertiary-cream: #F2E0A9;
}

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

/* Base styles */
body {
    padding-top: 80px; /* Space at top of body to account for header height */
    font-family: 'Noto Sans', sans-serif;
    line-height: 1.8;
    color: var(--primary-black);
    background: var(--primary-white);
}

a {
    color: var(--primary-black);
    text-decoration: underline;
}

/* Header */
.header {
    position: fixed; /* Fix header location */
    top: 0; /* Attach to the top of the viewport */
    left: 0;
    right: 0;
    background: var(--primary-white);
    z-index: 1000; /* Ensure header stays above other content */
    border-bottom: 0px solid #eee;
    margin-bottom: 2rem;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link img {
    height: 55px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--primary-black);
    text-decoration: none;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
}

@media (min-width: 769px) {
    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: var(--secondary-sage);
        transition: width 0.3s ease;
    }

    .nav-link:hover::after {
        width: 100%;
    }
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

/* Content */
.content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1 {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

h2 {
    font-size: 1.6em;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--primary-black);
}

h3 {
    font-size: 1.3em;
    font-weight: 400;
    margin: 2rem 0 1rem;
    color: var(--primary-black);
}

p {
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    margin-top: 4rem;
    padding: 2rem;
    text-align: center;
    border-top: 0px solid #eee;
    color: var(--primary-black);
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-content img {
    display: block;
    margin-bottom: 0.5rem;
}

/* Mobile styles */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        display: none;
        position: fixed; /* Fixed positioning for mobile menu */
        top: 55px; /* Adjust to appear just below the fixed header */
        left: 0;
        right: 0;
        background: var(--primary-white);
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        border-top: 0px solid #ccc;
        z-index: 999; /* Ensure it overlays content */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional drop shadow */
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        padding: 0.5rem 1rem;
        width: 100%;
        text-align: right;
        color: var(--primary-black);
    }

    .nav-link:hover {
        background-color: var(--secondary-sage);
    }
}
