@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500&display=swap');

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    color: #3e3d36;
}

/* ─── Burger Menu ─────────────────────────────────── */

.burger-menu {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 1.5rem;
    z-index: 100;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    line-height: 0;
}

.burger-icon {
    width: 25px;
    height: 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.burger-icon span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #3e3d36;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-icon.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger-icon.active span:nth-child(2) {
    opacity: 0;
}

.burger-icon.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ─── Menu Panel ──────────────────────────────────── */

.menu-panel {
    position: fixed;
    top: 0;
    right: -260px;
    width: 260px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.97);
    transition: right 0.3s ease;
    z-index: 99;
    padding-top: 64px;
    box-shadow: -2px 0 16px rgba(0, 0, 0, 0.1);
}

.menu-panel.active {
    right: 0;
}

.menu-items {
    list-style: none;
    padding: 0;
}

.menu-items li {
    padding: 14px 28px;
    border-bottom: 1px solid rgba(62, 61, 54, 0.07);
}

.menu-items li:first-child {
    border-top: 1px solid rgba(62, 61, 54, 0.07);
}

.menu-items a {
    color: #3e3d36;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.2s ease;
    display: block;
}

.menu-items a:hover,
.menu-items a:focus {
    color: #000;
    padding-left: 6px;
    outline: none;
}

.menu-items a:focus-visible {
    outline: 2px solid #3e3d36;
    outline-offset: 2px;
    border-radius: 2px;
}
