/* =========================================================
   EL-SHROUK BRAND COLORS
========================================================= */

:root {
    --shrouk-primary: #dc2626;
    --shrouk-primary-dark: #b91c1c;

    --shrouk-dark: #111827;
    --shrouk-dark-2: #1f2937;

    --shrouk-text: #172033;
    --shrouk-muted: #667085;

    --shrouk-light: #f8f9fb;
    --shrouk-border: #e5e7eb;

    --shrouk-white: #ffffff;

    --shrouk-whatsapp: #20c76a;
}


/* =========================================================
   GLOBAL
========================================================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--shrouk-text);
    background: #ffffff;
}

a {
    text-decoration: none;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   TOP BAR
========================================================= */

.site-header {
    position: relative;
    z-index: 1000;
    background: #ffffff;
}

.top-bar {
    background: #111827;
    color: #ffffff;
    font-size: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.top-info {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-info span,
.top-right span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #d1d5db;
}

.top-info i {
    color: #ef4444;
    font-size: 13px;
}

.top-right {
    display: flex;
    align-items: center;
}

.top-right span {
    color: #9ca3af;
    font-size: 11px;
    letter-spacing: 0.3px;
}


/* =========================================================
   MAIN HEADER
========================================================= */

.main-header {
    background: rgba(255,255,255,0.97);
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 3px 15px rgba(15, 23, 42, 0.05);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


/* =========================================================
   LOGO
========================================================= */

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--shrouk-dark);
    flex-shrink: 0;
}

.brand-icon {
    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #dc2626;
    color: #ffffff;

    border-radius: 10px;

    box-shadow:
        0 7px 16px rgba(220, 38, 38, 0.20);

    transition: 0.25s ease;
}

.brand:hover .brand-icon {
    background: #b91c1c;
    transform: translateY(-2px);
}

.brand-icon i {
    font-size: 21px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-text strong {
    color: #111827;
    font-size: 19px;
    font-weight: 850;
    letter-spacing: 0.4px;
}

.brand-text span {
    margin-top: 4px;
    color: #9ca3af;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.3px;
}


/* =========================================================
   DESKTOP NAV
========================================================= */

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 100%;
}

.main-nav > a,
.dropdown-link {
    position: relative;

    display: inline-flex;
    align-items: center;
    gap: 6px;

    height: 82px;
    padding: 0 14px;

    color: #475467;

    font-size: 13px;
    font-weight: 650;

    transition: 0.25s ease;
}

.main-nav > a::after,
.dropdown-link::after {
    content: "";

    position: absolute;

    left: 14px;
    right: 14px;
    bottom: 0;

    height: 3px;

    background: #dc2626;

    border-radius: 5px 5px 0 0;

    transform: scaleX(0);
    transform-origin: center;

    transition: 0.25s ease;
}

.main-nav > a:hover,
.dropdown-link:hover {
    color: #dc2626;
}

.main-nav > a:hover::after,
.dropdown-link:hover::after,
.main-nav > a.active::after,
.dropdown-link.active::after {
    transform: scaleX(1);
}

.main-nav > a.active,
.dropdown-link.active {
    color: #dc2626;
}


/* =========================================================
   PRODUCTS DROPDOWN
========================================================= */

.nav-dropdown {
    position: relative;
}

.dropdown-link i {
    font-size: 10px;
    transition: transform 0.25s ease;
}

.nav-dropdown:hover .dropdown-link i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;

    top: calc(100% - 1px);
    left: 50%;

    transform:
        translateX(-50%)
        translateY(10px);

    width: 270px;

    padding: 8px;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 12px;

    box-shadow:
        0 18px 45px rgba(15, 23, 42, 0.14);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;

    transform:
        translateX(-50%)
        translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 11px;

    padding: 11px 12px;

    color: #475467;

    border-radius: 8px;

    font-size: 12px;
    font-weight: 600;

    transition: 0.2s ease;
}

.dropdown-menu a i {
    width: 20px;
    text-align: center;

    color: #dc2626;

    font-size: 14px;
}

.dropdown-menu a:hover {
    color: #dc2626;
    background: #fef2f2;

    padding-left: 16px;
}


/* =========================================================
   HEADER ACTIONS
========================================================= */

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}


/* =========================================================
   WHATSAPP BUTTON
========================================================= */

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 42px;
    padding: 0 17px;

    background: #20c76a;
    color: #ffffff;

    border-radius: 9px;

    font-size: 12px;
    font-weight: 750;

    box-shadow:
        0 6px 15px rgba(32, 199, 106, 0.16);

    transition: 0.25s ease;
}

.whatsapp-btn:hover {
    background: #16a858;
    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 9px 20px rgba(32, 199, 106, 0.22);
}

