/* Reset بسيط */

@font-face {
    font-family: "Remachine Script";
    src: url("../fonts/RemachineScript-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, sans-serif;
    background: #000;
    color: #f5f5f5;
    position: relative;
    overflow-x: hidden;
}

/* خلفية متحركة بألوان التمر */
.animated-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 45% 30%, #fff31c 0, #ffae42 55%),
        radial-gradient(circle at 100% 100%, #fff31c 0, #ffae42 60%);
    background-size: 200% 200%;
    animation: hurma-bg-move 3s ease-in-out infinite alternate;
    opacity: 0.9;
}

@keyframes hurma-bg-move {
    0% {
        background-position: 0% 0%, 100% 100%;
    }
    100% {
        background-position: 100% 100%, 0% 0%;
    }
}


/* الهيدر العلوي */
.top-bar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.9rem 1.8rem;
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

}

.brand-home {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

/* شعار Hurma Dünyası فقط */
.brand--hurma .brand-main {
    font-family: "Remachine Script", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 5rem;
    letter-spacing: 0.12em;
    text-transform: none;
    background: linear-gradient(90deg, #f4f803, #ecd503);
    -webkit-background-clip: text;
    background-clip: text;
    font-weight: normal;
    color: transparent;
}

.brand--hurma .brand-sub {
    font-family: "Calibri", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1.5rem;
    color: #f1ee07;
    opacity: 0.9;
    letter-spacing: .1em;
}


/* المنيو */
.top-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
}

.top-nav a {
    color: #f5f5f5;
    text-decoration: none;
    position: relative;
    padding-block: 0.25rem;
}

.top-nav a::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f0c27b, #d17a35);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.18s ease;
}

.top-nav a:hover::after {
    transform: scaleX(1);
}

/* زر عوالمنا */
.worlds-btn-wrap {
    display: flex;
    align-items: center;
}

.worlds-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    border: 5px solid #f0c27b;
    color: #f0c27b;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    background: transparent;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.worlds-btn:hover {
    background: #f0c27b;
    color: #000;
    transform: translateY(-1px);
}

/* شريط اللغات – نفس روح الصفحة الرئيسية */
.lang-selector {
    background: #050505;
    padding: 0.45rem 1.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lang-selector ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: flex-start;
}

.lang-selector .lang-item {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    font-size: 0.7rem;
    color: #f5f5f5;
    background: rgba(255, 255, 255, 0.04);
    transition: background 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
}

.lang-selector .lang-item img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.lang-selector .lang-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.lang-selector .lang-item.active {
    border-color: #8fdc7f;
    background: rgba(143, 220, 127, 0.12);
}


main.hero {
    min-height: calc(100vh - 160px);
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem 3rem;
}

/* HERO SLIDER */
.hero-slider {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
    min-height: 500px;
    max-height: 520px;
}

/* نخفي الراديوز */
.hero-slider input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* الكونتينر بتاع السلايدز */
.hero-slides {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* كل سلايد */
.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 2.5rem 3rem;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.02);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.hero-slide__content {
    position: relative;
    max-width: 520px;
    z-index: 1;
    text-align: right;
    color: rgb(87, 85, 85);
    text-shadow:
        0 0 8px  #fff,
        0 0 16px #fff,
        0 0 24px #fff,
        0 0 32px #fff;
}

.hero-slide__content h1 {
    font-size: 3rem;
    margin-bottom: 0.75rem;
    color: #000; /* نص أسود زي ما هو */

    /* شادو أبيض قوي حوالين الكلام */
    text-shadow:
        -1px -1px 3px rgba(255, 255, 255, 0.95),
         1px -1px 3px rgba(255, 255, 255, 0.95),
        -1px  1px 3px rgba(255, 255, 255, 0.95),
         1px  1px 3px rgba(255, 255, 255, 0.95),
         0px  0px 10px rgba(255, 255, 255, 0.9);
}

.hero-slide__content p {
    font-size: 1.8rem;
    line-height: 1.9;
    opacity: 1;
    color: #000;

    text-shadow:
    0 0 6px rgba(255, 255, 255, 1),
    0 0 12px rgba(255, 255, 255, 1),
    -2px -2px 3px rgba(255, 255, 255, 0.9),
     2px -2px 3px rgba(255, 255, 255, 0.9),
    -2px  2px 3px rgba(255, 255, 255, 0.9),
     2px  2px 3px rgba(255, 255, 255, 0.9);
}


