/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 5%;
    min-height: 80px;
    background-color: #f8f9fa;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.navbar.hidden {
    transform: translateY(-100%);
}

.logo {
    position: absolute;
    left: 5%;
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 60px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.1);
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.nav-links a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    background-color: #FFD700; /* Yellow from logo */
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: #000;
}

.nav-links a:hover::before {
    width: 100%;
}

.nav-icons {
    position: absolute;
    right: 5%;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-icons a {
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease, color 0.3s ease;
}

.nav-icons .search-icon:hover,
.nav-icons .contact-btn:hover {
    transform: scale(1.1);
}

.contact-btn {
    background-color: #fff;
    color: #333;
    padding: 0.5rem 1rem;
    border: 2px solid #FFD700;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.contact-btn:hover {
    background-color: #FFD700;
    color: #000;
}
/* -------------------- */
/* Mobile Navigation   */
/* -------------------- */

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {

    /* Navbar height fix */
    .navbar {
        padding: 0.8rem 5%;
        min-height: 60px;
        flex-direction: row;
        justify-content: space-between;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    /* Logo stays left */
    .logo {
        position: static;
        margin: 0;
    }

    .logo img {
        max-height: 45px;
    }

    /* Hamburger */
    .hamburger {
        display: flex;
        position: static;
        z-index: 1001;
    }

    /* Hide desktop icons */
    .nav-icons {
        display: none;
    }

    /* Side Menu */
    .nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background: #fff;
        box-shadow: -5px 0 15px rgba(0,0,0,0.15);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: right 0.35s ease;
        z-index: 1001;
    }

    .nav-container.active {
        right: 0;
    }

    /* Menu links */
    .nav-links {
        flex-direction: column;
        gap: 1.2rem;
    }

    .nav-links a {
        font-size: 1rem;
    }
}
