/* AL DIYAR Navigation and Footer Styles */

:root {
    --site-navy: #0f1f44;
    --site-navy-2: #1c2f5d;
    --site-gold: #d4af37;
    --site-text: #132238;
    --site-muted: #5b6b82;
    --site-border: #e5eaf2;
    --site-surface: #ffffff;
    --site-shadow: 0 14px 35px rgba(10, 29, 67, 0.12);
    --site-radius: 12px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1400;
    background: var(--site-surface);
    border-bottom: 1px solid var(--site-border);
    box-shadow: 0 8px 24px rgba(15, 31, 68, 0.08);
}

.site-top-bar {
    background: linear-gradient(90deg, #0f1f44 0%, #1b315f 100%);
    color: #ecf3ff;
    font-size: 0.78rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-top-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 8px 20px;
}

.site-contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.site-contact-info a {
    color: #f1f6ff;
    text-decoration: none;
    font-weight: 600;
}

.site-contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 26px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
}

.site-contact-pill + .site-contact-pill {
    padding-inline-start: 10px;
    margin-inline-start: 4px;
    border-inline-start: 1px solid rgba(236, 243, 255, 0.34);
}

.site-contact-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(236, 243, 255, 0.8);
}

.site-contact-pill--email .site-contact-label {
    color: #f4d37d;
}

.site-lang-switch .lang-btn {
    color: #0f1f44;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.76rem;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 999px;
    background: #ffffff;
    box-shadow: none;
}

.site-main-nav {
    background: #ffffff;
}

.site-nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo {
    flex: 0 0 auto;
}

.site-logo__link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.site-logo__image {
    display: block;
    max-width: 280px;
    width: 100%;
    height: auto;
}

.site-menu {
    flex: 1 1 auto;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 18px;
}

.site-menu > li {
    position: relative;
}

.site-menu > li > a {
    display: inline-flex;
    align-items: center;
    color: var(--site-text);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.01rem;
    padding: 8px 0;
    border-radius: 0;
    border: 0;
    border-bottom: 2px solid transparent;
    transition: color 0.18s ease, border-color 0.18s ease;
}

.site-menu > li > a.active,
.site-menu > li > a:hover {
    color: var(--site-navy);
    border-bottom-color: var(--site-gold);
    background: transparent;
    box-shadow: none;
    transform: none;
}

.site-menu > li.has-megamenu > a::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 1.8px solid currentColor;
    border-bottom: 1.8px solid currentColor;
    transform: rotate(45deg);
    margin-inline-start: 8px;
    margin-top: -4px;
}

.site-mega-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    width: min(1120px, calc(100vw - 32px));
    background: #fff;
    border: 1px solid var(--site-border);
    border-radius: 14px;
    box-shadow: 0 18px 38px rgba(10, 29, 67, 0.15);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.site-menu > li.has-megamenu:hover .site-mega-menu,
.site-menu > li.has-megamenu:focus-within .site-mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.site-mega-menu-container {
    padding: 18px;
}

.site-mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.site-mega-column {
    min-width: 0;
}

.site-mega-title {
    margin: 0 0 10px;
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--site-navy);
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-mega-column {
    padding: 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(15, 31, 68, 0.07);
}

.site-mega-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-mega-list li {
    margin-bottom: 8px;
}

.site-mega-list a {
    color: var(--site-text);
    text-decoration: none;
    line-height: 1.35;
    display: block;
}

.site-mega-list a:hover {
    color: var(--site-navy);
}

.site-mega-view-all a {
    font-weight: 700;
    color: var(--site-navy);
    margin-top: 8px;
}

.site-venues-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.site-venues-region {
    margin: 0 0 10px;
    font-size: 0.96rem;
    font-weight: 800;
    color: var(--site-navy);
}

.site-venues-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-venues-list li {
    margin-bottom: 8px;
}

.site-venues-list a {
    display: block;
    text-decoration: none;
    color: var(--site-text);
}

.site-venue-name {
    font-weight: 600;
}

.site-venue-meta {
    display: block;
    color: var(--site-muted);
    font-size: 0.82rem;
    margin-top: 2px;
}