/* خلفيات السلايدز (غيّر الصور لما تجهز) */
.hero-slide--1 {
    background-image: url("../images/hero/bal-1.png");
}

.hero-slide--2 {
    background-image: url("../images/hero/bal-2.png");
}

.hero-slide--3 {
    background-image: url("../images/hero/bal-3.png");
}

.hero-slide--4 {
    background-image: url("../images/hero/bal-4.png");
}

.hero-slide--5 {
    background-image: url("../images/hero/bal-5.png");
}

.hero-slide--6 {
    background-image: url("../images/hero/bal-6.png");
}

/* Overlay غامق فوق الصورة */
.hero-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(22, 1, 1, 0.411), rgba(204, 202, 202, 0.24));
    z-index: 0;
}

/* الربط بين الراديو و السلايد – إظهار كل سلايد حسب الراديو */

#slide-1:checked ~ .hero-slides .hero-slide--1 {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

#slide-2:checked ~ .hero-slides .hero-slide--2 {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

#slide-3:checked ~ .hero-slides .hero-slide--3 {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

#slide-4:checked ~ .hero-slides .hero-slide--4 {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

#slide-5:checked ~ .hero-slides .hero-slide--5 {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

#slide-6:checked ~ .hero-slides .hero-slide--6 {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* المؤشرات (حبات التمر) */
.hero-dots {
    position: absolute;
    inset-inline: 0;
    bottom: 1.4rem;
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    z-index: 2;
}

.hero-dot {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    cursor: pointer;
    padding: 0.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease,
        opacity 0.15s ease;
}

.hero-dot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* تمييز التمراية الخاصة بكل سلايد */
#slide-1:checked ~ .hero-dots label[for="slide-1"],
#slide-2:checked ~ .hero-dots label[for="slide-2"],
#slide-3:checked ~ .hero-dots label[for="slide-3"],
#slide-4:checked ~ .hero-dots label[for="slide-4"],
#slide-5:checked ~ .hero-dots label[for="slide-5"],
#slide-6:checked ~ .hero-dots label[for="slide-6"] {
    opacity: 1;
    transform: scale(1.35);
    box-shadow: 0 0 18px rgba(255, 211, 128, 0.9);
    background: rgba(224, 192, 11, 0.85);
}


main h1 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

main p {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* واتساب عائم – STANDARD */
.whatsapp-float {
    position: fixed;
    inset-inline-end: 1.1rem;
    inset-block-end: 1.1rem;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    background: #f0c27b;
    color: #130101;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(243, 179, 2, 0.6);
    transform-origin: center;
    animation: wa-pulse 2.6s infinite ease-in-out;
}

.wa-icon {
    width: 45px;
    height: 45px;
    display: inline-block;
    background-image: url("../images/whatsapp.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.wa-text {
    white-space: nowrap;
}

@keyframes wa-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 25px rgba(239, 243, 2, 0.6);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 14px 32px rgba(214, 165, 5, 0.9);
    }
}

/* Responsive بسيط */
@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .top-nav ul {
        gap: 0.9rem;
        font-size: 0.85rem;
        flex-wrap: wrap;
    }

    main {
        padding-top: 3rem;
    }
}


/* --- ضبط ارتفاع سلايدر التمر --- */

/* الحاوية اللي جواها كل السلايدات */
.hero-slides {
    min-height: 280px;   /* جرّب 320 أو 340 لو عايز السلايدر أطول */
}

/* كل سلايد ياخد الخلفية بالكامل */
.hero-slide {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* تحريك محتوى النص شوية لتحت داخل السلايد */
.hero-slide_content {
    padding-top: 1.8rem;   /* لو لسه قريب من الحافة زوّدها لـ 2.2 أو 2.5 */
     line-height: 1.9;
    opacity: 0.9;
}

/* قسم قياسي عام */
.section {
    margin-top: 2.5rem;
    padding: 1.8rem 1.5rem 2.4rem;
    border-radius: 22px;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.88),
        rgba(40, 20, 8, 0.9)
    );
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
}

/* قسم المنتجات */
.section--products {
    max-width: 1100px;
    margin-inline: auto;
}

/* شبكة الكروت: 3 في الصف على الشاشات الواسعة */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.4rem;
}

/* الكارت */
/* .product-card {
    padding: 1rem;
    border-radius: 18px;
    background: radial-gradient(circle at 0% 0%, rgba(240, 194, 123, 0.14), transparent 55%),
                radial-gradient(circle at 100% 100%, rgba(153, 101, 54, 0.22), transparent 60%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.75);
    transition:
        transform 0.16s ease,
        box-shadow 0.16s ease,
        border-color 0.16s ease;
} */

