:root {
    --header-bg: #ffffff;
    --text-color: #333333;
    --accent-color: #b3975d;
    --header-height: 90px;
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    /* Fixed slim header height */
    background-color: var(--header-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    box-sizing: border-box;
    z-index: 10000;
    /* High z-index to stay above everything */
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.logo-container {
    position: relative;
    height: 70px;
    width: 15rem;
}

.logo-container a {
    display: flex;
    align-items: center;
    text-decoration: none;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.logo-container img {
    height: 120px;
    /* Large premium logo */
    width: auto;
    object-fit: contain;
    filter: brightness(0); /* High contrast black for a white header background */
    /* If you want the logo to be dark blue (#061b3c), use this filter instead:
       filter: invert(7%) sepia(50%) saturate(4634%) hue-rotate(205deg) brightness(97%) contrast(103%); */
    transition: transform 0.3s ease;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 50px;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 20px;
    padding-left: 20px;
    border-left: 1px solid #eeeeee;
}

.social-icons a {
    color: var(--text-color);
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #061b3c;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-right {
        gap: 30px;
    }

    .nav-links {
        gap: 20px;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .social-icons {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .main-header {
        height: 70px;
    }

    .logo-container img {
        height: 80px;
        /* Slightly smaller on mobile but still prominent */
    }
}
/* Mobile Menu Sidebar Styles */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100%;
    background-color: #061b3c;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    padding: 10px 25px 50px 25px;
    box-sizing: border-box;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.3);
}

.mobile-menu-overlay.active {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 40px;
}

.sidebar-logo {
    margin-left: -5px; /* Adjusting for logo internal whitespace to align with text */
}

.sidebar-logo img {
    height: 100px;
    width: auto;
    filter: brightness(0) invert(1);
}

.overlay-close {
    font-size: 24px;
    color: #ffffff;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.overlay-close:hover {
    transform: rotate(90deg);
}

.overlay-content {
    text-align: left;
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.overlay-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.overlay-links a {
    font-size: 1.5rem;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Avenir Next Arabic', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.overlay-links a:hover {
    color: #b5d7e9;
    padding-left: 10px;
}

.overlay-socials {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: auto;
    width: 100%;
}

.overlay-socials a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.overlay-socials a i {
    font-size: 28px;
    color: #ffffff;
}

.overlay-socials a:hover {
    transform: translateY(-5px);
    color: #b5d7e9;
}
