﻿/* ============================================================
   VALUYOUM — NAVBAR & FOOTER STYLES
   navbar.css — loaded globally via _Layout.cshtml
   Variables are inherited from valuyoum.css (:root)
   ============================================================ */


/* ============================================================
   1. NAVBAR BASE
   ============================================================ */

.site-navbar {
    background-color: var(--dark-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(2, 116, 190, 0.2);
}

    .site-navbar .navbar-brand img {
        height: 70px;
        width: auto;
        transition: opacity 0.2s ease;
    }

    .site-navbar .navbar-brand:hover img {
        opacity: 0.85;
    }

    .site-navbar .navbar-toggler {
        border-color: rgba(255, 255, 255, 0.3);
    }

    .site-navbar .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }


    /* ============================================================
   2. NAV LINKS
   ============================================================ */

    .site-navbar .nav-link {
        color: rgba(255, 255, 255, 0.88) !important;
        font-family: 'Noto Sans', sans-serif;
        font-size: 0.8rem;
        font-weight: 700;
        letter-spacing: 0.6px;
        text-transform: uppercase;
        padding: 0.5rem 0.7rem !important;
        transition: color 0.2s ease;
    }

        .site-navbar .nav-link:hover,
        .site-navbar .nav-link:focus {
            color: var(--primary-color) !important;
        }

        .site-navbar .nav-link.dropdown-toggle::after {
            border-top-color: rgba(255, 255, 255, 0.6);
            vertical-align: 0.2em;
        }


    /* ============================================================
   3. STANDARD DROPDOWNS — Work With Us, Careers, About Us
   ============================================================ */

    .site-navbar .std-dropdown-menu {
        background-color: #101630;
        border: 1px solid rgba(2, 116, 190, 0.25);
        border-top: 2px solid var(--primary-color);
        border-radius: 0 0 8px 8px;
        padding: 0.4rem 0;
        min-width: 210px;
        margin-top: 0 !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

        .site-navbar .std-dropdown-menu .dropdown-item {
            color: rgba(255, 255, 255, 0.82);
            font-size: 0.85rem;
            font-weight: 400;
            padding: 0.55rem 1.25rem;
            transition: all 0.18s ease;
            background: transparent;
        }

            .site-navbar .std-dropdown-menu .dropdown-item:hover {
                background-color: rgba(2, 116, 190, 0.18);
                color: var(--white);
                padding-left: 1.55rem;
            }


    /* ============================================================
   4. MEGA MENU BASE
   ============================================================ */

    /* Position mega-dropdown nav-item as static so the panel
   is positioned relative to the .navbar, not the list item  */
    .site-navbar .mega-dropdown {
        position: static;
    }

    .site-navbar .mega-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background-color: #101630;
        border-top: 2px solid var(--primary-color);
        border-bottom: 1px solid rgba(2, 116, 190, 0.2);
        border-radius: 0;
        padding: 1.75rem 2rem;
        box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55);
        /* Bootstrap toggles .show — we override display here */
        display: none;
        flex-wrap: nowrap;
        gap: 0;
    }

        .site-navbar .mega-menu.show {
            display: flex !important;
        }

/* Mega menu column */
.mega-col {
    flex: 1;
    padding: 0 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
}

    .mega-col:first-child {
        padding-left: 0.25rem;
    }

    .mega-col:last-child {
        border-right: none;
    }

/* Column heading */
.mega-col-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1.8px;
    margin-bottom: 0.85rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(2, 116, 190, 0.3);
}

/* Mega menu links */
.mega-link {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 400;
    padding: 0.38rem 0;
    text-decoration: none;
    transition: color 0.18s ease, padding-left 0.18s ease;
    white-space: nowrap;
}

    .mega-link:hover {
        color: var(--primary-color);
        padding-left: 8px;
        text-decoration: none;
    }


/* ============================================================
   5. NAVBAR ACTIONS — Login, Subscribe, Language
   ============================================================ */

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: 0.75rem;
    padding-left: 0.75rem;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

