/* Handmade Bin El-Ouidane activity detail pages */

.ba-page {
  --ba-accent: #9a6230;
}

/* Light mosaic shows through activity page content */
.ba-page .ba-main {
  background-color: transparent;
  background-image: none;
}

.ba-page .ba-section,
.ba-page .ba-timing-card,
.ba-page .ba-hl,
.ba-page .ba-feature,
.ba-page .ba-form-inner {
  position: relative;
  z-index: 1;
}

.ba-page .ba-form-sec {
  background: rgba(235, 228, 214, 0.9);
}

.ba-back {
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px 0;
  font-family: Outfit, sans-serif;
  font-size: 13px;
}

.ba-back a {
  color: var(--navy, #243447);
  text-decoration: none;
  font-weight: 500;
}

.ba-back a:hover {
  color: var(--ba-accent);
}

/* Hero */
.ba-hero {
  position: relative;
  min-height: min(72vh, 680px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #1a1208;
}

.ba-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 18, 8, 0.78) 0%,
    rgba(26, 18, 8, 0.28) 48%,
    rgba(26, 18, 8, 0.35) 100%
  );
  z-index: 1;
}

.ba-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 56px;
  color: #fffcf7;
}

.ba-kicker {
  font-family: Outfit, sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 252, 247, 0.75);
  margin: 0 0 10px;
}

.ba-hero-inner h1 {
  font-family: "Bodoni Moda", serif;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 14px;
  color: #fff;
}

.ba-hero-lead {
  font-family: Outfit, sans-serif;
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  max-width: 38rem;
  line-height: 1.65;
  margin: 0 0 18px;
  color: rgba(255, 252, 247, 0.9);
}

.ba-time {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: Outfit, sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 252, 247, 0.7);
  border-top: 1px solid rgba(255, 252, 247, 0.25);
  padding-top: 14px;
  margin: 0;
}

.ba-time strong {
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #fff;
  font-weight: 600;
}

/* Main */
.ba-main {
  background: var(--cream, #f6f1e8);
}

.ba-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 56px 24px 8px;
}

.ba-section-title {
  font-family: "Bodoni Moda", serif;
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  color: var(--navy, #243447);
  margin: 0 0 20px;
}

.ba-prose p {
  font-family: Outfit, sans-serif;
  font-size: clamp(1.05rem, 1.3vw, 1.18rem);
  line-height: 1.8;
  color: var(--text, #1a2332);
  margin: 0 0 16px;
}

.ba-timing-block {
  padding-top: 28px;
  padding-bottom: 8px;
}

.ba-timing-card {
  border: 1px solid var(--border, #ddd4c4);
  background: #fff;
  padding: 28px 28px 24px;
  border-left: 4px solid var(--ba-accent);
}

.ba-timing-card .eyebrow {
  color: var(--ba-accent);
  margin-bottom: 8px;
}

.ba-timing-value {
  font-family: "Bodoni Moda", serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--navy, #243447);
  margin: 0 0 8px;
}

.ba-timing-note {
  font-family: Outfit, sans-serif;
  font-size: 14px;
  color: var(--muted, #5c5348);
  margin: 0;
}

.ba-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.ba-hl {
  background: #fff;
  border: 1px solid var(--border, #ddd4c4);
  padding: 18px 20px;
  display: grid;
  gap: 6px;
}

.ba-hl strong {
  font-family: "Bodoni Moda", serif;
  font-size: 1.2rem;
  color: var(--navy, #243447);
  font-weight: 600;
}

.ba-hl span {
  font-family: Outfit, sans-serif;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--muted, #5c5348);
}

/* Feature split */
.ba-feature {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  margin: 48px 0 0;
  background: #fff;
  border-top: 1px solid var(--border, #ddd4c4);
  border-bottom: 1px solid var(--border, #ddd4c4);
}

.ba-feature-photo {
  margin: 0;
  min-height: 420px;
  position: relative;
  overflow: hidden;
  background: #efe6d8;
}

.ba-feature-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-feature-copy {
  padding: clamp(32px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.ba-feature-copy .eyebrow {
  color: var(--ba-accent);
  margin: 0;
}

.ba-feature-copy h2 {
  font-family: "Bodoni Moda", serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--navy, #243447);
  margin: 0;
}

.ba-feature-copy p {
  font-family: Outfit, sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text, #1a2332);
  margin: 0 0 8px;
}

.ba-feature-copy .btn {
  align-self: flex-start;
}

/* Gallery */
.ba-gallery-sec {
  max-width: 1120px;
  padding-bottom: 24px;
}

.ba-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.ba-gal-item {
  margin: 0;
  overflow: hidden;
  background: #efe6d8;
  aspect-ratio: 4 / 5;
}

.ba-gal-item:nth-child(3n) {
  aspect-ratio: 16 / 10;
  grid-column: span 2;
}

.ba-gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Form */
.ba-form-sec {
  background: #ebe4d6;
  padding: 64px 24px 80px;
  margin-top: 40px;
  border-top: 1px solid var(--border, #ddd4c4);
}

.ba-form-inner {
  max-width: 720px;
  margin: 0 auto;
}

.ba-form-inner .eyebrow {
  color: var(--ba-accent);
}

.ba-form-inner h2 {
  font-family: "Bodoni Moda", serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--navy, #243447);
  margin: 8px 0 12px;
}

.ba-form-lead {
  font-family: Outfit, sans-serif;
  color: var(--muted, #5c5348);
  margin: 0 0 28px;
}

.ba-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.ba-form label {
  display: grid;
  gap: 6px;
  font-family: Outfit, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy, #243447);
}

.ba-form-full {
  grid-column: 1 / -1;
}

.ba-form input,
.ba-form textarea {
  font-family: Outfit, sans-serif;
  font-size: 15px;
  font-weight: 400;
  padding: 12px 14px;
  border: 1px solid var(--border, #ddd4c4);
  background: #fff;
  color: var(--text, #1a2332);
  width: 100%;
  box-sizing: border-box;
}

.ba-form input:focus,
.ba-form textarea:focus {
  outline: 2px solid var(--ba-accent);
  outline-offset: 1px;
}

.ba-form-status {
  margin-top: 14px;
  font-family: Outfit, sans-serif;
  font-size: 14px;
}

.ba-form-status[data-state="ok"] {
  color: #1f2e28;
}

.ba-form-status[data-state="error"] {
  color: #8b2e2e;
}

/* Soft light tone washes over mosaic */
.ba-tone--earth .ba-main { background: rgba(246, 241, 232, 0.72); }
.ba-tone--forest .ba-main { background: rgba(238, 243, 239, 0.72); }
.ba-tone--clay .ba-main { background: rgba(244, 235, 227, 0.72); }
.ba-tone--lake .ba-main { background: rgba(232, 241, 242, 0.72); }
.ba-tone--navy .ba-main { background: rgba(233, 238, 243, 0.72); }
.ba-tone--sage .ba-main { background: rgba(238, 240, 232, 0.72); }
.ba-tone--cyan .ba-main { background: rgba(231, 242, 247, 0.72); }
.ba-tone--ink .ba-main { background: rgba(236, 234, 230, 0.72); }

@media (max-width: 900px) {
  .ba-feature {
    grid-template-columns: 1fr;
  }

  .ba-feature-photo {
    min-height: 280px;
    aspect-ratio: 16 / 10;
  }

  .ba-form-grid {
    grid-template-columns: 1fr;
  }

  .ba-gal-item:nth-child(3n) {
    grid-column: span 1;
    aspect-ratio: 4 / 5;
  }
}
