:root {
  --primary: #92400e;
  --secondary: #fffbeb;
  --accent: #16a34a;
  --text: #f5f5f5;
  --bg: #0f0f0f;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Typography Fluid Scaling */
h1 {
  font-size: clamp(20px, 4vw, 32px);
  font-weight: 800;
  line-height: 1.25;
}

h2 {
  font-size: clamp(18px, 3.5vw, 28px);
  line-height: 1.3;
}

p, li, span {
  font-size: clamp(14px, 3.5vw, 16px);
}

.card {
  background-color: #1a1a1a;
  border: 1px solid #333333;
  border-radius: 12px;
}

/* Gallery Accessibility Hidden Radios */
.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;
}

/* Gallery CSS Implementation */
.gallery-wrapper {
  position: relative;
  width: 100%;
}

.gallery-main {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.3s ease-in-out;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Active Slide Transitions */
#img-1:checked ~ .gallery-main .slide-1 {
  opacity: 1;
  z-index: 10;
}

#img-2:checked ~ .gallery-main .slide-2 {
  opacity: 1;
  z-index: 10;
}

#img-3:checked ~ .gallery-main .slide-3 {
  opacity: 1;
  z-index: 10;
}

#img-4:checked ~ .gallery-main .slide-4 {
  opacity: 1;
  z-index: 10;
}

/* Thumbnail Active Highlighting */
#img-1:checked ~ .thumbnails label[for="img-1"] {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

#img-2:checked ~ .thumbnails label[for="img-2"] {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

#img-3:checked ~ .thumbnails label[for="img-3"] {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

#img-4:checked ~ .thumbnails label[for="img-4"] {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

/* High Contrast CTA Button */
.btn-cta {
  background-color: var(--accent);
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 10px 15px -3px rgba(22, 163, 74, 0.4);
  text-decoration: none;
  min-height: 48px;
}

.btn-cta:hover {
  background-color: #15803d;
  box-shadow: 0 12px 20px -3px rgba(22, 163, 74, 0.6);
  transform: translateY(-1px);
}

.btn-cta:active {
  transform: translateY(0);
}

/* General safety images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}