[dir="rtl"] .navbar-actions {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    margin-right: 0.75rem;
    padding-right: 0.75rem;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

/* Login — outlined */
.btn-nav-login {
    color: rgba(255, 255, 255, 0.88);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    background: transparent;
    padding: 0.3rem 0.9rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

    .btn-nav-login:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: var(--white);
        color: var(--white);
        text-decoration: none;
    }

/* Subscribe — filled */
.btn-nav-subscribe {
    background-color: var(--primary-color);
    color: var(--white);
    border: 1.5px solid var(--primary-color);
    padding: 0.3rem 0.9rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

    .btn-nav-subscribe:hover {
        background-color: #025fa0;
        border-color: #025fa0;
        color: var(--white);
    }

/* Language globe button */
.lang-btn {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 0.85);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    padding: 0;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

    .lang-btn:hover,
    .lang-btn:focus {
        border-color: var(--white);
        color: var(--white);
        background: rgba(255, 255, 255, 0.08);
        outline: none;
        box-shadow: none;
    }

    .lang-btn::after {
        display: none; /* Remove Bootstrap caret */
    }

.lang-dropdown-menu {
    min-width: 110px;
    right: 0;
    left: auto !important;
    transform: none !important;
    inset: unset !important;
    top: calc(100% + 6px) !important;
    right: 0 !important;
    text-align: center;
    padding: 0.35rem 0;
}

[dir="rtl"] .lang-dropdown-menu {
    right: auto !important;
    left: 0 !important;
}

    .lang-dropdown-menu .dropdown-item {
        font-size: 0.8rem;
        font-weight: 700;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        padding: 0.5rem 1rem;
    }

        .lang-dropdown-menu .dropdown-item.lang-active {
            color: var(--primary-color);
        }

        .lang-dropdown-menu .dropdown-item i {
            width: 18px;
        }


/* ============================================================
   6. SUBSCRIBE MODAL
   ============================================================ */

.subscribe-modal-content {
    background-color: #101630;
    border: 1px solid rgba(2, 116, 190, 0.3);
    border-radius: 12px;
    color: var(--white);
    overflow: hidden;
}

.subscribe-modal-header {
    background-color: var(--dark-bg);
    border-bottom: 1px solid rgba(2, 116, 190, 0.25);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.subscribe-modal-body {
    padding: 2rem 1.75rem 1.75rem;
}

.subscribe-modal-title {
    font-size: 1.15rem;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
    color: var(--white);
}

.subscribe-modal-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.subscribe-label {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.subscribe-input {
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--white);
    border-radius: 6px;
    padding: 0.55rem 0.85rem;
}

    .subscribe-input::placeholder {
        color: rgba(255, 255, 255, 0.3);
    }

    .subscribe-input:focus {
        background-color: rgba(255, 255, 255, 0.1);
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.2rem rgba(2, 116, 190, 0.2);
        color: var(--white);
    }

.btn-subscribe-submit {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.7rem;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

    .btn-subscribe-submit:hover {
        background-color: #025fa0;
        color: var(--white);
    }

.subscribe-disclaimer {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.35);
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 0;
    line-height: 1.5;
}


/* ============================================================
   7. SITE FOOTER
   Note: .site-footer avoids conflict with .footer in _Layout.cshtml.css
   ============================================================ */

.site-footer {
    background-color: var(--dark-bg);
    border-top: 2px solid rgba(2, 116, 190, 0.25);
    padding: 2.75rem 0 0;
}

/* Logo column */
.footer-logo img {
    height: 58px;
    width: auto;
    margin-bottom: 1.1rem;
    display: block;
}

/* Social icons row */
.footer-social {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

    .footer-social-link:hover {
        border-color: var(--primary-color);
        color: var(--primary-color);
        background: rgba(2, 116, 190, 0.12);
        text-decoration: none;
    }

/* Column headings */
.footer-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid rgba(2, 116, 190, 0.3);
}

/* Footer links */
.footer-link {
    display: block;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.875rem;
    font-weight: 400;
    text-decoration: none;
    padding: 0.28rem 0;
    transition: color 0.18s ease, padding-left 0.18s ease;
}

    .footer-link:hover {
        color: var(--white);
        padding-left: 6px;
        text-decoration: none;
    }

/* Subscribe & Chat buttons */
.footer-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.btn-footer-subscribe {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.55rem 1rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 100%;
    text-align: center;
}

    .btn-footer-subscribe:hover {
        background-color: #025fa0;
        color: var(--white);
    }

.btn-footer-chat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    padding: 0.55rem 1rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    text-decoration: none;
    transition: all 0.2s ease;
}

    .btn-footer-chat:hover {
        border-color: rgba(255, 255, 255, 0.55);
        color: var(--white);
        text-decoration: none;
    }

.footer-examples-link {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.42);
    text-decoration: none;
    display: inline-block;
    margin-top: 0.4rem;
    transition: color 0.2s ease;
}

    .footer-examples-link:hover {
        color: var(--primary-color);
        text-decoration: none;
    }

/* Bottom copyright bar */
.footer-bottom {
    background-color: var(--dark-bg); /* Dark background */
    padding: 1.5rem 0;
    margin-top: 0;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7); /* White text on dark */
    font-size: 0.875rem;
    margin: 0;
    text-align: center;
    font-weight: 400;
}


