/* Atmosfera page styles */
#atmosfera-main {
  display: block;
}

/* Hero */
.atmosfera-hero {
  position: relative;
  width: 100%;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: var(--graphite-950);
}
.atmosfera-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  z-index: 0;
}
.atmosfera-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(11, 14, 19, 0) 0%, rgba(11, 14, 19, 0.8) 100%);
  z-index: 1;
}
.atmosfera-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  padding-block: var(--space-2xl);
  width: 100%;
}
.atmosfera-hero__text {
  max-width: 600px;
  text-align: left;
}
.atmosfera-hero__dek {
  font-size: var(--text-body-lg);
  line-height: var(--leading-body-lg);
  color: var(--white);
  margin: 0;
}
.atmosfera-hero__actions {
  display: flex;
  justify-content: flex-start;
}
.atmosfera-hero__cta {
  box-shadow: var(--shadow-cta);
}

/* Intro */
.atmosfera-intro__container {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}
.atmosfera-intro__container .eyebrow {
  display: block;
  text-align: center;
}
.atmosfera-intro__lead {
  font-size: var(--text-body-lg);
  line-height: var(--leading-body-lg);
  color: var(--white);
  margin-block-end: var(--space-md);
}
.atmosfera-intro__container p:not(.eyebrow):not(.atmosfera-intro__lead) {
  text-align: left;
  margin-inline: auto;
  max-width: 680px;
}

/* Elements */
.atmosfera-elements__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
  margin-block-start: var(--space-xl);
}
.atmosfera-element {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  min-width: 0;
  text-align: left;
}
.atmosfera-element__icon {
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.atmosfera-element h3 {
  margin: 0;
}
.atmosfera-element p {
  margin: 0;
  color: var(--mist);
}

/* Scenes */
.atmosfera-scenes__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  margin-block-start: var(--space-xl);
}
.atmosfera-scene {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
  min-width: 0;
}
.atmosfera-scene--reverse .atmosfera-scene__figure {
  order: 2;
}
.atmosfera-scene--reverse .atmosfera-scene__content {
  order: 1;
}
.atmosfera-scene__figure {
  margin: 0;
  min-width: 0;
}
.atmosfera-scene__figure .gallery-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.atmosfera-scene__content {
  min-width: 0;
  text-align: left;
}
.atmosfera-scene__content h3 {
  margin-block-end: var(--space-md);
}
.atmosfera-scene__content p {
  margin: 0;
}

/* Gallery */
.atmosfera-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg);
  margin-block-start: var(--space-xl);
}
.atmosfera-gallery__item {
  margin: 0;
  min-width: 0;
}
.atmosfera-gallery__item .gallery-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.atmosfera-gallery__item figcaption {
  text-align: left;
}

/* Quote */
.atmosfera-quote {
  padding-block: var(--space-2xl);
}
.atmosfera-quote__block {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
  background-color: var(--violet-soft);
  border-inline-start: 4px solid var(--cyan);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}
.atmosfera-quote__block p {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: var(--weight-semibold);
  line-height: 1.4;
  color: var(--white);
  margin: 0;
}
.atmosfera-quote__author {
  display: block;
  margin-block-start: var(--space-md);
  font-size: var(--text-small);
  color: var(--mist);
}

/* CTA */
.atmosfera-cta__panel {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
  background-color: var(--graphite-900);
  border: var(--border-panel);
  border-radius: var(--radius-lg);
  padding: var(--panel-padding-mobile);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
}
.atmosfera-cta__panel .eyebrow {
  display: block;
  text-align: center;
}
.atmosfera-cta__panel h2 {
  margin: 0;
}
.atmosfera-cta__panel p {
  margin: 0;
  max-width: 500px;
}
.atmosfera-cta__button {
  margin-block-start: var(--space-xs);
}

/* Responsive */
@media (max-width: 64rem) {
  .atmosfera-elements__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 48rem) {
  .atmosfera-hero {
    min-height: 100vh;
  }
  .atmosfera-hero__content {
    padding-block: var(--space-xl);
    gap: var(--space-md);
  }
  .atmosfera-hero__actions {
    width: 100%;
  }
  .atmosfera-hero__cta {
    width: 100%;
  }
  .atmosfera-elements__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .atmosfera-scene {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .atmosfera-scene--reverse .atmosfera-scene__figure {
    order: 0;
  }
  .atmosfera-scene--reverse .atmosfera-scene__content {
    order: 0;
  }
  .atmosfera-gallery__grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: var(--space-md);
    padding-block-end: var(--space-sm);
    -webkit-overflow-scrolling: touch;
  }
  .atmosfera-gallery__item {
    flex: 0 0 80%;
    scroll-snap-align: start;
  }
  .atmosfera-quote__block {
    padding: var(--space-lg);
  }
  .atmosfera-cta__panel {
    padding: var(--panel-padding-mobile);
  }
  .atmosfera-cta__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .atmosfera-gallery__grid {
    scroll-behavior: auto;
  }
}
