/* Sticky navbar styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #666666;
    z-index: 1000;
    padding: 15px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 0.1vw solid #333;
    margin: 0 3vw 6vw 3vw;
}

.navbar-title {
    font-family: "Libre Franklin", sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
    /* 100-900 */
    font-size: 1.5em;
    color: #f8e71c;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.navbar-title:hover {
    opacity: 0.8;
}

/* Desktop navigation links */
.navbar-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.navbar-link {
    font-family: "Libre Franklin", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: rgb(210,210,210);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.navbar-link:hover {
    color: #f8e71c;
}

/* Hamburger menu button (hidden on desktop) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1002;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #f8e71c;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile menu (hidden by default) */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #666666;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 1001;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu.active {
    display: flex;
    animation: fadeIn 0.3s ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #f8e71c;
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.mobile-menu-close:hover {
    opacity: 0.7;
}

.mobile-menu-link {
    font-family: "Libre Franklin", sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: rgb(210,210,210);
    text-decoration: none;
    text-transform: uppercase;
    padding: 15px 30px;
    transition: color 0.3s ease;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out, color 0.3s ease;
}

.mobile-menu-link.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu-link:hover {
    color: #f8e71c;
}

/* Mobile styles */
@media (max-width: 768px) {
    .navbar-links {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
}
