/* =============================================================================
   SECTIONS.CSS — Al Itqan Decor V2
   Section-specific layout and composition styles
============================================================================= */

/* ═══════════════════════════════════════════════════════════
   §2 HERO — Centered text + background image slider
   ═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-charcoal);
}
@media (min-width: 1024px) { .hero { min-height: 100vh; } }

/* Slider: stack all slides, fade between them */
.hero__slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Gradient overlay — full coverage, darker for centered legibility */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(26,26,26,0.55) 0%,
    rgba(26,26,26,0.70) 50%,
    rgba(26,26,26,0.80) 100%
  );
}

/* Asiri geometric texture */
.hero__texture {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpolygon points='40,0 80,20 80,60 40,80 0,60 0,20' fill='none' stroke='%23B8956A' stroke-width='1'/%3E%3Cpolygon points='40,10 70,25 70,55 40,70 10,55 10,25' fill='none' stroke='%23B8956A' stroke-width='0.5'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

/* Slider dots */
.hero__dots {
  position: absolute;
  bottom: var(--sp-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: var(--sp-2);
}
.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--r-full);
  background: rgba(250,250,247,0.4);
  border: none;
  cursor: pointer;
  transition: background 300ms, width 300ms;
  padding: 0;
}
.hero__dot.is-active { background: var(--color-terracotta); width: 24px; }

/* Content — centered */
.hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  text-align: center;
  padding-block: var(--sp-10);
}
.hero__content {
  max-width: 780px;
  margin-inline: auto;
  padding-inline: var(--sp-5);
}
.hero__eyebrow { color: var(--color-terracotta-soft); margin-block-end: var(--sp-4); }
.hero__heading { color: var(--color-bone); margin-block-end: var(--sp-5); font-weight: 900; }
.hero__sub {
  color: var(--color-stone-light);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  margin-block-end: var(--sp-7);
  max-width: 56ch;
  margin-inline: auto;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: center;
  margin-block-end: var(--sp-7);
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
  justify-content: center;
  padding-block-start: var(--sp-5);
  border-block-start: 1px solid rgba(250,250,247,0.12);
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-stone-light);
}
.hero__trust-item svg { width: 15px; height: 15px; color: var(--color-terracotta-soft); flex-shrink: 0; }


/* ═══════════════════════════════════════════════════════════
   §3 SERVICES
   ═══════════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  gap: var(--sp-6);
}
@media (min-width: 768px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   §4 WHY US (Trust Pillars)
   ═══════════════════════════════════════════════════════════ */
.pillars-grid {
  display: grid;
  gap: var(--sp-6);
  margin-block-end: var(--sp-8);
}
@media (min-width: 640px)  { .pillars-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .pillars-grid { grid-template-columns: repeat(4,1fr); } }

/* Bottom CTA banner */
.pillars-cta-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  padding: var(--sp-6);
  border: 1px solid rgba(184,149,106,0.25);
  border-radius: var(--r-lg);
  text-align: center;
  flex-wrap: wrap;
}
.pillars-cta-banner p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--text-primary);
}

/* ═══════════════════════════════════════════════════════════
   §5 GALLERY
   ═══════════════════════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  gap: var(--sp-5);
}
@media (min-width: 640px)  { .gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3,1fr); } }

.gallery-after-cta {
  margin-block-start: var(--sp-8);
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════
   §6 TESTIMONIALS
   ═══════════════════════════════════════════════════════════ */
.testi-grid {
  display: grid;
  gap: var(--sp-6);
}
@media (min-width: 1024px) { .testi-grid { grid-template-columns: repeat(3,1fr); } }

/* ═══════════════════════════════════════════════════════════
   §7 SERVICE AREAS
   ═══════════════════════════════════════════════════════════ */
.areas-layout {
  display: grid;
  gap: var(--sp-8);
}
@media (min-width: 1024px) { .areas-layout { grid-template-columns: 1fr 1fr; align-items: start; } }

.areas-map {
  width: 100%;
  height: 320px;
  border-radius: var(--r-lg);
  border: none;
  background: #E5E3DF;
}
@media (min-width: 1024px) { .areas-map { height: 480px; } }

.areas-lists {
  display: grid;
  gap: var(--sp-6);
}
@media (min-width: 640px) { .areas-lists { grid-template-columns: 1fr 1fr; } }

.areas-city-title {

  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--color-terracotta);
  margin-block-end: var(--sp-4);
}
.areas-city-list { display: flex; flex-direction: column; gap: var(--sp-2); }
.areas-city-list li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--text-base);
  color: var(--text-secondary);
}
.areas-city-list li svg {
  width: 16px;
  height: 16px;
  color: var(--color-terracotta);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   §8 PROCESS
   ═══════════════════════════════════════════════════════════ */
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  position: relative;
}
@media (min-width: 1024px) {
  .process-timeline {
    flex-direction: row;
    gap: 0;
    align-items: flex-start;
  }
  /* Connecting dashed line between step numbers */
  .process-timeline::before {
    content: '';
    position: absolute;
    top: 26px;          /* center of the 52px circle */
    inset-inline-start: calc(52px / 2);
    inset-inline-end: calc(52px / 2);
    height: 2px;
    border-block-start: 2px dashed rgba(184,149,106,0.35);
    z-index: 0;
  }
}
.process-step {
  flex: 1;
  position: relative;
  z-index: 1;
}
@media (min-width: 1024px) {
  .process-step { padding-inline-end: var(--sp-6); }
  .process-step:last-child { padding-inline-end: 0; }
}

/* ═══════════════════════════════════════════════════════════
   §9 FAQ
   ═══════════════════════════════════════════════════════════ */
.faq-wrap {
  max-width: 800px;
  margin-inline: auto;
}

/* ═══════════════════════════════════════════════════════════
   §10 FINAL CTA
   ═══════════════════════════════════════════════════════════ */
.final-cta { text-align: center; }
.final-cta .type-h2 {
  color: var(--color-bone);
  margin-block-end: var(--sp-4);
}
.final-cta__sub {
  color: var(--color-stone-light);
  max-width: 52ch;
  margin-inline: auto;
  margin-block-end: var(--sp-7);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
}
.final-cta__buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  margin-block-end: var(--sp-6);
}
@media (min-width: 640px) {
  .final-cta__buttons { flex-direction: row; justify-content: center; }
}
.final-cta__hours {
  color: var(--color-stone-dark);
  font-size: var(--text-sm);
}

/* ═══════════════════════════════════════════════════════════
   §11 FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer {
  background: var(--color-charcoal);
  border-block-start: 1px solid rgba(184,149,106,0.15);
  padding-block: var(--sp-10) var(--sp-8);
}
.footer-grid {
  display: grid;
  gap: var(--sp-8);
  margin-block-end: var(--sp-8);
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

.footer-brand__logo {
  height: 64px;
  filter: brightness(0) invert(1);
  margin-block-end: var(--sp-4);
}
.footer-brand__desc {
  color: var(--color-stone-light);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  max-width: 32ch;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--color-bone);
  margin-block-end: var(--sp-5);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-col ul li { color: var(--color-stone-light); font-size: var(--text-sm); line-height: var(--leading-normal); }

.footer-bottom {
  padding-block-start: var(--sp-6);
  border-block-start: 1px solid rgba(250,250,247,0.07);
  text-align: center;
  color: var(--color-stone-light);
  font-size: var(--text-sm);
}
