/* Mobile Navigation Styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    header .container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .logo {
        margin-bottom: 0;
        padding: 10px 0;
    }

    body {
        padding-top: 70px; /* Adjust this value to match your header's height */
      }
    
    nav {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
    }
    
    nav.active {
        max-height: 500px;
    }
    
    nav ul {
        flex-direction: column;
        width: 100%;
        padding: 10px 0;
    }
    
    nav ul li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
    
    nav ul li a {
        display: inline-block;
        padding: 8px 0;
        width: 100%;
    }
    
    .language-switch {
        margin: 15px auto;
    }
    
    /* Adjust hero section padding to account for taller header when menu is expanded */
    .hero {
        padding-top: 120px;
    }
}

/* Additional mobile adjustments */
@media (max-width: 576px) {
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .mobile-menu-toggle {
        top: 15px;
        right: 15px;
    }
}
