/* ========== Base ========== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: "Inter", sans-serif;
  background-color: #fafafa;
  color: #333;
}

/* Screen reader only text */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ========== Landing layout ========== */
body.landing-page { height: auto; overflow: visible; }

.landing-wrap {
  width: min(1200px, 94vw);
  height: auto;
  margin: 0 auto 3rem;
}

.hero-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto; /* keeps natural ratio automatically */
}

.hero-banner .site-title {
  position: absolute;
  inset: 0; /* fill parent */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  font-size: clamp(1.8rem, 2.8vw + 1rem, 3rem);
  font-weight: 800;
  color: #fff;
  padding: 0 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}


.landing-hero {
    width: min(1200px, 94vw);
  margin: 2rem auto 3rem;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0; 
  margin-bottom: 1.5rem;
} 


.landing-hero .intro-text,
.landing-hero .intro-text-bold {
  margin: 0.9rem 0;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #333;
}
.landing-hero .intro-text{
   padding-bottom: 0.5rem; 
}
.landing-hero .intro-text-bold {
  margin: 1rem 0;
  font-size: 1.5rem;   /* increased font size */
  font-weight: 700;
  text-align: center;  /* center tagline */
  line-height: 1.6;
  padding-bottom: 0.5rem; 
}
.landing-hero .click-text {
  margin: 2rem 0 0;     /* extra space above for separation */
  font-size: 1.5rem;    /* increased font size */
  font-weight: 700;
  text-align: center;   /* center call-to-action */
  color: #222;
}

/* ========== Gallery ========== */
.landing-main { margin-top: 0.5rem; padding-bottom: 1rem;}

.landing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

/* Card shares detail look and feel */
.gallery-item {
  position: relative;
  cursor: pointer;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.gallery-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  border-color: #d1d1d1;
}

/* Square media block to prevent layout shift */
.gallery-item .ratio-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f4f4f4;
}
.gallery-item img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Hover caption */
.image-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: none;
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 0.55rem 0.65rem;
  font-size: 0.9rem; line-height: 1.25;
  white-space: pre-line;
  pointer-events: none;
}
.gallery-item:hover .image-caption { display: block; }

/* ========== Mobile notice ========== */
.mobile-alert {
  display: none !important;
  position: fixed; inset: 0;
  background: #fff; z-index: 9999;
  display: flex; justify-content: center; align-items: center; text-align: center;
  padding: 1rem;
}

/* ========== Responsive ========== */
@media (max-width: 1200px) {
  .landing-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .landing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .landing-wrap { display: none; }
  .mobile-alert { display: flex !important; }
}

/* ===== Scroll Cue ===== */
.scroll-cue {
  position: fixed;
  left: 95%;
  bottom: 22px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.9);
  color: #222; /* uses theme text color */
  box-shadow: 0 6px 18px rgba(0,0,0,0.10);
  backdrop-filter: blur(6px);

  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
  z-index: 50; 
}

.scroll-cue .chevron {
  display: block;
}

.scroll-cue.is-visible {
  opacity: 1;
  pointer-events: auto;
}

@keyframes cue-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 6px); }
}
@keyframes cue-pulse {
  0%, 100% { box-shadow: 0 6px 18px rgba(0,0,0,0.10); }
  50%      { box-shadow: 0 8px 22px rgba(0,0,0,0.14); }
}

.scroll-cue.is-visible {
  animation: cue-bounce 1.8s ease-in-out infinite, cue-pulse 2.4s ease-in-out infinite;
}

.scroll-cue:hover { transform: translateX(-50%) translateY(0) scale(1.03); }
.scroll-cue:active { transform: translateX(-50%) translateY(1px) scale(0.98); }

.hero-banner .site-title ~ .scroll-cue {
  border-color: rgba(255,255,255,0.22);
  background: rgba(20,20,20,0.55);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue.is-visible {
    animation: none;
  }
}

@media (max-width: 700px) {
  .scroll-cue { display: none; }
}
