/* ==========================================================================
   EL BASHA — Stylesheet
   A trade-house palette built from the product world itself: charcoal
   warehouse steel, roasted-cumin gold, paprika red, and unbleached
   parchment. Fraunces carries the headlines (it has the same warm,
   calligraphic weight as the wordmark); Work Sans carries the reading.
   ========================================================================== */

:root {
  --charcoal: #1b1712;
  --charcoal-2: #26201a;
  --charcoal-3: #322a21;
  --gold: #c6952f;
  --gold-light: #e7c877;
  --gold-dim: #8c6a24;
  --cream: #f4efe3;
  --paper: #fbf8f1;
  --ink: #211c15;
  --ink-soft: #57503f;
  --spice: #a63d26;
  --line: rgba(27, 23, 18, 0.12);
  --line-on-dark: rgba(244, 239, 227, 0.16);

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Work Sans", "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 4px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--charcoal);
}
p {
  margin: 0 0 1em;
  max-width: 62ch;
}
button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.btn-gold {
  background: var(--gold);
  color: var(--charcoal);
}
.btn-gold:hover {
  background: var(--gold-light);
}
.btn-line {
  border-color: rgba(244, 239, 227, 0.5);
  color: var(--paper);
}
.btn-line:hover {
  border-color: var(--paper);
  background: rgba(244, 239, 227, 0.08);
}
.btn-dark {
  background: var(--charcoal);
  color: var(--paper);
}
.btn-dark:hover {
  background: var(--charcoal-2);
}
.btn-outline-dark {
  border-color: var(--charcoal);
  color: var(--charcoal);
}
.btn-outline-dark:hover {
  background: var(--charcoal);
  color: var(--paper);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 241, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  line-height: 1;
}
.logo-text span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
  margin-top: 3px;
}
.main-nav {
  display: flex;
  gap: 36px;
  margin: 0 auto;
}
.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--charcoal);
}
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  background: var(--gold);
}
.header-cta {
  flex-shrink: 0;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 20px 28px 28px;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }
  .main-nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .header-cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
}

/* ---------- Hero Slider ---------- */
.hero-slider {
  position: relative;
  height: 88vh;
  min-height: 560px;
  overflow: hidden;
  background: var(--charcoal);
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.slide.active {
  opacity: 1;
  visibility: visible;
}
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(15, 13, 10, 0.86) 0%,
    rgba(15, 13, 10, 0.55) 45%,
    rgba(15, 13, 10, 0.35) 100%
  );
}
.slide-content {
  position: relative;
  z-index: 2;
  padding-bottom: 120px;
  max-width: 720px;
}
.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.slide-tag::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold-light);
}
.slide-content h1 {
  color: var(--paper);
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  margin-bottom: 20px;
}
.slide-content p {
  color: rgba(244, 239, 227, 0.82);
  font-size: 1.08rem;
  max-width: 52ch;
  margin-bottom: 30px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.slider-controls {
  position: absolute;
  bottom: 36px;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}
.slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(244, 239, 227, 0.4);
  background: transparent;
  color: var(--paper);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}
.slider-arrow:hover {
  border-color: var(--gold);
  background: rgba(198, 149, 47, 0.15);
}
.slider-dots {
  display: flex;
  gap: 10px;
}
.slider-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(244, 239, 227, 0.35);
  border: none;
  padding: 0;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.slider-dot.active {
  background: var(--gold);
  transform: scale(1.2);
}

@media (max-width: 640px) {
  .hero-slider {
    height: 78vh;
    min-height: 480px;
  }
  .slide-content {
    padding-bottom: 90px;
  }
  .hero-cta .btn {
    padding: 12px 20px;
    font-size: 0.88rem;
  }
}

