/* إعدادات الخط والتهيئة العامة */
:root {
    --primary-color: #0077b6;
    --secondary-color: #00b4d8;
    --accent-color: #ffb703;
    --dark-color: #1d3557;
    --light-gradient: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: #ffffff;
    color: #495057;
    overflow-x: hidden;
}

/* القائمة العلوية واللوجو */
.navbar-brand span {
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}
.navbar-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
}
.nav-link {
    color: var(--dark-color) !important;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem !important;
}
.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}
.navbar .dropdown-toggle::after {
    margin-right: 0.35em;
    margin-left: 0;
}
.navbar .dropdown-menu {
    min-width: 220px;
    padding: 0.5rem 0;
    border-radius: 0.75rem;
    margin-top: 0.5rem;
}
.navbar .dropdown-item {
    padding: 0.6rem 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    transition: background 0.2s ease, color 0.2s ease;
}
.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus,
.navbar .dropdown-item.active {
    background-color: rgba(0, 119, 182, 0.08);
    color: var(--primary-color);
}
@media (max-width: 991.98px) {
    .navbar .dropdown-menu {
        position: static !important;
        float: none;
        box-shadow: none !important;
        border: none;
        background: rgba(0, 119, 182, 0.04);
        margin: 0 0 0.5rem;
        padding-right: 1rem;
    }
    .navbar .dropdown-item {
        padding-right: 1.5rem;
    }
}
.btn-primary,
.btn-call-nav {
    background-color: var(--primary-color);
    border: none;
    transition: background 0.3s ease, transform 0.2s;
}
.btn-primary:hover {
    background-color: #005f92;
    transform: translateY(-2px);
}

/* هيدر Hero بالصورة المحلية */
.hero-section {
    background: linear-gradient(rgba(29, 53, 87, 0.88), rgba(0, 119, 182, 0.75)),
                url('../assets/images/home/مياه-شمال-الرياض.webp') no-repeat center center/cover;
    min-height: 80vh;
    padding: 80px 0;
}
.fw-black {
    font-weight: 900;
}
.text-shadow {
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.4);
}
.btn-accent {
    background-color: var(--accent-color);
    color: var(--dark-color);
    font-weight: 700;
    border: none;
    transition: all 0.3s ease;
}
.btn-accent:hover {
    background-color: #ff9f00;
    color: #000;
    transform: translateY(-2px);
}
.hero-img-badge {
    position: absolute;
    top: 20px;
    right: -20px;
    background-color: var(--accent-color);
    color: var(--dark-color);
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    z-index: 10;
    transform: rotate(5deg);
}
.hero-main-img {
    border: 4px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
    min-height: 280px;
}

/* كروت الخدمات */
.bg-gradient-light {
    background: var(--light-gradient);
}
.bg-primary-soft {
    background-color: rgba(0, 119, 182, 0.1);
}
.icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}
.service-card {
    transition: all 0.3s ease;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

/* بطاقة وايت 6 طن */
.size-card-6ton {
    transition: all 0.3s ease;
}
.size-card-6ton:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 119, 182, 0.15) !important;
}
.size-card-img {
    min-height: 220px;
    object-fit: cover;
}

/* شبكة أحياء شمال الرياض */
.districts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
}
.district-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #fff;
    border: 1px solid rgba(0, 119, 182, 0.25);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark-color);
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.district-badge:hover,
a.district-badge-link:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}
a.district-badge-link {
    text-decoration: none;
    color: inherit;
}
a.district-badge-link:hover {
    color: #fff;
}
.footer-districts {
    max-height: 220px;
    overflow-y: auto;
    column-count: 2;
    column-gap: 0.75rem;
}
.footer-districts li {
    break-inside: avoid;
    margin-bottom: 0.25rem;
}

/* FAQ */
#faq .accordion-button:not(.collapsed) {
    background-color: rgba(0, 119, 182, 0.08);
    color: var(--primary-color);
}
#faq .accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 119, 182, 0.2);
}

/* صفحات داخلية */
.breadcrumb-nav .breadcrumb {
    font-size: 0.9rem;
}
.breadcrumb-nav .breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}
.breadcrumb-nav .breadcrumb-item a:hover {
    text-decoration: underline;
}
.breadcrumb-nav .breadcrumb-item.active {
    color: #6c757d;
}

