/* ===== NAVBAR BASE ===== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.navbar-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo img {
    height: 40px;
}

/* ===== DESKTOP MENU ===== */

.navbar-menu {
    display: flex;
    gap: 30px;
}

.navbar-menu a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    transition: 0.3s ease;
}

.navbar-menu a:hover {
    color: #f97316;
}

/* ===== HAMBURGER ===== */

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #374151;
    transition: 0.3s ease;
}

/* Animate Hamburger */
.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

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

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

/* ===== Rotating ===== */
#rotating-logo {
    height: 40px;
    width: auto;
    transition: opacity 0.3s ease-in-out;
}

/* ===== MOBILE STYLES ===== */

@media (max-width: 992px) {

    .hamburger {
        display: flex;
    }

    .navbar-menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 30px 0;
        display: none;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }

    .navbar-menu.active {
        display: flex;
    }
}

/* ===== FIX BODY OFFSET ===== */

body {
    padding-top: 70px;
}
