/* ============================================
   TÂRGUL DE CRĂCIUN DIN SIBIU
   Attraction detail pages — 2026 Edition
   Builds on css/style.css design tokens.
   ============================================ */

/* Detail pages have no hero section, so push content below the fixed header. */
body.atr-page {
  background: var(--color-cream);
}

/* --- Banner --- */
.atr-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--announcement-height, 0px) + 7rem) 0 var(--space-2xl);
  overflow: hidden;
  background: var(--color-dark);
}

.atr-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.atr-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.atr-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.35) 0%, rgba(10, 10, 10, 0.55) 55%, rgba(10, 10, 10, 0.9) 100%);
}

.atr-hero__inner {
  position: relative;
  z-index: 1;
  color: var(--color-white);
}

.atr-breadcrumb {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-md);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.atr-breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
}

.atr-breadcrumb a:hover {
  color: var(--color-gold-light);
}

.atr-breadcrumb span[aria-hidden] {
  opacity: 0.5;
}

.atr-hero__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: var(--space-sm);
}

.atr-hero__title {
  color: var(--color-white);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.atr-hero__tagline {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 40ch;
}

/* --- Body --- */
.atr-body {
  padding: var(--space-3xl) 0;
  background: var(--color-cream);
  color: var(--color-text);
}

.atr-body__inner {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.atr-lead {
  font-family: var(--font-accent);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.5;
  color: var(--color-crimson-dark);
  margin-bottom: var(--space-xl);
}

.atr-prose p {
  margin-bottom: var(--space-lg);
  color: var(--color-text);
}

.atr-prose p:last-child {
  margin-bottom: 0;
}

/* --- Quick facts --- */
.atr-facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}

.atr-fact {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--color-white);
  border: 1px solid var(--color-cream-dark);
  border-radius: var(--radius-full);
  padding: 0.6rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

.atr-fact svg {
  width: 18px;
  height: 18px;
  color: var(--color-gold-dark);
  flex-shrink: 0;
}

/* --- CTA row --- */
.atr-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

/* --- Gallery --- */
.atr-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.atr-gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.atr-gallery--single {
  grid-template-columns: 1fr;
}

/* --- More attractions --- */
.atr-more {
  padding: var(--space-2xl) 0;
}

.atr-more .section__title {
  color: var(--color-white);
}

@media (max-width: 768px) {
  .atr-hero {
    min-height: 52vh;
  }
  .atr-gallery {
    grid-template-columns: 1fr;
  }
}
