/* ========================================
   MODERN HEADER STYLES
   ======================================== */

/* Navbar Top Bar */
.navbar-top {
    background: linear-gradient(135deg, #006B3F 0%, #00854D 100%);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
}

.navbar-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-contact-info {
    display: flex;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-item:hover {
    opacity: 0.8;
    text-decoration: none;
    color: var(--white);
}

.contact-item i {
    font-size: 0.95rem;
}

.navbar-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--white);
    transform: translateY(-2px);
    text-decoration: none;
}

.social-link.whatsapp:hover {
    color: #25d366;
}

.social-link.facebook:hover {
    color: #1877f2;
}

.social-link.instagram:hover {
    color: #e4405f;
}

/* Navbar Main */
.navbar-main {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: relative;
    z-index: 1000;
}

.modern-navbar.sticky .navbar-main {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    animation: slideDown 0.3s ease;
}

.modern-navbar.sticky .navbar-top {
    display: none;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.navbar-main-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.navbar-logo a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-img {
    height: 60px;
    width: auto;
    border-radius: 8px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #006B3F;
    line-height: 1.2;
}

.logo-tagline {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Navigation Menu */
.navbar-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link i {
    font-size: 0.9rem;
}

.nav-link:hover,
.nav-item.active .nav-link {
    background: linear-gradient(135deg, #006B3F 0%, #00854D 100%);
    color: var(--white);
    text-decoration: none;
}

/* CTA Button */
.navbar-cta {
    margin-left: 15px;
}

.btn-navbar-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: var(--white);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
}

.btn-navbar-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
    text-decoration: none;
    color: var(--white);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: #006B3F;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover span {
    background: #00854D;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    padding: 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.mobile-logo {
    height: 50px;
    width: auto;
    border-radius: 8px;
}

.mobile-menu-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.mobile-nav-links li {
    margin-bottom: 5px;
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.mobile-nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
    text-decoration: none;
}

.mobile-nav-links i {
    font-size: 1.2rem;
    width: 25px;
}

.mobile-menu-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: auto;
}

.mobile-cta-btn,
.mobile-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.mobile-cta-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: var(--white);
}

.mobile-whatsapp-btn {
    background: #25d366;
    color: var(--white);
}

.mobile-cta-btn:hover,
.mobile-whatsapp-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 992px) {
    .navbar-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

   

    .contact-item {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .navbar-top {
        padding: 8px 0;
    }

    .navbar-contact-info {
        gap: 15px;
    }

    .navbar-social {
        gap: 8px;
    }

    .social-link {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }

    .logo-img {
        height: 45px;
    }

    .logo-title {
        font-size: 2.1rem;
    }

    .logo-tagline {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .navbar-contact-info {
        gap: 10px;
    }

    .navbar-social {
        display: none;
    }

    .logo-text {
       
    }

    .logo-img {
        height: 50px;
    }
}

