/* 3D Archers marketing landing — matches app forest/amber theme */
:root {
  --bg: #0f1a14;
  --bg-card: #15241c;
  --bg-elevated: #1a2e24;
  --border: #2a4034;
  --text: #f5f5f4;
  --muted: #a8a29e;
  --amber: #f59e0b;
  --amber-soft: rgba(245, 158, 11, 0.15);
  --max: 42rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--amber);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.site-header {
  padding: 1.25rem 0 0.5rem;
  text-align: center;
}

.logo {
  display: inline-block;
  line-height: 0;
}

.logo img {
  width: min(220px, 55vw);
  height: auto;
  display: block;
  margin: 0 auto;
}

.tagline {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.mission {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
  opacity: 0.9;
}

/* CTA */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 1.25rem 0 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--amber);
  color: #0c0a09;
}

.btn-primary:hover {
  background: #fbbf24;
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--border);
}

/* Slideshow */
.slideshow-section {
  flex: 1;
  padding: 1rem 0 2rem;
}

.slideshow {
  position: relative;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  aspect-ratio: 9 / 16;
  max-height: min(70dvh, 640px);
  margin: 0 auto;
}

@media (min-width: 540px) {
  .slideshow {
    aspect-ratio: 10 / 16;
  }
}

.slides {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
}

.slide.is-active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #0a120e;
}

.slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0.65rem 0.85rem;
  font-size: 0.8rem;
  color: var(--text);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  pointer-events: none;
}

/* Prev / next + dots sit under the image (not overlaid) */
.slideshow-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.nav-btn {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-btn:hover {
  background: var(--amber-soft);
  border-color: var(--amber);
  color: var(--amber);
}

.nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  align-items: center;
  min-height: 2.75rem;
}

.dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: var(--border);
  cursor: pointer;
}

.dot.is-active {
  background: var(--amber);
  width: 1.25rem;
}

.slideshow-status {
  text-align: center;
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.slideshow-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.slideshow-empty img {
  width: 96px;
  height: auto;
  opacity: 0.85;
}

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: #0c1410;
  padding: 1.25rem 0 1.5rem;
  text-align: center;
}

.site-footer p {
  margin: 0.25rem 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer .contact a {
  font-weight: 600;
  font-size: 0.95rem;
}

.site-footer .legal {
  font-size: 0.75rem;
  opacity: 0.8;
}