.site-mobile-menu-btn {
    display: none;
    background: transparent;
    border: 1px solid rgba(15, 31, 68, 0.12);
    border-radius: 12px;
    width: 38px;
    height: 38px;
    padding: 4px 7px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(15, 31, 68, 0.06);
}

.site-mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    margin: 5px 0;
    border-radius: 99px;
    background: var(--site-navy);
}

.site-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1700;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.site-mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
}

.site-mobile-menu-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 16, 40, 0.5);
}

.site-mobile-menu-panel {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: min(390px, 90vw);
    background: #fff;
    box-shadow: -10px 0 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: translateX(100%);
    transition: transform 0.24s ease;
}

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

.site-mobile-panel {
    position: absolute;
    inset: 0;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.2s ease;
    overflow-y: auto;
}

.site-mobile-panel.active {
    transform: translateX(0);
}

.site-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--site-border);
}

.site-mobile-nav,
.site-mobile-categories,
.site-mobile-subcategories,
.site-mobile-venues {
    list-style: none;
    margin: 0;
    padding: 10px 0;
}

.site-mobile-nav-item,
.site-mobile-category-item,
.site-mobile-subcategory-item,
.site-mobile-venue-item,
.site-mobile-view-all {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 16px;
    color: var(--site-text);
    text-decoration: none;
    background: none;
    border: 0;
    text-align: start;
    cursor: pointer;
}

.site-mobile-nav-item.active,
.site-mobile-subcategory-item:hover,
.site-mobile-nav-item:hover,
.site-mobile-category-item:hover,
.site-mobile-venue-item:hover,
.site-mobile-view-all:hover {
    background: #f4f7fc;
    color: var(--site-navy);
}

.site-mobile-panel-title {
    padding: 10px 16px;
    font-weight: 800;
    color: var(--site-navy);
}

.site-footer {
    background: #0c1937;
    color: #d6deee;
    margin-top: 40px;
}

.site-footer-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
    gap: 24px;
    padding: 40px 0 24px;
}

.site-footer h3 {
    color: #fff;
    margin: 0 0 12px;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer li {
    margin-bottom: 8px;
}

.site-footer a {
    color: #d6deee;
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
}

.site-footer-logo__image {
    display: block;
    max-width: 240px;
    width: 100%;
    height: auto;
}

.site-footer-tagline {
    margin: 14px 0 16px;
    color: #d6deee;
    line-height: 1.7;
}

.site-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.social-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.social-icon-wrapper:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(212, 175, 55, 0.35);
}

.social-icon-wrapper img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}

.site-footer-payments {
    display: grid;
    gap: 10px;
}

.payments-label {
    color: #f8fafc;
    font-weight: 700;
    font-size: 0.92rem;
}

.payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.payment-icons img {
    display: block;
    max-height: 28px;
    width: auto;
}

.site-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 14px 0 18px;
    text-align: center;
    font-size: 0.9rem;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    background: #25d366;
    color: #fff;
    padding: 10px 12px;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.36);
}

.whatsapp-float-text {
    font-weight: 700;
    font-size: 0.88rem;
}

@media (max-width: 1150px) {
    .site-menu {
        gap: 14px;
    }

    .site-menu > li > a {
        font-size: 0.93rem;
    }

    .site-mega-menu-grid,
    .site-venues-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .site-menu {
        display: none;
    }

    .site-mobile-menu-btn {
        display: inline-block;
    }

    .site-footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .site-contact-info {
        gap: 8px;
        font-size: 0.8rem;
    }

    .site-logo__image {
        max-width: 220px;
    }
}

@media (max-width: 640px) {
    .site-top-bar .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 8px 14px;
    }

    .site-contact-info {
        width: 100%;
    }

    .site-contact-pill {
        width: 100%;
        justify-content: flex-start;
        min-height: 24px;
    }

    .site-contact-pill + .site-contact-pill {
        border-inline-start: 0;
        margin-inline-start: 0;
        padding-inline-start: 0;
    }

    .site-nav-container {
        padding: 10px 14px;
    }

    .site-logo__image {
        max-width: 185px;
    }

    .site-footer-content {
        grid-template-columns: 1fr;
        padding-top: 28px;
    }

    .whatsapp-float {
        right: 12px;
        bottom: 12px;
        padding: 10px;
    }

    .whatsapp-float-text {
        display: none;
    }
}
