/**
 * Standalone styles for partials/scroll-overlap.html only.
 * When the partial is embedded in the main page, the main page uses style.css + scroll-overlap.css.
 */

:root {
  --color-bg: #050608;
  --color-gold: #a5d066;
  --color-gold-light: #b5da7a;
  --font-heading: 'Forum', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { min-height: 100%; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  min-height: 100vh;
  background: #f8f7f5;
  color: #2c2c2c;
}

/* Layout classes used by the section (Bootstrap-like) */
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }
.text-center { text-align: center; }

/* Scroll-triggered visibility: when this partial is opened standalone, no main.js runs
   to add .visible, so show content by default. When embedded, main page uses style.css
   and main.js adds .visible on scroll. */
.animate-on-scroll {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: none;
}

/* Collage base (from style.css – required for section layout) */
.section-collage {
  background: transparent;
  position: relative;
  z-index: 2;
}
.collage-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 4.5rem;
}
.collage-grid {
  display: flex;
  gap: 3.5rem;
  align-items: flex-start;
}
.collage-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.collage-img {
  margin: 0;
  overflow: hidden;
  transition: transform 0.35s ease;
  width: 100%;
}
.collage-img:hover {
  transform: translateY(-2px);
}
.collage-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.collage-img-1 { aspect-ratio: 1.28; }
.collage-img-2 { aspect-ratio: 0.78; }
.collage-img-3 { aspect-ratio: 1.06; }
.collage-img-4 { aspect-ratio: 1.18; }
.collage-img-5 { aspect-ratio: 0.88; }
@media (max-width: 575.98px) {
  .collage-grid { flex-direction: column; }
  .collage-img-1, .collage-img-2, .collage-img-3, .collage-img-4, .collage-img-5 {
    aspect-ratio: 4 / 3;
    border-radius: 14px;
  }
}
