/* ============================================================
   about.css — About page styles
   Natural Soap Outpost
   Path: store/static/store/css/pages/about.css
   ============================================================ */

/* ── Hero ────────────────────────────────────────────────────── */
.about-hero {
  padding: 0 0 2rem;
}

.about-hero__img-wrap {
  margin: 0 0 2rem;
  border-radius: var(--radius, 0.5rem);
  overflow: hidden;
  width: 100%;
}

.about-hero__img {
  width: 100%;
  height: auto;
  display: block;
}

.about-hero__eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary, #2d6a4f);
  margin-bottom: 0.75rem;
}

.about-hero__heading {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--color-text, #111);
}

.about-hero__sub {
  font-size: 1.1rem;
  color: var(--color-muted, #6b7280);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about-hero__cta {
  display: inline-block;
}

/* ── Inline floating images ──────────────────────────────────── */

/* Mobile first — full width, no float */
.about-inline-img {
  width: 100%;
  margin: 0 0 1.25rem;
}

.about-inline-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius, 0.5rem);
}

.about-inline-img figcaption {
  font-size: 0.8rem;
  color: var(--color-muted, #6b7280);
  margin-top: 0.4rem;
  font-style: italic;
}

/* Float only on larger screens */
@media (min-width: 681px) {
  .about-inline-img {
    max-width: 42%;
    margin-bottom: 1rem;
  }

  .about-inline-img--left {
    float: left;
    clear: left;
    margin: 0.25rem 1.75rem 1rem 0;
  }

  .about-inline-img--right {
    float: right;
    clear: right;
    margin: 0.25rem 0 1rem 1.75rem;
  }
}

/* Clear floats inside each section card */
.about-section::after {
  content: "";
  display: table;
  clear: both;
}

/* Store image — full width inside visit section */
.about-store-img {
  margin: 0 0 1rem;
  border-radius: var(--radius, 0.5rem);
  overflow: hidden;
  aspect-ratio: 16 / 6;
}

.about-store-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Content Sections ────────────────────────────────────────── */
.about-section {
  margin-bottom: 1.5rem;
}

.about-section h2 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--color-text, #111);
}

.about-section p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: var(--color-text, #111);
}

.about-section p:last-child {
  margin-bottom: 0;
}

/* Ingredient list */
.about-ingredient-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.6rem;
}

.about-ingredient-list li {
  background: var(--color-surface-alt, #f3f4f6);
  border-radius: var(--radius, 0.5rem);
  padding: 0.65rem 1rem;
  font-size: 0.92rem;
  line-height: 1.4;
}

/* ── Values Strip ────────────────────────────────────────────── */
.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.about-value {
  background: var(--color-surface, #fff);
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: var(--radius, 0.5rem);
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.about-value__icon {
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.about-value strong {
  font-size: 0.95rem;
  color: var(--color-text, #111);
}

.about-value p {
  font-size: 0.87rem;
  color: var(--color-muted, #6b7280);
  margin: 0;
  line-height: 1.5;
}

/* ── Visit Section ───────────────────────────────────────────── */
.about-visit {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-visit h2 {
  margin-bottom: 0.25rem;
}

.about-visit .btn {
  align-self: flex-start;
  margin-right: 0.5rem;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 680px) {
  .about-hero__img-wrap {
    aspect-ratio: 16 / 9;
    border-radius: 0;
  }

  .about-store-img {
    aspect-ratio: 4 / 3;
  }

  .about-ingredient-list {
    grid-template-columns: 1fr;
  }

  .about-values {
    grid-template-columns: 1fr 1fr;
  }

  .about-visit .btn {
    width: 100%;
    margin-right: 0;
    text-align: center;
  }
}

@media (max-width: 400px) {
  .about-values {
    grid-template-columns: 1fr;
  }
}

/* ── Social section ──────────────────────────────────────────── */
.about-social__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.about-social__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: var(--radius, 0.5rem);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text, #111);
  text-decoration: none;
  background: var(--color-surface, #fff);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.about-social__btn:hover {
  border-color: var(--brand, #2d6a4f);
  box-shadow: 0 2px 8px rgba(47, 107, 79, 0.12);
}

@media (max-width: 600px) {
  .about-social__links {
    flex-direction: column;
  }

  .about-social__btn {
    width: 100%;
  }
}