:root {
  --accent: #f4b942;
  --accent-2: #ff7a1a;
  --blue: #1766b0;
  --blue-dark: #0e3d62;
  --green-dark: #1c7a42;
  --text: #203447;
  --muted: #627183;
  --surface: #ffffff;
  --surface-soft: #f7fbff;
  --border: #dce8f4;
  --shadow: 0 18px 45px rgba(8, 30, 63, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Montserrat", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(244, 185, 66, 0.16), transparent 24%),
    linear-gradient(135deg, #f7fbff 0%, #eef6ff 55%, #fdf7ea 100%);
  min-height: 100vh;
}

body.js-ready .box,
body.js-ready .card,
body.js-ready .contact {
  opacity: 1;
  transform: translateY(0);
}

header {
  background: linear-gradient(115deg, rgba(14,61,98,0.98), rgba(23,102,176,0.95) 55%, rgba(244,185,66,0.92));
  color: white;
  padding: 18px 0;
  box-shadow: 0 12px 30px rgba(14,61,98,0.18);
  position: sticky;
  top: 0;
  z-index: 100;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  height: 48px;
  width: auto;
  display: block;
  border-radius: 8px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, opacity 0.2s ease;
  padding: 6px 8px;
  border-radius: 999px;
}

nav ul li a {
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 3px;
  background: linear-gradient(90deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms ease;
  border-radius: 3px;
}

nav ul li a:hover::after {
  transform: scaleX(1);
}

nav ul li a:hover {
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(6px);
}

p {
  color: var(--muted);
}

label {
  display: block;
  margin-bottom: 18px;
  color: var(--text);
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 8px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

textarea {
  resize: vertical;
}

button[type="submit"] {
  border: none;
  cursor: pointer;
}

form#adminForm {
  display: grid;
  gap: 16px;
}

.muted-text {
  margin-top: 12px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.spotlight-card {
  border: 1px solid var(--border);
  background: var(--surface);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.pill {
  background: var(--accent);
  color: var(--blue-dark);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.features-section {
  padding-top: 10px;
}

.feature-grid {
  margin-top: 18px;
}

.news-box {
  background: linear-gradient(90deg, #fdf8e8 0%, #ffffff 100%);
  border: 1px solid var(--border);
  border-left: 6px solid var(--accent);
  border-radius: 14px;
  padding: 24px 28px;
  box-shadow: 0 8px 20px rgba(23, 63, 99, 0.08);
}

.news-box h2 {
  margin-bottom: 8px;
  font-size: 1.45rem;
}

.news-box p {
  margin-bottom: 0;
}

.news-label {
  display: block;
  text-align: center;
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.hero {
  padding: 70px 0 50px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 20%, rgba(244,185,66,0.22), transparent 16%),
    radial-gradient(circle at 90% 80%, rgba(23,102,176,0.16), transparent 18%),
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(241,247,255,0.95));
  border-radius: 24px;
  padding: 70px 36px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(220,232,244,0.95);
}

.hero::after {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(244,185,66,0.2), transparent 70%);
  filter: blur(12px);
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 12px;
  color: var(--blue-dark);
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.hero p {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: var(--muted);
}

.hero .card {
  background: linear-gradient(145deg, #ffffff, #f7fbff);
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(14,61,98,0.12);
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--blue), #2c83cb);
  color: white;
  text-decoration: none;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 700;
  margin-right: 10px;
  margin-top: 8px;
  box-shadow: 0 10px 22px rgba(23,102,176,0.2);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.btn.secondary {
  background: linear-gradient(135deg, var(--accent), #ffd470);
  color: var(--blue-dark);
  box-shadow: 0 10px 20px rgba(244,185,66,0.24);
}

.btn:active {
  transform: translateY(1px) scale(0.995);
}

section {
  padding: 50px 0;
}

h1,
h2 {
  color: var(--blue-dark);
  margin-bottom: 14px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.box {
  background: var(--surface);
  padding: 18px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.box h3 {
  margin-bottom: 8px;
  color: var(--blue);
}

.contact {
  background: #f3f6fa;
  border-radius: 10px;
  padding: 22px;
}

.card {
  background: var(--surface);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(8, 30, 63, 0.06);
}

.list {
  margin: 12px 0 0 20px;
}

footer {
  text-align: center;
  padding: 24px 0 40px;
  color: #567;
}

.box,
.card,
.contact {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.box.is-visible,
.card.is-visible,
.contact.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero h1,
.hero-actions {
  opacity: 0;
  transform: translateY(16px);
}

.hero h1.animate-in,
.hero-actions.animate-in-delay {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.hero-actions.animate-in-delay {
  transition-delay: 0.2s;
}

@media (max-width: 800px) {
  .hero,
  .grid {
    grid-template-columns: 1fr;
  }
}

/* UI enhancements */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 10% 20%, rgba(240,196,75,0.06), transparent 10%), radial-gradient(circle at 90% 80%, rgba(33,92,145,0.04), transparent 12%);
}

.hero::after {
  content: '';
  position: absolute;
  right: -120px;
  top: -40px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle at 30% 30%, rgba(240,196,75,0.14), transparent 30%);
  filter: blur(24px);
  pointer-events: none;
}

.card {
  transition: transform 320ms cubic-bezier(.2,.9,.2,1), box-shadow 320ms ease;
}

.card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 18px 40px rgba(23,63,99,0.12);
}

.card.tilt { will-change: transform; }

.news-box.animate-in { opacity: 0; transform: translateY(12px); animation: newsIn 520ms ease forwards; }
@keyframes newsIn { to { opacity: 1; transform: translateY(0); } }

.btn { transition: transform 160ms ease, box-shadow 160ms ease; }
.btn:active { transform: translateY(1px) scale(0.995); }

/* Collapsible camp sections */
details.camp-section {
  margin-bottom: 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  padding: 14px;
  box-shadow: 0 10px 26px rgba(14,61,98,0.06);
}
details.camp-section summary {
  font-weight: 700;
  cursor: pointer;
  padding: 8px 10px;
  list-style: none;
  outline: none;
  color: var(--blue-dark);
}
summary::-webkit-details-marker { display: none; }
details.camp-section summary::before {
  content: '+';
  display: inline-block;
  width: 20px;
  text-align: center;
  margin-right: 8px;
  color: var(--blue);
}
details.camp-section[open] summary::before { content: '−'; }
details.camp-section[open] { box-shadow: 0 12px 30px rgba(23,63,99,0.08); }
details.camp-section .gallery-grid { margin-top: 12px; }