.whatsapp-btn i {
    font-size: 16px;
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.mobile-menu-btn {
    display: none;

    width: 42px;
    height: 42px;

    align-items: center;
    justify-content: center;

    border: 1px solid #e5e7eb;
    border-radius: 9px;

    background: #ffffff;
    color: #111827;

    font-size: 22px;

    cursor: pointer;

    transition: 0.2s ease;
}

.mobile-menu-btn:hover {
    color: #dc2626;
    border-color: #dc2626;
}


/* =========================================================
   MOBILE NAV
========================================================= */

.mobile-nav {
    display: none;

    background: #ffffff;

    border-bottom: 1px solid #e5e7eb;

    box-shadow:
        0 12px 25px rgba(15, 23, 42, 0.08);
}

.mobile-nav.show {
    display: block;
}

.mobile-nav > a {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 14px 20px;

    color: #475467;

    border-bottom: 1px solid #f1f3f5;

    font-size: 13px;
    font-weight: 650;

    transition: 0.2s ease;
}

.mobile-nav > a i {
    width: 20px;
    color: #dc2626;
    font-size: 16px;
}

.mobile-nav > a:hover {
    color: #dc2626;
    background: #fef2f2;
    padding-left: 25px;
}

.mobile-nav .mobile-whatsapp {
    margin: 12px;
    justify-content: center;

    background: #20c76a;
    color: #ffffff;

    border-radius: 9px;
    border: none;
}

.mobile-nav .mobile-whatsapp i {
    color: #ffffff;
}

.mobile-nav .mobile-whatsapp:hover {
    background: #16a858;
    color: #ffffff;
    padding-left: 20px;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    background: #111827;
    color: #ffffff;
}


/* =========================================================
   FOOTER MAIN
========================================================= */

.footer-main {
    padding: 65px 0 50px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(220, 38, 38, 0.09),
            transparent 30%
        ),
        #111827;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.5fr
        1fr
        1fr
        1.3fr;

    gap: 45px;
}


/* =========================================================
   FOOTER BRAND
========================================================= */

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    color: #ffffff;

    margin-bottom: 20px;
}

.footer-logo-icon {
    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #dc2626;
    color: #ffffff;

    border-radius: 10px;

    box-shadow:
        0 7px 17px rgba(220, 38, 38, 0.20);
}

.footer-logo-icon i {
    font-size: 20px;
}

.footer-logo strong {
    display: block;

    color: #ffffff;

    font-size: 18px;
    font-weight: 850;
    letter-spacing: 0.4px;
}

.footer-logo span {
    display: block;

    margin-top: 4px;

    color: #9ca3af;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 1.2px;
}

.footer-brand > p {
    max-width: 330px;

    margin: 0 0 22px;

    color: #9ca3af;

    font-size: 13px;
    line-height: 1.8;
}


/* =========================================================
   FOOTER CONTACT
========================================================= */

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-contact a {
    display: flex;
    align-items: center;
    gap: 9px;

    color: #cbd5e1;

    font-size: 12px;

    transition: 0.2s ease;
}

.footer-contact a i {
    width: 20px;

    color: #ef4444;

    font-size: 14px;
}

.footer-contact a:hover {
    color: #ffffff;
    transform: translateX(3px);
}


/* =========================================================
   FOOTER COLUMNS
========================================================= */

.footer-column h4 {
    position: relative;

    margin: 0 0 22px;

    padding-bottom: 12px;

    color: #ffffff;

    font-size: 14px;
    font-weight: 750;
}

.footer-column h4::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 32px;
    height: 3px;

    background: #dc2626;

    border-radius: 5px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-column a {
    margin-bottom: 11px;

    color: #9ca3af;

    font-size: 12px;

    transition: 0.2s ease;
}

.footer-column a:hover {
    color: #ffffff;

    transform: translateX(4px);
}


/* =========================================================
   FOOTER CTA
========================================================= */

.footer-cta {
    padding: 25px;

    background:
        linear-gradient(
            145deg,
            #1f2937,
            #18212f
        );

    border: 1px solid rgba(255,255,255,0.07);

    border-radius: 14px;

    box-shadow:
        0 15px 30px rgba(0,0,0,0.10);
}

.footer-small-title {
    display: block;

    margin-bottom: 10px;

    color: #ef4444;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.footer-cta h3 {
    margin: 0 0 10px;

    color: #ffffff;

    font-size: 20px;
    line-height: 1.35;
}

.footer-cta p {
    margin: 0 0 20px;

    color: #9ca3af;

    font-size: 12px;
    line-height: 1.7;
}

.footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 42px;

    padding: 0 16px;

    background: #dc2626;
    color: #ffffff;

    border-radius: 8px;

    font-size: 12px;
    font-weight: 750;

    transition: 0.25s ease;
}

.footer-btn:hover {
    background: #b91c1c;
    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 8px 18px rgba(220, 38, 38, 0.25);
}

.footer-btn i {
    transition: transform 0.2s ease;
}

