/* Alaa Eldin — home hero slider + "اختار لونك". Brand: red #D6031C, black #111 */
.alaa-hero, .alaa-colors { --ah-red: #D6031C; --ah-red-hov: #A90216; font-family: "Cairo", system-ui, sans-serif; }
.alaa-hero *:focus-visible, .alaa-colors *:focus-visible { outline: none; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ah-red); }

/* ---------- Hero ---------- */
.alaa-hero { position: relative; background: #0b0b0d; }
.alaa-hero-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.alaa-hero-track::-webkit-scrollbar { display: none; }
.alaa-hero-slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; height: clamp(440px, 40vw, 640px); overflow: hidden; }
.alaa-hero-slide picture, .alaa-hero-slide img { display: block; width: 100%; height: 100%; }
.alaa-hero-slide img { object-fit: cover; object-position: left center; } /* the product sits on the left; text on the right */

.alaa-hero-copy { position: absolute; inset: 0; display: flex; align-items: center; }
/* dark gradient behind the text (right side in RTL) */
.alaa-hero-copy::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgba(0,0,0,.88) 0%, rgba(0,0,0,.7) 34%, rgba(0,0,0,.35) 52%, rgba(0,0,0,0) 70%); pointer-events: none; }
[dir="ltr"] .alaa-hero-copy::before { background: linear-gradient(to right, rgba(0,0,0,.88) 0%, rgba(0,0,0,.7) 34%, rgba(0,0,0,.35) 52%, rgba(0,0,0,0) 70%); }
.alaa-hero-title, .alaa-hero-text { text-shadow: 0 2px 12px rgba(0,0,0,.45); }
.alaa-hero-copy .container { position: relative; }
.alaa-hero-box { max-width: 520px; color: #fff; text-align: start; padding-bottom: 24px; }
.alaa-hero-title { font-size: clamp(32px, 4vw, 56px); font-weight: 800; line-height: 1.25; margin: 0 0 10px; color: #fff; text-wrap: balance; }
.alaa-hero-text { font-size: clamp(17px, 1.6vw, 22px); line-height: 1.6; color: #e6e6ea; margin: 0 0 24px; }
.alaa-hero-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 10px 28px; border-radius: 999px; background: var(--ah-red); color: #fff; font-size: 18px; font-weight: 700; text-decoration: none; transition: background-color .15s, transform .1s; }
.alaa-hero-cta:hover { background: var(--ah-red-hov); color: #fff; text-decoration: none; }
.alaa-hero-cta:active { transform: scale(.98); }
[dir="ltr"] .alaa-hero-cta svg { transform: scaleX(-1); }

.alaa-hero-controls { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; align-items: center; gap: 8px; pointer-events: none; }
.alaa-hero-controls > * { pointer-events: auto; }
.alaa-hero-dots { display: flex; gap: 2px; }
.alaa-hero-dot { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.alaa-hero-dot::before { content: ""; width: 10px; height: 10px; border-radius: 999px; background: rgba(255,255,255,.55); transition: width .2s, background-color .2s; }
.alaa-hero-dot[aria-current="true"]::before { width: 26px; background: #fff; }
.alaa-hero-pause { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; display: grid; place-items: center; cursor: pointer; }
.alaa-hero-pause .i-play { display: none; }
.alaa-hero-pause[aria-pressed="true"] .i-play { display: block; }
.alaa-hero-pause[aria-pressed="true"] .i-pause { display: none; }

@media (max-width: 767.98px) {
    .alaa-hero-slide { height: auto; aspect-ratio: 4 / 5; max-height: 720px; }
    .alaa-hero-slide img { object-position: center bottom; } /* empty dark area on top holds the text */
    .alaa-hero-copy { align-items: flex-start; padding-top: 28px; }
    .alaa-hero-copy::before, [dir="ltr"] .alaa-hero-copy::before { background: linear-gradient(to bottom, rgba(0,0,0,.85) 0%, rgba(0,0,0,.5) 42%, rgba(0,0,0,0) 65%); }
    .alaa-hero-box { max-width: none; text-align: center; padding: 0 4px; }
    .alaa-hero-text { margin-bottom: 18px; }
    .alaa-hero-cta { min-height: 50px; font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
    .alaa-hero-track { scroll-behavior: auto; }
    .alaa-hero-dot::before, .alaa-hero-cta { transition: none; }
}

/* CTA targets land below the sticky header (≈155px on desktop, ≈90px on mobile) */
#vehicle-finder, #alaa-colors { scroll-margin-top: 96px; }
@media (min-width: 1200px) { #vehicle-finder, #alaa-colors { scroll-margin-top: 160px; } }
#vehicle-finder:focus { outline: none; }

/* ---------- اختار لونك ---------- */
.alaa-colors { padding: 40px 0 16px; background: #fff; }
.alaa-colors:focus { outline: none; }
.alaa-colors-head { text-align: center; margin-bottom: 20px; }
.alaa-colors-head h2 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; color: #111; margin: 0 0 4px; }
.alaa-colors-head p { color: #5f5f66; margin: 0; font-size: 15px; }
.alaa-colors-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.alaa-color-card { display: block; border: 1px solid #e4e4e8; border-radius: 14px; overflow: hidden; background: #fff; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.alaa-color-card:hover { border-color: var(--ah-red); box-shadow: 0 6px 18px rgba(0,0,0,.08); text-decoration: none; }
.alaa-color-card img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; background: #f6f6f7; }
.alaa-color-name { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 6px; font-weight: 700; font-size: 14px; color: #111; text-align: center; }
.alaa-color-dot { flex: 0 0 auto; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--st); }
@media (max-width: 991.98px) { .alaa-colors-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 575.98px) {
    .alaa-colors { padding-top: 28px; }
    .alaa-colors-grid { gap: 8px; }
    .alaa-color-name { font-size: 12.5px; padding: 8px 4px; flex-direction: column; gap: 4px; }
}

/* ---------- Home sections (§8): brands, why us, photos, FAQ, WhatsApp ---------- */
.ah-section { --ah-red: #D6031C; --ah-red-hov: #A90216; padding: 44px 0 8px; font-family: "Cairo", system-ui, sans-serif; }
.ah-section *:focus-visible, .ah-wa *:focus-visible { outline: none; box-shadow: 0 0 0 3px #fff, 0 0 0 5px #D6031C; }
.ah-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.ah-head h2 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; color: #111; margin: 0; }
.ah-head p { width: 100%; margin: 4px 0 0; color: #5f5f66; font-size: 15px; }
.ah-head-center { flex-direction: column; align-items: center; text-align: center; }
.ah-more { font-weight: 700; color: #D6031C; }
.ah-more:hover { color: #A90216; }

.ah-brands { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.ah-brand { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; border: 1px solid #e4e4e8; border-radius: 14px; background: #fff; text-align: center; text-decoration: none; height: 100%; transition: border-color .15s, box-shadow .15s; }
.ah-brand:hover { border-color: #D6031C; box-shadow: 0 6px 18px rgba(0,0,0,.08); text-decoration: none; }
.ah-brand img { width: 64px; height: 64px; object-fit: contain; }
.ah-brand-mono { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #f2f2f4; color: #111; font-weight: 800; font-size: 26px; }
.ah-brand-name { font-weight: 700; color: #111; font-size: 14px; line-height: 1.4; }
.ah-brand-count { font-size: 12.5px; color: #5f5f66; }

.ah-why { background: #f6f6f7; padding-bottom: 40px; margin-top: 40px; }
.ah-why-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ah-why-grid li { background: #fff; border-radius: 16px; padding: 22px 18px; text-align: center; }
.ah-why-ic { width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; background: rgba(214,3,28,.08); color: #D6031C; }
.ah-why-grid h3 { font-size: 17px; font-weight: 800; color: #111; margin: 0 0 4px; }
.ah-why-grid p { margin: 0; color: #5f5f66; font-size: 14px; line-height: 1.6; }

.ah-photos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; } /* 10 photos = 2 full rows */
.ah-photo { display: block; width: 100%; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: #f2f2f4; }
.ah-photo img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .25s ease-out; }
.ah-photo:hover img { transform: scale(1.04); }
.ah-lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1000px); max-height: 90vh; overflow: visible; }
.ah-lightbox::backdrop { background: rgba(0,0,0,.85); }
.ah-lightbox img { display: block; max-width: 100%; max-height: 86vh; border-radius: 12px; margin: auto; }
.ah-lightbox-close { position: absolute; top: -18px; inset-inline-end: -18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: #111; display: grid; place-items: center; cursor: pointer; }

.ah-faq-list { max-width: 860px; margin: 0 auto; }
.ah-faq-list details { border: 1px solid #e4e4e8; border-radius: 12px; background: #fff; margin-bottom: 10px; }
.ah-faq-list summary { cursor: pointer; list-style: none; padding: 14px 18px; min-height: 48px; font-weight: 700; font-size: 16px; color: #111; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.ah-faq-list summary::-webkit-details-marker { display: none; }
.ah-faq-list summary::after { content: "+"; flex: 0 0 auto; font-size: 22px; line-height: 1; color: #D6031C; }
.ah-faq-list details[open] summary::after { content: "−"; }
.ah-faq-list details p { margin: 0; padding: 0 18px 16px; color: #3a3a40; line-height: 1.8; }
.ah-faq-more { text-align: center; margin: 16px 0 0; font-weight: 700; }
.ah-faq-more a { color: #D6031C; }

.ah-wa { padding: 40px 0 48px; font-family: "Cairo", system-ui, sans-serif; }
.ah-wa-box { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: #111; color: #fff; border-radius: 18px; padding: 28px 32px; border-bottom: 5px solid #D6031C; }
.ah-wa-box h2 { color: #fff; font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; margin: 0 0 4px; }
.ah-wa-box p { margin: 0; color: #d4d4d8; }
.ah-wa-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 28px; border-radius: 999px; background: #0F7A35; color: #fff; font-weight: 700; font-size: 17px; text-decoration: none; }
.ah-wa-btn:hover { background: #0b5f29; color: #fff; text-decoration: none; }

@media (max-width: 1199.98px) { .ah-brands { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 991.98px) {
    .ah-brands { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .ah-why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
    .ah-section { padding-top: 32px; }
    .ah-brands { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .ah-brand img, .ah-brand-mono { width: 48px; height: 48px; }
    .ah-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .ah-wa-box { padding: 22px 20px; text-align: center; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .ah-photo img, .ah-brand { transition: none; } }

/* ---------- Content pages (about, policies, FAQ, shipping) ---------- */
.alaa-page { font-family: "Cairo", system-ui, sans-serif; font-size: 16px; line-height: 1.85; color: #26262b; max-width: 860px; }
[dir="rtl"] .alaa-page { text-align: right !important; }
.alaa-page h2 { font-size: 20px; font-weight: 800; color: #111; margin: 28px 0 10px; }
.alaa-page h2:first-child { margin-top: 0; }
.alaa-page p { margin: 0 0 14px; }
.alaa-page ul, .alaa-page ol { margin: 0 0 16px; padding-inline-start: 22px; }
.alaa-page li { margin-bottom: 6px; }
.alaa-page a { color: #D6031C; text-decoration: underline; text-underline-offset: 3px; }
.alaa-page strong { color: #111; }

/* ---------- Contact page ---------- */
.alaa-contact { padding: 32px 0 48px; font-family: "Cairo", system-ui, sans-serif; color: #26262b; }
.alaa-contact *:focus-visible { outline: none; box-shadow: 0 0 0 3px #fff, 0 0 0 5px #D6031C; }
.ac-title { font-size: clamp(26px, 3vw, 34px); font-weight: 800; color: #111; margin: 0 0 6px; }
.ac-lead { font-size: 17px; color: #5f5f66; margin: 0 0 24px; }
.ac-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; }
.ac-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.ac-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 10px 24px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 16px; border: 2px solid transparent; text-decoration: none; cursor: pointer; }
.ac-btn:hover { text-decoration: none; }
.ac-btn-wa { background: #0F7A35; color: #fff; } .ac-btn-wa:hover { background: #0b5f29; color: #fff; }
.ac-btn-call { background: #fff; color: #111; border-color: #111; } .ac-btn-call:hover { background: #111; color: #fff; }
.ac-btn-submit { width: 100%; background: #D6031C; color: #fff; } .ac-btn-submit:hover { background: #A90216; }
.ac-list { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0 0 20px; padding: 18px 20px; background: #f6f6f7; border-radius: 14px; }
.ac-list dt { font-weight: 700; color: #111; }
.ac-list dd { margin: 0; line-height: 1.7; }
.ac-list a { color: #D6031C; }
.ac-map { border-radius: 14px; overflow: hidden; border: 1px solid #e4e4e8; aspect-ratio: 16 / 9; background: #f2f2f4; }
.ac-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.ac-form-card { background: #fff; border: 1px solid #e4e4e8; border-radius: 16px; padding: 24px; }
.ac-form-card h2 { font-size: 20px; font-weight: 800; color: #111; margin: 0 0 16px; }
.ac-field { margin-bottom: 14px; }
.ac-field label { display: block; font-weight: 700; color: #111; margin-bottom: 6px; }
.ac-field label span { color: #D6031C; }
.ac-field label small { font-weight: 500; color: #5f5f66; }
.ac-field input, .ac-field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #c9c9d0; border-radius: 10px; font: inherit; font-size: 16px; background: #fff; }
.ac-field input[dir="ltr"] { text-align: right; }
.ac-field input[aria-invalid="true"], .ac-field textarea[aria-invalid="true"] { border-color: #B00217; }
.ac-err { color: #B00217; font-size: 14px; font-weight: 700; margin: 6px 0 0; }
.ac-errors { background: #fff1f2; border: 1px solid #f3b5bd; color: #7a0010; border-radius: 10px; padding: 12px 16px; margin-bottom: 16px; }
.ac-errors ul { margin: 6px 0 0; padding-inline-start: 18px; }
.ac-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ac-note { text-align: center; color: #5f5f66; font-size: 14px; margin: 10px 0 0; }
@media (max-width: 991.98px) { .ac-grid { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .ac-list { grid-template-columns: 1fr; gap: 2px 0; } .ac-list dd { margin-bottom: 10px; } .ac-btn { flex: 1; } }
