/* Atmospheric imagery — visual styling for [data-atmospheric] surfaces. */

[data-atmospheric] {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

[data-atmospheric].atmospheric-overlay-navy::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(8, 14, 28, 0.55) 0%,
    rgba(8, 14, 28, 0.70) 100%);
  pointer-events: none;
  z-index: 0;
}

[data-atmospheric].atmospheric-overlay-cream::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(245, 241, 232, 0.30) 0%,
    rgba(245, 241, 232, 0.55) 100%);
  pointer-events: none;
  z-index: 0;
}

[data-atmospheric] > * {
  position: relative;
  z-index: 1;
}

[data-atmospheric]:not(.atmospheric-loaded) {
  transition: filter 800ms ease;
}

[data-atmospheric].atmospheric-loaded {
  animation: atmospheric-fade-in 800ms ease;
}

@keyframes atmospheric-fade-in {
  from { opacity: 0.85; filter: blur(2px); }
  to   { opacity: 1; filter: blur(0); }
}

/* Atmospheric strip used in footer + section dividers */
.atmospheric-strip {
  height: 160px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.atmospheric-strip::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0.0) 0%,
    rgba(0, 0, 0, 0.4) 100%);
  pointer-events: none;
}

/* Empty-state surface with beautiful imagery instead of generic illustration */
.atmospheric-empty {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 4px;
  overflow: hidden;
}

.atmospheric-empty .empty-copy {
  max-width: 480px;
  color: var(--bt-cream, #f5f1e8);
  font-family: var(--font-display, 'Cormorant Garamond', serif);
}
