/* Body full-width flex column */
body {
    display: flex;
    height: fit-content;
    flex-direction: column;
    align-items: center;
}

/* Navbar layout */
nav {
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: #181818;
    padding: 0 100px;
    height: 75px;
}

/* Hamburger toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: #EAEAEA;
    transition: transform 0.3s ease;
}

/* Rotate bars when open */
.menu-toggle.open .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Menu list */
nav ul {
    display: flex;
    gap: 36px;
    list-style: none;
}

/* Desktop links */
nav ul li a {
    color: #EAEAEA;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 400;
    font-size: clamp(1rem, 4vw, 1.25rem);
    line-height: 1.4;
    font-family: 'Poppins', sans-serif;
}

/* Hover and focus state */
nav ul li a:hover {
    color: #64B1CB;
}

nav ul li a:focus {
    color: #CCB297;
}

