/* Clean Navigation CSS */

/* Reset header and navbar styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0;
}

.navbar {
    position: static;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    background: none;
    box-shadow: none;
}

.nav-brand {
    display: flex;
    align-items: center;
    z-index: 1002;
}

.logo {
    height: 45px;
    width: auto;
    transition: all 0.3s ease;
}

@media (max-width: 992px) {
    .logo {
        height: 40px;
    }
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    transition: all 0.3s ease;
}

.nav-menu li {
    list-style: none;
    display: flex;
    align-items: center;
    position: relative;
}

/* Mobile menu styles */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    z-index: 1001;
    padding: 0.5rem;
}

/* Responsive menu */
@media (max-width: 992px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem 0;
        margin: 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-menu.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        animation: slideDown 0.3s ease;
    }
    
    .nav-menu li {
        padding: 0.5rem 2rem;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-menu a {
        padding: 0.75rem 1rem;
        display: block;
        width: 100%;
    }
    
    .nav-menu a.button.button-primary {
        margin: 0.5rem 2rem;
        justify-content: center;
        width: auto;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover effects for desktop */
@media (min-width: 993px) {
    .nav-menu a {
        position: relative;
        overflow: hidden;
    }
    
    .nav-menu a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background-color: var(--primary-color);
        transition: width 0.3s ease;
    }
    
    .nav-menu a:hover::after,
    .nav-menu a.active::after {
        width: 100%;
    }
    
    .nav-menu a.active {
        color: var(--primary-color);
        background-color: transparent;
    }
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.35rem 0.7rem;
    border-radius: 0.25rem;
    transition: all 0.2s ease;
    white-space: nowrap;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.nav-menu a span {
    display: inline-block;
    text-align: center;
    line-height: 1.1;
}

.nav-menu a:hover {
    background-color: #f8f9fa;
    color: #2563eb;
}

.nav-menu a.active {
    background-color: #2563eb;
    color: white;
}

/* WhatsApp Button in Nav */
.nav-menu a.button.button-primary {
    background-color: #25D366;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    border: none;
    white-space: nowrap;
}

.nav-menu a.button.button-primary i {
    font-size: 1.1em;
}

.nav-menu a.button.button-primary:hover {
    background-color: #00856d;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #1e293b;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .nav-menu {
        gap: 0.5rem;
    }
    
    .nav-menu a {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        padding: 1rem 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu a {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1rem;
    }
    
    .nav-menu a.button.button-primary {
        margin: 0.5rem 1rem;
        justify-content: center;
    }
}
