/* =========================================================================
   Sound Level Events & Productions: Spec C page styles
   AV service pages, package pages, event/gallery pages.
   Extends the tokens and components defined in main.css (Spec A); this
   file only adds new component classes, it does not redeclare tokens.
   ========================================================================= */

/* ---------- Breadcrumb ---------- */
.breadcrumb { margin-bottom: var(--space-3); }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}
.breadcrumb li { list-style: none; }
.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.4rem;
  color: rgba(255, 255, 255, 0.35);
}
.breadcrumb a { color: rgba(255, 255, 255, 0.75); }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb li[aria-current="page"] { color: var(--color-accent); }

/* ---------- Service / package / event hero band ----------
   Oswald caps on black, per house pattern for interior pages. */
.hero-service {
  background: var(--color-ink);
  color: var(--color-white);
  padding-block: var(--space-5) var(--space-6);
}
.hero-service__eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
  color: var(--color-accent);
  margin-bottom: var(--space-1);
}
.hero-service__title {
  font-size: clamp(2rem, 1.5rem + 2.4vw, 3.25rem);
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.1;
  max-width: 900px;
}

/* ---------- Service intro / essay copy ----------
   Spec I: left aligned so it shares the breadcrumb's and equipment grid's
   left edge instead of floating centred in its own column (was three
   different left edges on one page). .service-intro--wide and --split are
   opt in per page, only when the generator finds enough real content to
   justify it, see build-services.mjs introLayoutClass(). */
.service-intro { max-width: var(--measure); }
.service-intro p { font-size: 1.05rem; color: var(--color-text); }
.service-intro p + p { margin-top: var(--space-2); }

@media (min-width: 1200px) {
  .service-intro--wide { max-width: 74ch; }
}

.service-intro__copy { min-width: 0; }
@media (min-width: 1200px) {
  .service-intro--split {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: var(--space-6);
    align-items: start;
  }
  .service-intro--split .service-intro__copy { max-width: 74ch; }
  .service-intro--split .service-intro__aside {
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-3);
    position: sticky;
    top: calc(var(--header-height) + var(--space-3));
  }
  .service-intro--split .service-intro__aside .event-list-heading { margin-top: 0; }
  .service-intro--split .service-intro__aside .service-bullet-list { grid-template-columns: 1fr; }
}

.event-list-heading {
  margin-top: var(--space-4);
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}
.service-bullet-list {
  margin-top: var(--space-2);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 1.5rem;
}
.service-bullet-list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.98rem;
  color: var(--color-text);
}
.service-bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}
@media (max-width: 620px) {
  .service-bullet-list { grid-template-columns: 1fr; }
}

/* ---------- Equipment grid (AV service product cards) ---------- */
.equipment-grid__heading {
  text-align: center;
  margin-bottom: var(--space-4);
}
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.product-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-surface-alt); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__media--none {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--color-surface-alt), #ececec);
}
.product-card__body { padding: var(--space-3); display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.product-card__title { font-size: 1.05rem; text-transform: uppercase; line-height: 1.25; }
.product-card__spec { font-size: 0.9rem; color: var(--color-text-muted); flex: 1; }
.product-card__spec p + p { margin-top: 0.5rem; }
.product-card__spec strong { color: var(--color-text); }
.product-card__spec a { color: var(--color-accent); text-decoration: underline; }
.product-card__body .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 980px) {
  .equipment-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .equipment-grid { grid-template-columns: 1fr; }
}

/* ---------- Package tiers ---------- */
.package-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  align-items: stretch;
}
.package-tier {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.package-tier__media { aspect-ratio: 4 / 3; overflow: hidden; }
.package-tier__media img { width: 100%; height: 100%; object-fit: cover; }
.package-tier__body { padding: var(--space-3); display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.package-tier__name { font-size: 1.3rem; text-transform: uppercase; }
.package-tier__subtitle { font-size: 0.92rem; color: var(--color-text-muted); }
.package-tier__bullets { display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.package-tier__bullets li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.92rem;
  color: var(--color-text);
}
.package-tier__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}
.package-tier__price {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 1.1rem;
  color: var(--color-accent-dark);
}
@media (max-width: 980px) {
  .package-tiers { grid-template-columns: 1fr; }
}

/* ---------- Enhancements list (wedding packages) ---------- */
.enhancement-list {
  margin-top: var(--space-4);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-2);
}
.enhancement-list li {
  text-align: center;
  padding: var(--space-2) var(--space-1);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
@media (max-width: 860px) {
  .enhancement-list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .enhancement-list { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- LED Video Wall add-on card (corporate-packages) ---------- */
.led-wall-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  margin-top: var(--space-3);
}
.led-wall-card__media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-sm); }
.led-wall-card__media img { width: 100%; height: 100%; object-fit: cover; }
.led-wall-card__body h3 { font-size: 1.4rem; text-transform: uppercase; margin-bottom: 0.6rem; }
.led-wall-card__body p { color: rgba(255, 255, 255, 0.75); margin-bottom: 0.6rem; }
.led-wall-card__body ul { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: var(--space-2); }
.led-wall-card__body li { font-size: 0.92rem; color: rgba(255, 255, 255, 0.85); }
.led-wall-card__secondary { color: rgba(255, 255, 255, 0.55); font-size: 0.85rem; margin-top: var(--space-2); margin-bottom: 0; }
.led-wall-card__secondary a { color: rgba(255, 255, 255, 0.75); text-decoration: underline; text-underline-offset: 2px; }
.led-wall-card__secondary a:hover, .led-wall-card__secondary a:focus-visible { color: #fff; }
@media (max-width: 780px) {
  .led-wall-card { grid-template-columns: 1fr; }
}

/* ---------- PDF brochure tiles (packages-2) ---------- */
.pdf-tiles {
  margin-top: var(--space-4);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  max-width: 700px;
  margin-inline: auto;
}
.pdf-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: var(--space-4) var(--space-3);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  text-align: center;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.pdf-tile:hover { border-color: var(--color-accent); transform: translateY(-2px); }
.pdf-tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--color-ink);
  color: var(--color-white);
  font-family: var(--font-head);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}
.pdf-tile__label { font-family: var(--font-head); text-transform: uppercase; font-size: 1rem; }
.pdf-tile__hint { font-size: 0.8rem; color: var(--color-text-muted); }
@media (max-width: 560px) {
  .pdf-tiles { grid-template-columns: 1fr; }
}

/* ---------- Event / gallery grid ---------- */
.gallery-note {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin-bottom: var(--space-3);
}
.event-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
}
.event-gallery li { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-sm); }
.event-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.event-gallery li:hover img { transform: scale(1.05); }
@media (max-width: 980px) {
  .event-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .event-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Video CTA (no-embed fallback on /videos) ---------- */
.video-cta {
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}
.video-cta p { color: var(--color-text-muted); }