.page-hero {
    background: linear-gradient(rgba(29, 53, 87, 0.9), rgba(0, 119, 182, 0.8)),
                url('../assets/images/home/مياه-شمال-الرياض.webp') no-repeat center center/cover;
    min-height: 45vh;
    padding: 3rem 0;
}
.page-hero-img {
    border: 3px solid rgba(255, 255, 255, 0.25);
    object-fit: cover;
    max-height: 320px;
    width: 100%;
}
.lead-relaxed {
    line-height: 1.85;
    font-size: 1.05rem;
}
.value-card {
    transition: all 0.3s ease;
}
.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 119, 182, 0.12) !important;
}
.about-focus-box {
    box-shadow: 0 8px 24px rgba(0, 119, 182, 0.08);
}
.page-cta {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
}

.about-section-img {
    object-fit: cover;
    width: 100%;
    max-height: 380px;
}
.about-img-stack {
    position: relative;
}
.about-logo-badge {
    position: absolute;
    bottom: -12px;
    left: 20px;
    width: 90px;
    height: 90px;
    object-fit: contain;
    background: #fff;
    border-radius: 16px;
    padding: 8px;
    border: 3px solid var(--primary-color);
}
.about-gallery-item {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    background: #fff;
    padding: 0.5rem;
}
.about-gallery-item img {
    border-radius: 8px;
    object-fit: cover;
    height: 200px;
    transition: transform 0.35s ease;
}
.about-gallery-item:hover img {
    transform: scale(1.04);
}

/* صفحة خدمة وايت 6 طن */
.service-hero {
    background: linear-gradient(rgba(29, 53, 87, 0.92), rgba(0, 119, 182, 0.85)),
                url('../assets/images/home/مياه-شمال-الرياض.webp') no-repeat center center/cover;
}
.service-hero-visual {
    position: relative;
}
.service-hero-img {
    object-fit: cover;
    min-height: 280px;
    border: 3px solid rgba(255, 255, 255, 0.2);
}
.service-hero-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--accent-color);
    color: var(--dark-color);
    padding: 12px 20px;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.service-hero-badge strong {
    display: block;
    font-size: 1.75rem;
    line-height: 1;
}
.service-stat {
    padding: 0.5rem;
}
.service-gallery-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}
.service-gallery-card:hover {
    transform: translateY(-4px);
}
.service-gallery-card img {
    height: 200px;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.service-gallery-card:hover img {
    transform: scale(1.05);
}
.service-gallery-card figcaption {
    padding: 0.75rem;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.9rem;
    text-align: center;
}
.service-section-img {
    object-fit: cover;
    min-height: 280px;
    width: 100%;
}
.service-checklist li {
    margin-bottom: 0.65rem;
    line-height: 1.6;
}
.service-use-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-use-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 119, 182, 0.12) !important;
}
.service-use-card-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}
.service-feature-panel {
    background: linear-gradient(145deg, var(--dark-color), var(--primary-color));
    box-shadow: 0 10px 30px rgba(0, 119, 182, 0.2);
}
.service-mini-img {
    object-fit: cover;
    height: 180px;
}
.service-wide-img {
    object-fit: cover;
    height: 220px;
}

/* Footer */
.site-footer {
    background: linear-gradient(180deg, #1a2f4a 0%, #0f1c2e 100%);
    margin-top: 0;
}
.footer-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    flex-shrink: 0;
}
.footer-brand-text {
    line-height: 1.3;
}
.footer-desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    line-height: 1.85;
    max-width: 380px;
}
.footer-desc-link {
    color: #7ec8e3;
    text-decoration: none;
    font-weight: 600;
    direction: ltr;
    unicode-bidi: embed;
}
.footer-desc-link:hover {
    color: #fff;
    text-decoration: underline;
}
.footer-heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.65rem;
}
.footer-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 36px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}
.footer-nav li {
    margin-bottom: 0.55rem;
}
.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease, padding-right 0.2s ease;
    display: inline-block;
}
.footer-nav a:hover {
    color: var(--secondary-color);
    padding-right: 6px;
}
.footer-contact li + li {
    margin-top: 0.75rem;
}
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.footer-contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 180, 216, 0.35);
    transform: translateX(-4px);
}
.footer-contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    color: #fff;
}
.footer-contact-icon--phone {
    background: var(--primary-color);
}
.footer-contact-icon--whatsapp {
    background: #25d366;
}
.footer-contact-body {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}
.footer-contact-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
}
.footer-contact-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
}
.footer-cta-text {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 1rem;
}
.btn-footer-call {
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    border: none;
    padding: 0.65rem 1.25rem;
    transition: background 0.2s ease, transform 0.2s ease;
}
.btn-footer-call:hover {
    background: #005f92;
    color: #fff;
    transform: translateY(-2px);
}
.btn-footer-whatsapp {
    background: #25d366;
    color: #fff;
    font-weight: 700;
    border: none;
    padding: 0.65rem 1.25rem;
    transition: background 0.2s ease, transform 0.2s ease;
}
.btn-footer-whatsapp:hover {
    background: #1da851;
    color: #fff;
    transform: translateY(-2px);
}
.footer-bottom {
    background: rgba(0, 0, 0, 0.25);
}
.footer-copyright {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
}
.footer-dev-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}
.footer-dev-link:hover {
    color: #fff;
}

