/* nav.css - Navigation styles for all pages */
:root {
    --primary-color: #fea70a;
    --dark-color: #000000;
    --light-color: #ffffff;
    --font-main: 'Montserrat', sans-serif;
}

/* Navigation - Consistent across all pages */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background-color: var(--dark-color);
    transition: all 0.4s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.logo-img {
    height: 80px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-link {
    color: var(--light-color);
    text-decoration: none;
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 17px;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
    position: relative;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--light-color);
    transition: all 0.3s ease;
    transform-origin: left center;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(-3px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(3px);
}

/* Responsive Design for Navigation */
@media (max-width: 1200px) {
    .nav-container {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        background-color: var(--dark-color);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 120px 40px 40px;
        gap: 25px;
        transition: left 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        z-index: 1001;
        box-shadow: 5px 0 30px rgba(0, 0, 0, 0.3);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 10px 0;
        width: 100%;
        display: block;
    }
}

@media (max-width: 576px) {
    .nav-container {
        padding: 0 20px;
    }
    
    .logo-img {
        height: 60px;
    }
}