/* ---------- Section basics ---------- */
.section {
  padding: 96px 0;
}
.section-tight {
  padding: 64px 0;
}
.section-dark {
  background: var(--charcoal);
  color: var(--cream);
}
.section-dark h2,
.section-dark h3 {
  color: var(--paper);
}
.section-dark p {
  color: rgba(244, 239, 227, 0.75);
}
.section-header {
  max-width: 640px;
  margin-bottom: 52px;
}
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--spice);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 14px;
}
.section-kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--spice);
}
.section-dark .section-kicker {
  color: var(--gold-light);
}
.section-dark .section-kicker::before {
  background: var(--gold-light);
}
.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}
.section-header p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.rule {
  height: 1px;
  background: var(--line);
  border: none;
  margin: 0;
}

/* ---------- About snippet (home) ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-grid img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.about-copy .lede {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--charcoal);
  font-weight: 500;
  line-height: 1.5;
}
.pillars {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}
.pillar {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.pillar-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  color: var(--spice);
}
.pillar h4 {
  margin-bottom: 4px;
  font-size: 1.02rem;
}
.pillar p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--ink-soft);
}

@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .about-grid .about-image {
    order: -1;
  }
}

/* ---------- Category grid ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.category-card {
  position: relative;
  background: var(--paper);
  min-height: 300px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.category-card:hover img {
  transform: scale(1.06);
}
.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(15, 13, 10, 0.88) 0%,
    rgba(15, 13, 10, 0.15) 65%,
    transparent 100%
  );
  z-index: 1;
}
.category-card-body {
  position: relative;
  z-index: 2;
  padding: 22px;
  width: 100%;
}
.category-index {
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 6px;
}
.category-card h3 {
  color: var(--paper);
  font-size: 1.15rem;
  margin-bottom: 0;
}
.category-card .ar {
  color: rgba(244, 239, 227, 0.65);
  font-size: 0.85rem;
  margin-top: 4px;
}

/* ---------- Why / Values numbered list ---------- */
.value-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 60px;
}
.value-item {
  display: flex;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--line-on-dark);
}
.section:not(.section-dark) .value-item {
  border-top: 1px solid var(--line);
}
.value-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold);
  flex-shrink: 0;
  width: 40px;
}
.value-item h4 {
  margin-bottom: 6px;
  font-size: 1.08rem;
}
.value-item p {
  margin: 0;
  font-size: 0.95rem;
}
.section-dark .value-item p {
  color: rgba(244, 239, 227, 0.7);
}

@media (max-width: 760px) {
  .value-list {
    grid-template-columns: 1fr;
  }
}

/* ---------- Stat band ---------- */
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: left;
}
.stat-item .stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
}
.stat-item .stat-label {
  font-size: 0.88rem;
  color: rgba(244, 239, 227, 0.65);
}
@media (max-width: 760px) {
  .stat-band {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  padding: 60px;
  background-size: cover;
  background-position: center;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 13, 10, 0.72);
}
.cta-banner-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
}
.cta-banner h2 {
  color: var(--paper);
}
.cta-banner p {
  color: rgba(244, 239, 227, 0.8);
}

@media (max-width: 640px) {
  .cta-banner {
    padding: 40px 26px;
  }
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative;
  padding: 150px 0 70px;
  background-size: cover;
  background-position: center;
  color: var(--paper);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(15, 13, 10, 0.9) 20%,
    rgba(15, 13, 10, 0.55) 100%
  );
}
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}
.page-hero .breadcrumb {
  font-size: 0.85rem;
  color: rgba(244, 239, 227, 0.6);
  margin-bottom: 16px;
}
.page-hero .breadcrumb a {
  color: rgba(244, 239, 227, 0.85);
}
.page-hero h1 {
  color: var(--paper);
  font-size: clamp(2rem, 4vw, 3rem);
}
.page-hero p {
  color: rgba(244, 239, 227, 0.8);
  font-size: 1.05rem;
}

/* ---------- Mission / Vision ---------- */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.mv-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 40px;
  border-radius: var(--radius);
}
.mv-card .mv-icon {
  width: 42px;
  height: 42px;
  color: var(--spice);
  margin-bottom: 22px;
}
.mv-card h3 {
  font-size: 1.4rem;
}
.mv-card p {
  color: var(--ink-soft);
  margin-bottom: 0;
}
@media (max-width: 760px) {
  .mv-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Team / facility split ---------- */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.split img {
  border-radius: var(--radius);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 5/6;
}
.split.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}
.split.reverse .split-media {
  order: 2;
}
@media (max-width: 860px) {
  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }
  .split.reverse .split-media {
    order: -1;
  }
}

