﻿/* ==========================================
   HEADER
========================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    z-index: 1000;
}

body {
    padding-top: 70px;
}

/* ==========================================
   CONTAINER
========================================== */

.site-header .container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ==========================================
   LOGO
========================================== */

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #1f2937;
    font-size: 1.2rem;
    font-weight: 700;
}

.logo img {
    width: 42px;
    height: 42px;
    display: block;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

.logo span {
    white-space: nowrap;
    font-family: Inter, "Segoe UI", sans-serif;
}

/* ==========================================
   DESKTOP NAV
========================================== */

.site-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.site-nav a {
    font-family: Inter, "Segoe UI", sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    color: #374151;
}

.header-link {
    text-decoration: none;
    color: #374151;
    font-weight: 600;
    transition: color 0.2s;
}

.header-link:hover,
.header-link.active {
    color: #2d5b3a;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* ==========================================
   MOBILE BUTTON
========================================== */

.mobile-menu-button {
    display: none;
    border: none;
    background: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 900px) {

    .mobile-menu-button {
        display: block;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 70px;
        right: 1rem;
        width: 220px;
        background: white;
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(0,0,0,.15);
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

        .site-nav.show {
            display: flex;
        }

    .logo span {
        display: none;
    }
}
