/* navbar.css - CORRECTED VERSION */

/* GENERAL SECTION STYLING */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 0.75rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #6b6b6b, #8a8a8a);
}

.section-header p {
    color: #6b6b6b;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* HEADER / NAVBAR */
.site-header {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
}

/* Logo Image Styles - Single Version */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
    object-fit: contain;
}

.logo-img:hover {
    opacity: 0.9;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: 1.8rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #8a8a8a;
    font-weight: 500;
    transition: 0.2s ease;
    position: relative;
    font-size: 0.9rem;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffffff, #b0b0b0);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #ffffff;
}

/* MOBILE MENU BUTTON */
.menu-btn {
    display: none;
    font-size: 1.3rem;
    cursor: pointer;
    color: #ffffff;
    transition: 0.2s ease;
    background: none;
    border: none;
    padding: 0.5rem;
}

.menu-btn:hover {
    color: #8a8a8a;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 0;
    }
    
    .logo-img {
        height: 32px;
    }
    
    .menu-btn {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        gap: 0;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.3s ease;
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-menu.active {
        max-height: 450px;
    }

    .nav-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-menu a {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
        color: #ffffff;
        display: block;
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-menu a:hover {
        background: rgba(255, 255, 255, 0.05);
        color: #b0b0b0;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .logo-img {
        height: 28px;
    }
    
    .nav-menu a {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
}