/* صورة المنتج داخل الكارت – نفس المقاس ونفس الحواف لكل الكروت */
.product-card__image-wrap {
    border-radius: 18px;
    overflow: hidden;
    background: #000;
    flex: 0 0 auto;
}

.product-card__image-wrap img {
    display: block;
    width: 100%;
    height: 240px;   /* تقدر تخليها 260 لو حابب الصورة أطول شوية */
    object-fit: cover;
}

.product-card__subtitle {
    margin-top: 0.4rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #f0c27b;
}


.product-card {
    background: radial-gradient(circle at 10% 0%, #1b130f, #050301 70%);
    border-radius: 22px;
    padding: 0.9rem;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 26px 60px rgba(0,0,0,0.8);
    display: block;   /* أهم سطر – حل المشكلة */
}


/* يجعل الكارت بالكامل قابل للضغط */
.product-card__link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* الصورة المربعة بحواف دائرية */
/* .product-card__image-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;          /* مربع */
    /* border-radius: 16px;
    overflow: hidden;
    background: #000;
} */ */

/* .product-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
} */

/* النص أسفل الصورة */
.product-card__info {
    margin-top: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.product-card__title {
    font-size: 1rem;
    color: #ffe1a3;
}

.product-card__more {
    font-size: 0.85rem;
    color: #f0c27b;
    text-decoration: underline;
}


.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

/* .product-card {
    max-width: 360px;
    margin-inline: auto;
} */

/* ===== ضبط حجم كارت المنتج ===== */
.product-card {
    position: relative;
    width: 100%;                /* الكارت يملأ عمود الـ grid بالكامل */
    /* max-width: 340px;  ← شيلناها */
    /* margin-inline: auto; ← شيلناها */

    background: radial-gradient(circle at 10% 0%, #1b130f, #050301 70%);
    border-radius: 22px;
    padding: 0.9rem 0.9rem 1.1rem;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;

    height: auto;
    min-height: 0;
}


/* .product-card__image img {
    height: 230px;
    object-fit: cover;
} */

/* على الموبايل: 2 كارت في الصف */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ------------------------------------
   قسم المنتجات - كروت التمور
------------------------------------ */

.products-section {
    margin: 3rem auto 0;
    max-width: 1120px;
    padding-inline: 0.75rem;
}

.products-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
}

/* صورة المنتج داخل الكارت */
/* .product-card__image {
    flex: 0 0 auto;
} */

/* .product-card__image img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
} */

/* النصوص داخل الكارت */
.product-card__content {
    padding: 1.5rem 1.75rem 1.9rem;
    text-align: right;
}

.product-card__content h2 {
    font-size: 1.4rem;
    margin-bottom: 0.85rem;
    color: #f8f6f2;
}

.product-card__content p {
    font-size: 0.95rem;
    line-height: 1.9;
    margin-bottom: 0.45rem;
    opacity: 0.9;
}

/* رابط شفاف يغطي الكارت بالكامل علشان الكليك */
.product-card__link {
    position: absolute;
    inset: 0;
    z-index: 3;
    text-decoration: none;
}


/* فقرة آخر الكارت (الدعوة للتواصل) */
.product-card__content p:last-child {
    margin-top: 0.6rem;
    font-weight: 600;
    color: #f0c27b;
    opacity: 1;
}

/* على الشاشات الأوسع نضبط الشبكة عشان لما نزود كروت */
@media (min-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    /* .product-card__image img {
        height: 220px;
    } */
}

/* صورة الكارت */
/* .product-card__image-wrap {
    border-radius: 18px;
    overflow: hidden;
    background: #000;
} */

/* .product-card__image-wrap img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
} */

/* تصغير ارتفاع منطقة الكروت عشان ما تبقاش عمود طويل */
.products-section {
    min-height: 0 !important;
}


/* صفحة تفاصيل المنتج */
.product-page {
    min-height: calc(100vh - 160px);
    padding: 2.5rem 1.5rem 3.5rem;
}

.product-detail {
    max-width: 1120px;
    margin: 0 auto;
    border-radius: 24px;
    padding: 2rem 2.2rem;
    background: radial-gradient(circle at 10% 0%, #1b130f, #050301 70%);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
    gap: 2.2rem;
    align-items: flex-start;
}

.product-detail__media {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-detail__image-main {
    border-radius: 20px;
    overflow: hidden;
    background: #000;
}

.product-detail__image-main img {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.product-detail__thumbs {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.product-detail__thumbs img {
    width: 80px;
    height: 80px;
    border-radius: 14px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.9;
    transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
}

.product-detail__thumbs img:hover {
    transform: scale(1.05);
    opacity: 1;
    box-shadow: 0 0 14px rgba(240, 194, 123, 0.7);
}

.product-detail__content {
    text-align: right;
}

.product-detail__content h1 {
    font-size: 1.9rem;
    margin-bottom: 0.4rem;
}

.product-detail__content h2 {
    font-size: 1.15rem;
    margin-bottom: 1.1rem;
    color: #f0c27b;
}

.product-detail__content p {
    font-size: 0.97rem;
    line-height: 1.9;
    margin-bottom: 0.55rem;
    opacity: 0.9;
}

/* موبايل وتابات */
@media (max-width: 900px) {
    .product-detail {
        grid-template-columns: minmax(0, 1fr);
        padding: 1.6rem 1.3rem 2.2rem;
    }

    .product-detail__image-main img {
        height: 260px;
    }
}


/* ===== جاليري صور المجدول ===== */

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

/* الصورة الرئيسية */
.product-gallery-main img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 22px;
    object-fit: cover;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8);
}

/* صف الصور الصغيرة */
.product-gallery-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.3rem;
    justify-content: flex-start;
}

/* زر الصورة الصغيرة */
.product-thumb {
    border: none;
    padding: 0;
    margin: 0;
    background: transparent;
    cursor: pointer;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8);
    transition: transform 0.15s ease, box-shadow 0.15s ease, outline 0.15s ease;
}

.product-thumb img {
    display: block;
    width: 80px;
    height: 80px;
    object-fit: cover;
}

/* هوفر بسيط */
.product-thumb:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.95);
}