.footer-btn:hover i {
    transform: translateX(4px);
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    background: #0b1220;

    border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-bottom-inner {
    min-height: 58px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.footer-bottom p {
    margin: 0;

    color: #6b7280;

    font-size: 10px;
}

.footer-bottom p:last-child {
    color: #4b5563;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {

    .main-nav {
        gap: 0;
    }

    .main-nav > a,
    .dropdown-link {
        padding: 0 9px;
        font-size: 12px;
    }

    .main-nav > a::after,
    .dropdown-link::after {
        left: 9px;
        right: 9px;
    }

    .whatsapp-btn {
        padding: 0 12px;
    }

    .footer-grid {
        grid-template-columns:
            1.3fr
            1fr
            1fr;
    }

    .footer-cta {
        grid-column: 1 / -1;
    }
}


/* =========================================================
   TABLET / MOBILE HEADER
========================================================= */

@media (max-width: 850px) {

    .top-right {
        display: none;
    }

    .top-bar-inner {
        justify-content: center;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: inline-flex;
    }

    .header-inner {
        min-height: 72px;
    }

    .whatsapp-btn span {
        display: none;
    }

    .whatsapp-btn {
        width: 42px;
        padding: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .footer-cta {
        grid-column: 1 / -1;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .container {
        width: calc(100% - 28px);
    }

    .top-info {
        gap: 15px;
    }

    .top-info span {
        font-size: 10px;
    }

    .top-info span:last-child {
        display: none;
    }

    .brand-text strong {
        font-size: 17px;
    }

    .brand-text span {
        font-size: 7px;
    }

    .brand-icon,
    .footer-logo-icon {
        width: 40px;
        height: 40px;
    }

    .footer-main {
        padding: 50px 0 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-cta {
        grid-column: auto;
    }

    .footer-brand > p {
        max-width: 100%;
    }

    .footer-bottom-inner {
        min-height: 70px;

        flex-direction: column;
        justify-content: center;

        text-align: center;

        gap: 6px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .top-bar-inner {
        min-height: 34px;
    }

    .header-inner {
        gap: 8px;
    }

    .brand {
        gap: 8px;
    }

    .brand-icon {
        width: 38px;
        height: 38px;
    }

    .brand-icon i {
        font-size: 18px;
    }

    .brand-text strong {
        font-size: 15px;
    }

    .brand-text span {
        font-size: 6px;
        letter-spacing: 1px;
    }

    .header-actions {
        gap: 6px;
    }

    .whatsapp-btn,
    .mobile-menu-btn {
        width: 38px;
        height: 38px;
        min-height: 38px;
    }

    /* =========================================================
   LANGUAGE SWITCHER
========================================================= */

.language-switcher {
    display: flex;
    align-items: center;
}

.language-btn {
    min-width: 42px;
    height: 42px;
    padding: 0 10px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    background: #ffffff;
    color: #dc2626;

    border: 1px solid #e5e7eb;
    border-radius: 9px;

    font-size: 11px;
    font-weight: 800;

    transition: 0.25s ease;
}

.language-btn i {
    font-size: 15px;
}

.language-btn:hover {
    background: #fef2f2;
    border-color: #dc2626;
    color: #b91c1c;
    transform: translateY(-2px);
}


/* =========================================================
   MOBILE LANGUAGE
========================================================= */

.mobile-language {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 14px 20px;

    color: #475467;
    border-bottom: 1px solid #f1f3f5;

    font-size: 13px;
    font-weight: 650;

    transition: 0.2s ease;
}

.mobile-language i {
    width: 20px;
    color: #dc2626;
    font-size: 16px;
}

.mobile-language:hover {
    color: #dc2626;
    background: #fef2f2;
    padding-left: 25px;
}


/* =========================================================
   RTL SUPPORT
========================================================= */

html[dir="rtl"] body {
    text-align: right;
}

html[dir="rtl"] .top-info {
    flex-direction: row-reverse;
}

html[dir="rtl"] .header-inner {
    direction: rtl;
}

html[dir="rtl"] .main-nav {
    direction: rtl;
}

html[dir="rtl"] .header-actions {
    direction: ltr;
}

html[dir="rtl"] .dropdown-menu {
    text-align: right;
}

html[dir="rtl"] .dropdown-menu a {
    flex-direction: row-reverse;
}

html[dir="rtl"] .mobile-nav {
    direction: rtl;
}

html[dir="rtl"] .mobile-nav > a,
html[dir="rtl"] .mobile-language {
    flex-direction: row-reverse;
}

html[dir="rtl"] .mobile-whatsapp {
    flex-direction: row-reverse;
}


/* =========================================================
   RTL FOOTER
========================================================= */

html[dir="rtl"] .footer-grid {
    direction: rtl;
}

html[dir="rtl"] .footer-column {
    align-items: flex-start;
}

html[dir="rtl"] .footer-contact a {
    flex-direction: row-reverse;
}

html[dir="rtl"] .footer-contact a:hover {
    transform: translateX(-3px);
}

html[dir="rtl"] .footer-column a:hover {
    transform: translateX(-4px);
}


/* =========================================================
   MOBILE LANGUAGE SWITCHER
========================================================= */

@media (max-width: 850px) {

    .language-btn {
        width: 42px;
        min-width: 42px;
        padding: 0;
    }

    .language-btn span {
        display: inline;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .language-btn {
        width: 38px;
        min-width: 38px;
        height: 38px;
    }

    .language-btn i {
        font-size: 14px;
    }

    .language-btn span {
        font-size: 10px;
    }

}

}