/* HEADER LAYOUT STYLES - Green Theme */

/* Top Bar Styles */
.top-bar {
    background-color: #FFC107 !important;
    color: #1A1A1A !important;
    padding: 8px 0;
    font-size: 13px;
}

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

.top-bar-left i {
    color: var(--text-white, white);
    margin-right: 5px;
}

.whatsapp-link {
    color: #1A1A1A;
    text-decoration: none;
    transition: all 0.3s;
    background: #FFC107;
    padding: 5px 12px;
    border-radius: 15px;
}

.whatsapp-link:hover {
    color: #1A1A1A;
    background: #FFB300;
}

.whatsapp-link i {
    color: #1A1A1A;
    margin-right: 5px;
}

/* Header Navigation */
.header-new {
    background: #1A1A1A !important;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-new a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-white, white);
    font-size: 24px;
    font-weight: bold;
}

.logo-new img {
    height: 50px;
    margin-right: 10px;
}

.nav-menu-new {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-menu-new li {
    position: relative;
}

.nav-menu-new a {
    color: var(--text-white, white);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
    padding: 10px 15px;
    border-radius: 5px;
}

.nav-menu-new a:hover {
    color: var(--accent-green, #25D366);
    background: rgba(255, 255, 255, 0.1);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #FFFFFF !important;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-radius: 5px;
    padding: 10px 0;
    list-style: none;
    margin-top: 10px;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #1A1A1A !important;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 500;
}

.dropdown-menu a:hover {
    background: #FFC107 !important;
    color: #1A1A1A !important;
    padding-left: 25px;
}

/* Header Right Section */
.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.social-icon:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Facebook Icon - Official Blue */
.social-icon .fa-facebook-f,
.social-icon:has(.fa-facebook-f) {
    background: #1877F2;
    color: #FFFFFF;
}

.social-icon:has(.fa-facebook-f):hover {
    background: #166FE5;
}

/* Instagram Icon - Official Gradient */
.social-icon .fa-instagram,
.social-icon:has(.fa-instagram) {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
    color: #FFFFFF;
}

.social-icon:has(.fa-instagram):hover {
    background: linear-gradient(45deg, #E67817, #C91E69, #6F2C9D, #4149C2);
}

/* WhatsApp Social Icon - Official Green Background */
.social-icon.fa-whatsapp,
.social-icon[href*="whatsapp"],
.social-icon[href*="wa.me"] {
    background: #25D366 !important;
    color: #FFFFFF !important;
}

.social-icon.fa-whatsapp:hover,
.social-icon[href*="whatsapp"]:hover,
.social-icon[href*="wa.me"]:hover {
    background: #20BA5A !important;
}

.btn-header-whatsapp {
    background: #25D366;
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-header-whatsapp:hover {
    background: #20BA5A;
    color: #FFFFFF;
}

.btn-header-whatsapp:hover {
    background: var(--hover-green, #20BA5A);
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-white, white);
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-menu-new {
        display: none;
        position: fixed;
        top: 140px;
        left: 0;
        right: 0;
        background: var(--dark-bg, #1A1A1A);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
        z-index: 999;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }
    
    .nav-menu-new.active {
        display: flex;
        max-height: 500px;
    }
    
    .nav-menu-new li {
        width: 100%;
        text-align: center;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-menu-new li:last-child {
        border-bottom: none;
    }
    
    .nav-menu-new a {
        display: block;
        padding: 10px 20px;
        font-size: 16px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-right {
        gap: 10px;
    }
    
    .social-icon {
        display: none;
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .btn-header-whatsapp {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .navbar-new {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo-new a {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .header-new {
        padding: 10px 0;
    }
    
    .top-bar {
        font-size: 12px;
        padding: 5px 0;
    }
    
    .whatsapp-link {
        padding: 3px 8px;
        font-size: 12px;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Ensure proper spacing */
.header-new + * {
    margin-top: 0;
}

/* Fix any layout issues */
.nav-menu-new li {
    margin: 0;
}

.nav-menu-new ul {
    margin: 0;
    padding: 0;
}

/* Override any conflicting styles */
.header-new * {
    box-sizing: border-box;
}

/* Ensure navigation is horizontal */
.nav-menu-new {
    flex-direction: row !important;
    align-items: center;
}

.nav-menu-new li {
    display: inline-block;
}

/* Logo styling */
.logo-new {
    flex-shrink: 0;
}

/* Navigation wrapper */
.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    justify-content: space-between;
}