/* التمب نيل النشطة (الموافقة للصورة الرئيسية) */
.product-thumb.is-active {
    outline: 2px solid #f0c27b;
    box-shadow: 0 0 14px rgba(240, 194, 123, 0.8);
}

.contact-phone,
.contact-email {
    direction: ltr;
    unicode-bidi: bidi-override;
    text-align: right;
}


/* ===== قسم خدماتنا ===== */

.services-section {
    padding: 4rem 1.8rem 4.5rem;
    display: flex;
    justify-content: center;
}

.services-inner {
    width: 100%;
    max-width: 980px;
    margin-inline: auto;
    background: radial-gradient(circle at 10% 0%, #1b130f, #050301 70%);
    border-radius: 28px;
    padding: 2.5rem 2.7rem 3rem;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.85);
    text-align: right;
}

.section-title {
    font-size: 1.9rem;
    margin-bottom: 1.4rem;
    color: #f3a406;
}

.services-intro {
    font-size: 0.98rem;
    line-height: 2;
    margin-bottom: 1.4rem;
    opacity: 0.9;
}


/* ===== قسم خدماتنا – حبات تمر بدل الـ bullets ===== */
/* ===== قسم خدماتنا – حبات تمر بدل الـ bullets ===== */

.services-bullets {
    margin-top: 1.2rem;
}

/* نشيل النقط الافتراضية من الليست */
.services-bullets ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* كل سطر خدمة */
.services-bullets li {
    position: relative;
    padding-right: 2.4rem;      /* مساحة لحبة التمر على اليمين */
    margin-bottom: 0.55rem;
    line-height: 1.9;
    font-size: 0.96rem;
    text-align: right;          /* خلي النص نفسه يمين */
}