/* ============================================================
   8. RESPONSIVE
   ============================================================ */

/* Desktop: show mega menus on hover */
@media (min-width: 992px) {
    /*.mega-dropdown:hover > .mega-menu {
        display: flex !important;
    }

    .nav-item.dropdown:hover > .std-dropdown-menu {
        display: block !important;
    }*/
}

/* Mobile: mega menu becomes stacked, no absolute positioning */
@media (max-width: 991.98px) {
    .site-navbar .mega-menu {
        position: static;
        border-top: none;
        border-bottom: none;
        padding: 0.25rem 0 0.25rem 0.75rem;
        box-shadow: none;
        background-color: transparent;
        flex-wrap: wrap;
    }

    .mega-col {
        flex: 0 0 100%;
        padding: 0;
        border-right: none;
        margin-bottom: 0.25rem;
    }

    .mega-col-title {
        display: none;
    }

    .mega-link {
        font-size: 0.82rem;
        padding: 0.3rem 0.5rem;
        color: rgba(255, 255, 255, 0.72);
    }

    .navbar-actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
        gap: 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 0.5rem;
    }

    .lang-dropdown-menu {
        inset: unset !important;
        position: static !important;
        transform: none !important;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0;
    }

    .lang-dropdown-menu .dropdown-item {
        color: rgba(255, 255, 255, 0.8);
        padding: 0.3rem 0.5rem;
    }

    /* Footer: stack on mobile */
    .site-footer .footer-col {
        margin-bottom: 2rem;
    }
}

/* ============================================================
   9. FOOTER CONTACT SECTION
   (Moved from individual page CSS files to apply globally)
   ============================================================ */

.footer-contact {
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    padding: 100px 0 80px;
    margin-top: 0;
    position: relative;
}

/* Decorative top wave or divider */
.footer-contact::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, 
        var(--dark-bg) 0%, 
        var(--primary-color) 25%, 
        var(--coral-letter) 50%, 
        var(--primary-color) 75%, 
        var(--dark-bg) 100%
    );
}

/* Add subtle shadow above footer */
.footer-contact::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.03), transparent);
    pointer-events: none;
}

.footer-contact h3 {
    color: var(--dark-bg);
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 1.4rem;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

/* ADD THESE MISSING STYLES */
.social-icons a {
    display: inline-flex;
    width: 45px;
    height: 45px;
    background: var(--dark-bg);
    color: #ffffff;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin: 0 8px;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-5px);
    background: var(--coral-letter);
    box-shadow: 0 5px 15px rgba(201, 139, 122, 0.4);
}

.contact-info .mb-3 {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-info i {
    color: var(--dark-bg);
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-info p {
    margin: 0;
    line-height: 1.6;
    font-size: 1rem;
    color: #4a4a4a;
}