/* الأزرار العائمة */
.action-buttons-fixed {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
}
.btn-floating {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-floating:hover {
    transform: scale(1.1);
    color: #fff;
}
.btn-whatsapp-floating {
    background-color: #25d366;
}
.btn-phone-floating {
    background-color: var(--primary-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 119, 182, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(0, 119, 182, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 119, 182, 0); }
}

.animate-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* شارة ثنائية اللغة */
.bilingual-badge {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    padding: 0.5rem 1.25rem;
    backdrop-filter: blur(4px);
}
.bilingual-badge-ar {
    font-weight: 700;
    letter-spacing: 0.02em;
}
.bilingual-badge-en {
    font-size: 0.9rem;
    opacity: 0.9;
    font-style: italic;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    padding-right: 1rem;
}

/* بطاقة اتصل بنا */
.contact-hero-card {
    max-width: 560px;
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 12px 40px rgba(29, 53, 87, 0.12);
    overflow: hidden;
}
.contact-hero-card-inner {
    padding: 2.5rem 2rem;
}
.contact-hero-card .btn-lg {
    min-width: 200px;
    font-weight: 700;
}

/* قائمة معلومات التواصل */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #fff;
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 119, 182, 0.1);
}
.contact-info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 119, 182, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    font-size: 1.25rem;
}
.contact-info-body {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.contact-info-body strong {
    color: var(--dark-color);
    font-size: 1rem;
}
.contact-info-body span:last-child {
    color: #6c757d;
    font-size: 0.95rem;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* الجوال */
@media (max-width: 991.98px) {
    .hero-section {
        text-align: center !important;
        padding: 50px 0;
        min-height: auto;
    }
    .hero-img-badge {
        display: none;
    }
    .action-buttons-fixed {
        bottom: 20px;
        left: 20px;
    }
    .btn-floating {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    .district-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.75rem;
    }
    .footer-desc {
        max-width: 100%;
    }
    .footer-heading {
        margin-top: 0.5rem;
    }
    .footer-contact-item:hover {
        transform: none;
    }
    .page-hero {
        min-height: auto;
        padding: 2rem 0;
        text-align: center;
    }
    .page-hero-img {
        margin-top: 1rem;
        max-height: 240px;
    }
    .about-logo-badge {
        width: 70px;
        height: 70px;
        bottom: -8px;
        left: 12px;
    }
    .about-gallery-item img {
        height: 160px;
    }
    .service-hero-img {
        min-height: 220px;
    }
    .service-gallery-card img {
        height: 150px;
    }
    .service-mini-img {
        height: 140px;
    }
}

/* مدونة وطلب */
.blog-list {
    margin-top: 0.5rem;
}
.blog-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 119, 182, 0.12) !important;
}
.blog-meta {
    font-size: 0.85rem;
}
.blog-meta i {
    opacity: 0.7;
}

.order-steps {
    padding: 0;
}
.order-step-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(0, 119, 182, 0.1);
}
.order-step-item:last-child {
    border-bottom: none;
}
.order-step-num {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    border-radius: 50%;
    font-size: 1.1rem;
}
.order-step-body strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--dark-color);
}

.districts-grid-page {
    max-width: 960px;
    margin: 0 auto;
}
.districts-grid-page .district-badge {
    font-size: 0.9rem;
}