/* أيقونة حبة التمر */
.services-bullets li::before {
    content: "";
    position: absolute;
    right: 0;                   /* بدّلنا inset-inline-end بـ right علشان نثبتها يمين */
    top: 0.25rem;
    width: 20px;
    height: 20px;
    background-image: url("../images/dots/date-1.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* ===== قسم تواصل معنا ===== */
/* ===== قسم تواصل معنا ===== */

.contact-section {
    padding: 4rem 1.8rem 4.5rem;
    display: flex;
    justify-content: flex-end;   /* ناحية اليمين في RTL */
}

.contact-inner {
    width: 100%;
    max-width: 980px;
    margin-inline: auto;
    background: radial-gradient(circle at 10% 0%, #1b130f, #050301 70%);
    border-radius: 28px;
    padding: 2.7rem 2.7rem 3rem;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.85);

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
}

/* كل عمود (مصر / تركيا) */
.contact-block {
    text-align: right;           /* كل نصوص العمود ناحية اليمين */
}

.contact-block h3 {
    font-size: 1.4rem;
    margin-bottom: 0.9rem;
    color: #ebc805;
    text-align: center;          /* العنوان نفسه في المنتصف */
}

.contact-block p {
    font-size: 0.96rem;
    line-height: 1.9;
    margin-bottom: 0.25rem;
    opacity: 0.9;
}

/* أرقام التليفون */
.contact-phone {
    direction: ltr;              /* ترتيب الأرقام من الشمال لليمين */
    unicode-bidi: bidi-override;
    text-align: right;           /* لكن السطر كله ملزوق في اليمين */
    display: block;
}

/* ===== أعمدة الفوتر الإضافية ===== */

/* عمود روابط الموقع */
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 0.3rem;
}

/* شكل روابط الفوتر العادية */
.footer-link,
.footer-link:link,
.footer-link:visited {
  color: #f8f6f2;           /* نفس لون نص الفوتر */
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-link:hover {
  color: #f0c27b;          /* ذهبي خفيف على الهوفر */
}

/* كن وكيلاً لمنتجاتنا (عنوان على شكل رابط) */
.footer-title-link,
.footer-title-link:link,
.footer-title-link:visited {
  color: #ebc805;          /* نفس لون عناوين الأعمدة */
  text-decoration: none;
  font-weight: 700;
}

.footer-title-link:hover {
  color: #ffd86a;
}

/* عمود تابعنا */
.footer-social {
  display: block;          /* يلغي الـ flex القديم لو موجود */
  text-align: center;
}

.footer-social .social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.footer-social .social-icons img {
  width: 30px;
  height: 30px;
  display: block;
}

/* رابط سياسة الخصوصية تحت الأيقونات */
.footer-privacy {
  margin-top: 0.9rem;
}

.footer-privacy a,
.footer-privacy a:link,
.footer-privacy a:visited {
  color: #ffd86a;
  text-decoration: none;
  font-size: 1.4rem;
}

.footer-privacy a:hover {
  color: #f0c27b;
}



/* ================================
   صفحة الوكيل – agent.html
================================ */

/* الباكجراوند العام */
.inner-hero {
    width: 100%;
    background: url("assets/images/hero-bg.jpg") center/cover no-repeat;
    padding: 5rem 1rem;
    text-align: center;
    border-bottom: 4px solid #000;
    position: relative;
}

.inner-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.inner-hero__content {
    position: relative;
    z-index: 10;
}

.inner-hero h1 {
    font-size: 2.4rem;
    color: #f8f6f2;
    text-shadow: 0 0 18px rgba(255,255,255,0.55);
}

.inner-hero p {
    color: #f0c27b;
    margin-top: 0.7rem;
    font-size: 1.1rem;
    text-shadow: 0 0 12px rgba(0,0,0,0.6);
}


/* ====== الكارد الرئيسي ====== */
.agent-section {
    padding: 4rem 1.8rem;
    display: flex;
    justify-content: center;
}

.agent-inner {
    max-width: 980px;
    background: radial-gradient(circle at 20% 0%, #1b130f, #050301 75%);
    padding: 2.7rem;
    border-radius: 26px;
    box-shadow: 0 26px 60px rgba(0,0,0,0.85);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.4rem;
    align-items: center;
}


/* ====== صورة الوكيل ====== */
.agent-image img {
    width: 100%;
    border-radius: 22px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.65);
}


/* ====== النص ====== */
.agent-text p {
    color: #f8f6f2;
    line-height: 2;
    font-size: 1.05rem;
    margin-bottom: 1rem;
    opacity: 0.92;
}


/* ====== موبايل ====== */
@media (max-width: 768px) {
    .agent-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .agent-text p {
        text-align: center;
    }
}


/* ================================
   صفحة سياسة الخصوصية privacy.html
================================ */

.privacy-section {
    padding: 4rem 1.8rem;
    display: flex;
    justify-content: center;
}

.privacy-inner {
    max-width: 980px;
    background: radial-gradient(circle at 20% 0%, #1b130f, #050301 75%);
    padding: 2.7rem;
    border-radius: 26px;
    box-shadow: 0 26px 60px rgba(0,0,0,0.85);
}

.privacy-inner h2 {
    color: #f0c96b;
    margin-top: 1.7rem;
    margin-bottom: 0.6rem;
    font-size: 1.4rem;
}

.privacy-inner p,
.privacy-inner ul li {
    color: #f8f6f2;
    font-size: 1.05rem;
    line-height: 2;
    margin-bottom: 0.8rem;
    opacity: 0.92;
}

.privacy-inner ul {
    margin: 0 0 1rem;
    padding: 0 1.2rem;
}

/* فوتر */
.main-footer {
    text-align: center;
    font-size: 0.75rem;
    padding: 0.9rem 1rem 1.3rem;
    color: #b3b3b3;
    opacity: 0.7;
}

.sherif {
    font-family: "Remachine Script", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: normal;
    font-size: 35px;
    color: #e5f505;
}

.services-bullets li {
    position: relative;
    padding-right: 2.4rem;
    margin-bottom: 0.55rem;
    font-size: 0.96rem;
    text-align: right;
    line-height: 1.8;
}

.services-bullets li::before {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;                    /* حطها في نص السطر */
    transform: translateY(-50%); /* نزلها لنص الأيقونة بالضبط */
    width: 20px;
    height: 20px;
    background-image: url("../images/dots/date-1.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}



.product-gallery-main {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.product-gallery-main img,
.product-gallery-main video {
    width: 100%;
    display: block;
    border-radius: 12px;
}

.product-gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.product-thumb {
    border: none;
    padding: 0;
    background: none;
    cursor: pointer;
}

.product-thumb img {
    width: 75px;
    height: 75px;
    object-fit: cover;
    border-radius: 8px;
}


/* =========================================================== */
/* === كود شامل لمحاذاة جميع النصوص لليسار (منتجات ورئيسية) === */
/* =========================================================== */

/* 1. إجبار العناوين والفقرات والقوائم في الصفحات LTR أن تكون يسار */
html[dir="ltr"] h1,
html[dir="ltr"] h2,
html[dir="ltr"] h3,
html[dir="ltr"] h4,
html[dir="ltr"] p,
html[dir="ltr"] li,
html[dir="ltr"] span {
    text-align: left !important;
}

/* 2. إصلاح حاوية النصوص في صفحة المنتج */
html[dir="ltr"] .product-card__content {
    text-align: left !important;
    align-items: flex-start; /* لو فليكس بوكس، يبدأ من اليسار */
}

/* 3. ضمان أن الـ Body نفسه موجه لليسار */
html[dir="ltr"] body {
    text-align: left;
}

/* =========================================================== */
/* === كود خاص لإصلاح الموبايل فقط (Mobile Fix LTR) === */
/* =========================================================== */

@media (max-width: 991px) {
    /* إجبار جميع النصوص والعناوين والقوائم على اليسار في الشاشات الصغيرة */
    html[dir="ltr"] body,
    html[dir="ltr"] p,
    html[dir="ltr"] h1,
    html[dir="ltr"] h2,
    html[dir="ltr"] h3,
    html[dir="ltr"] h4,
    html[dir="ltr"] li,
    html[dir="ltr"] span,
    html[dir="ltr"] .hero-slide__content,
    html[dir="ltr"] .services-inner,
    html[dir="ltr"] .contact-block,
    html[dir="ltr"] .product-card__content,
    html[dir="ltr"] .oil-text {
        text-align: left !important;
    }

    /* إصلاح مكان أيقونة التمرة في قوائم الخدمات للموبايل */
    html[dir="ltr"] .services-bullets li {
        text-align: left !important;
        padding-right: 0 !important;
        padding-left: 2.4rem !important;
    }

    html[dir="ltr"] .services-bullets li::before {
        right: auto !important;
        left: 0 !important;
    }

    /* محاذاة أرقام الهواتف */
    html[dir="ltr"] .contact-phone,
    html[dir="ltr"] .contact-email {
        text-align: left !important;
    }
}

/* ================================================= */
/* === إصلاح مكان "النحل/النقاط" في القوائم (يسار) === */
/* ================================================= */

html[dir="ltr"] .services-bullets li {
    text-align: left !important;
    padding-right: 0 !important;    /* إلغاء المسافة اليمين */
    padding-left: 2.5rem !important; /* إضافة مسافة يسار للنحلة عشان الكلام ما يركبش عليها */
}

html[dir="ltr"] .services-bullets li::before {
    right: auto !important; /* إلغاء التثبيت يمين */
    left: 0 !important;     /* تثبيت النحلة يسار */
}