/* =====================================
   GLOBAL LAYOUT
   Header
   Footer
   Navigation
   ===================================== */

/* HEADER STYLING */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(245,243,238,0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* FOOTER STYLING */
footer {
    border-top: 1px solid rgba(0,0,0,0.08);
    padding: 2rem;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

.footer-secondary {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #888;
}

.footer-secondary a {
    color: inherit;
    text-decoration: underline;
}

nav {
    display: flex;
    gap: 2rem;
}

    nav a {
        font-size: 0.95rem;
        transition: opacity 0.2s ease;
    }

        nav a:hover {
            opacity: 0.6;
        }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: inherit;
    line-height: 1;
    padding: 0;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    font-size: 1.3rem;
    letter-spacing: 2px;
    font-weight: 600;
}

.logo span {
    font-size: 0.9rem;
    letter-spacing: 3px;
    margin-top: 2px;
}

@media (max-width: 900px) {

    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(245,243,238,.98);
        border-bottom: 1px solid rgba(0,0,0,.08);
        box-shadow: 0 10px 25px rgba(0,0,0,.08);
        flex-direction: column;
        gap: 0;
    }

        nav.nav-open {
            display: flex;
        }

        nav a {
            padding: 1rem 2rem;
            border-top: 1px solid rgba(0,0,0,.05);
        }
}