/* =========================
   HEADER BASE
========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    width: 100%;
    padding: 1.25rem 1.5rem;

    background: transparent;
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

/* SCROLL STATE */

.site-header.is-scrolled {
    background: rgba(245, 245, 241, 0.4);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* =========================
   LAYOUT
========================= */

.header-inner {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
}

/* =========================
   LOGO
========================= */

.site-logo {
    position: absolute;
    left: 50%;

    transform: translateX(-50%);
}

.site-logo-image {
    width: 85px;
    height: auto;
}

/* =========================
   NAV
========================= */

.main-nav {
    display: none;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    color: #1A1A1A;
}

/* =========================
   ACTIONS
========================= */

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;

    position: relative;
    z-index: 2;
}

/* ICON BUTTONS */

.header-actions a,
.header-actions button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 2.5rem;
    height: 2.5rem;

    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

/* ICONS */

.header-actions img {
    width: 1.15rem;
    height: 1.15rem;
    object-fit: contain;
}

/* =========================
   MOBILE MENU
========================= */

.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 2.5rem;
    height: 2.5rem;

    font-size: 1.5rem;

    border: none;
    background: transparent;
    cursor: pointer;

    position: relative;
    z-index: 2;
}

.main-nav.is-open {
    display: block;

    position: absolute;
    top: 100%;
    left: 0;
    right: 0;

    background: #F5F5F1;
    padding: 1.5rem;
}

.main-nav.is-open ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* =========================
   DESKTOP
========================= */

@media (min-width: 1024px) {

    .menu-toggle {
        display: none;
    }

    .main-nav {
        display: block;
    }

    .main-nav ul {
        display: flex;
        gap: 1.5rem;
    }

    .header-actions {
        gap: 0.35rem;
    }

    .header-actions img {
        width: 2.5rem;
        height: 2.5rem;
    }
    .site-logo-image {
        width: 150px;
    }
}