/* ---------- Products page ---------- */
.category-nav {
  position: sticky;
  top: 84px;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  white-space: nowrap;
}
.category-nav .container {
  /* overflow-x: auto; */
  display: flex;
  gap: 6px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.category-nav a {
  flex-shrink: 0;
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  border-radius: 999px;
  border: 1px solid var(--line);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.category-nav a:hover,
.category-nav a.active {
  background: var(--charcoal);
  color: var(--paper);
  border-color: var(--charcoal);
}

.product-category {
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}
.product-category:last-child {
  border-bottom: none;
}
.pc-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 44px;
}
.pc-head img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.pc-eyebrow {
  color: var(--spice);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.pc-head h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  margin-bottom: 10px;
}
.pc-head .ar-title {
  font-family: var(--font-display);
  color: var(--ink-soft);
  font-size: 1.1rem;
  margin-bottom: 14px;
}
.pc-head p {
  color: var(--ink-soft);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 28px 22px;
}
.product-item {
  text-align: left;
}
.product-thumb {
  aspect-ratio: 1/1;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid var(--line);
  /* overflow: hidden; */
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
@media only screen and (min-width: 640px) {
  .product-thumb img {
    transition: all 0.3s;
  }
  .product-thumb:hover img {
    scale: 1.3;
    transform: rotate(15deg);
  }
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-item h5 {
  margin: 0 0 3px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--charcoal);
}
.product-item .ar-name {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

@media (max-width: 760px) {
  .pc-head {
    grid-template-columns: 1fr;
  }
  .pc-head .pc-media {
    order: -1;
  }
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.info-card {
  display: flex;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.info-card:last-child {
  padding-bottom: 0;
}
.info-icon {
  width: 30px;
  height: 30px;
  color: var(--spice);
  flex-shrink: 0;
}
.info-card h4 {
  margin-bottom: 4px;
  font-size: 1rem;
}
.info-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.form-card {
  background: var(--charcoal);
  border-radius: var(--radius);
  padding: 44px;
}
.form-card h3 {
  color: var(--paper);
  margin-bottom: 6px;
}
.form-card > p {
  color: rgba(244, 239, 227, 0.65);
  margin-bottom: 28px;
}
.field {
  margin-bottom: 20px;
}
.field label {
  display: block;
  font-size: 0.85rem;
  color: rgba(244, 239, 227, 0.75);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  background: rgba(244, 239, 227, 0.06);
  border: 1px solid rgba(244, 239, 227, 0.2);
  border-radius: var(--radius);
  color: var(--paper);
  font-family: inherit;
  font-size: 0.95rem;
}
.field textarea {
  resize: vertical;
  min-height: 110px;
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(244, 239, 227, 0.4);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-card .btn-gold {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16/9;
}
.map-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: rgba(244, 239, 227, 0.75);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-brand .logo-text {
  color: var(--paper);
}
.footer-brand p {
  color: rgba(244, 239, 227, 0.6);
  font-size: 0.92rem;
  margin-top: 16px;
  max-width: 32ch;
}
.footer-col h4 {
  color: var(--paper);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.9rem;
  color: rgba(244, 239, 227, 0.65);
  margin-bottom: 12px;
  transition: color 0.2s ease;
}
.footer-col a:hover {
  color: var(--gold-light);
}
.footer-bottom {
  border-top: 1px solid var(--line-on-dark);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(244, 239, 227, 0.5);
}
.footer-socials {
  display: flex;
  gap: 14px;
}
.footer-socials a {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-on-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-socials a:hover {
  border-color: var(--gold);
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Utilities ---------- */
.text-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.mt-0 {
  margin-top: 0;
}

.header-logo,
.footer-logo {
  max-width: 50px;
}

.d-flex{
  display: flex;
}
.align-items-center{
  align-items: center;
}
.g-3{
  gap: 1.5rem;
}