/* ============================================================
   header.css — Modern SaaS Header
   ============================================================ */

.header-container-site {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.02);
}

.dark .header-container-site {
    background: rgba(18, 18, 18, 0.88);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-container-site {
    display: flex;
    align-items: center;
}

.logo-container-site img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-container-site:hover img {
    transform: scale(1.02);
}

.desktop-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.menuLink {
    font-family: 'Exo 2', 'Rajdhani', system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #444;
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}

.dark .menuLink {
    color: #e5e7eb;
}

.menuLink:hover {
    color: #E40E18;
}

.menuLink::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #E40E18;
    transition: width 0.3s ease;
}

.menuLink:hover::after,
.active-Menulink::after {
    width: 100%;
}

.active-Menulink {
    color: #E40E18;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-login {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    transition: background 0.2s ease;
}

.dark .btn-login {
    color: #f3f4f6;
}

.btn-login:hover {
    background: rgba(0, 0, 0, 0.04);
}

.dark .btn-login:hover {
    background: rgba(255, 255, 255, 0.08);
}

.btn-primary {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    background: #E40E18;
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(228, 14, 24, 0.2);
}

.btn-primary:hover {
    background: #c50d15;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(228, 14, 24, 0.3);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
}

.hamburger-button {
    background: none;
    border: none;
    color: #111;
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    transition: color 0.2s;
}

.dark .hamburger-button {
    color: #f3f4f6;
}

.hamburger-button:hover {
    color: #E40E18;
}

.mobile-nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid #ebebeb;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    z-index: 999;
}

.dark .mobile-nav {
    background: rgba(18, 18, 18, 0.98);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}

.menuLinkMobile {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    padding: 16px 20px;
    border-radius: 12px;
    background: #f9f9f9;
    transition: all 0.2s ease;
}

.dark .menuLinkMobile {
    color: #f3f4f6;
    background: rgba(255, 255, 255, 0.04);
}

.menuLinkMobile:hover, .menuLinkMobile.active-Menulink {
    background: rgba(228, 14, 24, 0.05);
    color: #E40E18;
}

.dark .menuLinkMobile:hover,
.dark .menuLinkMobile.active-Menulink {
    background: rgba(228, 14, 24, 0.14);
    color: #fff;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .desktop-menu, .header-cta {
        display: none;
    }

    .mobile-menu {
        display: block;
    }
    
    .header-container-site {
        padding: 0 24px;
    }
}
