:root {
  --bg: #f4f1eb;
  --surface: #ffffff;
  --surface-soft: #f8f7f4;
  --text: #182126;
  --muted: #5d6a70;
  --line: rgba(24, 33, 38, 0.08);
  --primary: #2f5d50;
  --primary-dark: #1f4138;
  --accent: #d8b36a;
  --shadow: 0 16px 40px rgba(16, 24, 28, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

.site-nav {
  background: rgba(244, 241, 235, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.navbar-brand,
.section-title,
.hero-section h1,
.site-footer h2 {
  font-family: "Golos Text", sans-serif;
}

.navbar-brand {
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--primary-dark);
}

.nav-link {
  color: var(--text);
  font-weight: 600;
}

.nav-link:hover,
.navbar-brand:hover {
  color: var(--primary);
}

.hero-section {
  position: relative;
  background: url('../photos/clay-banks-Ihful4zTe0Q-unsplash.jpg') center center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12, 19, 23, 0.78), rgba(37, 69, 58, 0.55));
}

.eyebrow,
.section-kicker {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.eyebrow {
  margin-bottom: 1rem;
  color: #f3ddae;
}

.hero-section h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.95;
  margin-bottom: 1.25rem;
  max-width: 10ch;
}

.hero-copy {
  max-width: 42rem;
  font-size: 1.08rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #182126;
  font-weight: 800;
}

.btn-primary:hover,
.btn-primary:focus {
  background: #e2be79;
  border-color: #e2be79;
  color: #182126;
}

.btn-outline-light {
  font-weight: 700;
}

.stat-card,
.info-card,
.embed-card,
.gallery-card,
.resource-card {
  border-radius: var(--radius-md);
}

.hero-stats .stat-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  padding: 1rem;
  height: 100%;
}

.hero-stats .stat-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.45rem;
}

.hero-stats .stat-card span {
  display: block;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

.section-pad {
  padding: 6rem 0;
}

.section-dark {
  background: linear-gradient(180deg, #eef2ef, #e8ede9);
}

.section-head {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-kicker {
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}

.section-copy {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.02rem;
}

.info-grid,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.info-card,
.resource-card {
  background: var(--surface);
  padding: 1.5rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.info-card h3,
.card-header-copy h3,
.gallery-copy h3,
.resource-card strong {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.info-card p,
.card-header-copy p,
.resource-card span {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.accent-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.accent-card h3,
.accent-card p {
  color: #fff;
}

.embed-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(24, 33, 38, 0.08);
  box-shadow: var(--shadow);
}

.card-header-copy {
  margin-bottom: 1.25rem;
}

.ratio iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.moon-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.moon-link {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
}

.moon-card img {
  width: min(58.5%, 500px);
  margin: 0 auto;
  border-radius: var(--radius-sm);
}

.gallery-card {
  position: relative;
  overflow: hidden;
  background: #dfe5e1;
  min-height: 100%;
  box-shadow: var(--shadow);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-hero-card {
  min-height: 540px;
}

.small-card {
  min-height: 260px;
}

.gallery-copy {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  padding: 1.25rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.68));
  color: #fff;
}

.gallery-copy span {
  display: inline-block;
  margin-bottom: 0.4rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #f2d598;
}

.gallery-copy h3 {
  margin: 0;
  font-size: 1.35rem;
}

.resource-card {
  display: block;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.resource-card:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 93, 80, 0.22);
}

.resource-card strong,
.resource-card span {
  display: block;
}

.resource-card strong {
  color: var(--primary-dark);
}

.resource-card span {
  margin-top: 0.45rem;
}

.site-footer {
  background: #162128;
  color: rgba(255, 255, 255, 0.85);
  padding: 3.5rem 0 2rem;
}

.site-footer h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 0.8rem;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  margin: 0;
}

.footer-link {
  color: #f2d598;
  font-weight: 700;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.94rem;
}

@media (max-width: 991.98px) {
  .hero-section h1 {
    max-width: 12ch;
  }

  .gallery-hero-card {
    min-height: 420px;
  }
}

@media (max-width: 767.98px) {
  .section-pad {
    padding: 4.5rem 0;
  }

  .hero-section .min-vh-100 {
    min-height: auto !important;
    padding: 5rem 0;
  }

  .info-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .gallery-hero-card,
  .small-card {
    min-height: 280px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .moon-card {
    text-align: left !important;
  }

  .moon-card .card-header-copy {
    margin-bottom: 1rem;
  }

  .moon-link {
    min-height: 180px;
  }

  .moon-card img {
    width: min(190px, 70%);
  }

  .weather-row {
    gap: 0.75rem;
  }

  .weather-stat {
    min-width: 0;
    width: 100%;
  }
}


/*weather display*/
.weather-display {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.weather-display h4 {
  margin: 0;
  font-size: 1.25rem;
}

.weather-display p {
  margin: 0;
}

.weather-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.weather-stat {
  background: rgba(255, 255, 255, 0.08);
  padding: 10px 14px;
  border-radius: 12px;
  min-width: 140px;
}
