/* ============================================================
   Strendal — Homepage Template Styles
   Scoped to page-templates/homepage.php only
   ============================================================ */

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
}

/* Slideshow */
.slides {
  position: absolute;
  inset: 0;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  background-size: cover;
  background-position: center;
}
.slide.active { opacity: 1; }
.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(14,30,10,0.35) 0%,
    rgba(14,30,10,0.15) 40%,
    rgba(14,30,10,0.58) 100%
  );
}

/* Slide indicators */
.slide-dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.dot {
  width: 28px;
  height: 3px;
  background: rgba(255,255,255,0.35);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
  border: none;
  outline: none;
}
.dot:focus-visible { outline: 2px solid white; outline-offset: 2px; }
.dot.active {
  background: #fff;
  width: 44px;
}

/* Slide captions */
.slide-caption {
  position: absolute;
  bottom: 60px;
  right: 48px;
  z-index: 10;
  text-align: right;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s, transform 0.6s;
}
.slide-caption.active {
  opacity: 1;
  transform: translateY(0);
}
.slide-caption span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  background: rgba(0,0,0,0.2);
  padding: 5px 12px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

/* Hero content */
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  padding-top: 80px;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
  animation: fadeUp 1s ease 0.3s both;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 7vw, 90px);
  font-weight: 400;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 12px;
  animation: fadeUp 1s ease 0.5s both;
 
}
.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.88);
}
.hero-subtitle {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.5px;
  margin-bottom: 40px;
  animation: fadeUp 1s ease 0.7s both;
}
.hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 44px;
  animation: fadeUp 1s ease 0.9s both;
}
.hero-badge {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 8px 18px;
  border-radius: 30px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  backdrop-filter: blur(6px);
}
.hero-cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 1s ease 1.1s both;
}

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 48px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: fadeUp 1s ease 1.4s both;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.4);
  animation: scrollPulse 2s ease infinite;
}
.scroll-text {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  writing-mode: vertical-rl;
}

/* ── FACTS STRIP ── */
.facts-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 48px;
}
.facts-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.fact-item {
  padding: 28px 20px;
  text-align: center;
  flex: 1;
  min-width: 140px;
  border-right: 1px solid var(--border);
  transition: background 0.2s;
}
.fact-item:last-child { border-right: none; }
.fact-item:hover { background: var(--green-light); }
.fact-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 500;
  color: var(--green);
  line-height: 1;
  margin-bottom: 4px;
}
.fact-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink-light);
}

/* ── INTRO SECTION ── */
.intro {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 48px;
  text-align: center;
}
.intro h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 24px;
  letter-spacing: -0.3px;
}
.intro h2 em { font-style: italic; color: var(--green); }
.intro p {
  font-size: 16px;
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.85;
}

/* ── PHOTO GRID ── */
.photo-grid {
  display: flex;
  flex-direction: row;
  gap: 4px;
  max-width: 1200px;
  margin: 0 auto 6px;
  padding: 0 4px;
  height: 720px;
}
.photo-grid-left {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.photo-grid-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.grid-img {
  overflow: hidden;
  position: relative;
  flex: 1;
}
.grid-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}
.grid-img:hover img { transform: scale(1.04); }
.grid-img.large {
  width: 100%;
  height: 100%;
}
.grid-img .img-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.grid-img:hover .img-overlay { opacity: 1; }
.img-overlay span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

/* ── HIGHLIGHTS BAR ── */
.highlights {
  background: var(--green);
  padding: 48px;
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.highlight-item {
  padding: 20px 36px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.2);
  flex: 1;
  min-width: 200px;
}
.highlight-item:last-child { border-right: none; }
.highlight-icon {
  font-size: 28px;
  margin-bottom: 10px;
  line-height: 1;
}
.highlight-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 6px;
}
.highlight-body {
  font-size: 12.5px;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  max-width: 200px;
  margin: 0 auto;
}

/* ── CTA SECTION ── */
.cta-section {
  background: var(--cream);
  padding: 80px 48px;
  text-align: center;
}
.cta-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}
.cta-section p {
  font-size: 15px;
  font-weight: 300;
  color: var(--ink-soft);
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.cta-group {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero{
    min-height: 800px;
  }
  .nav-logo{
    max-width: 140px;
    line-height: normal;
  }
  .hero-title { font-size: 42px; }
  .slide-caption { right: 20px; bottom: 80px; }
  .scroll-hint { left: 20px; }
  .facts-strip { padding: 0 20px; }
  .fact-item { min-width: 100px; padding: 20px 12px; }
  .intro { padding: 60px 24px; }
  .photo-grid {
    flex-direction: column;
    height: auto;
  }
  .photo-grid-left { height: 300px; }
  .photo-grid-right { height: auto; }
  .grid-img { height: 200px; flex: none; }
  .highlights { padding: 32px 20px; }
  .highlight-item { padding: 20px 20px; min-width: 150px; }
  .cta-section { padding: 48px 24px; }
}
