:root {
  --primary: #475569;
  --secondary: #f8fafc;
  --accent: #3b82f6;
  --text: #0f172a;
  --bg: #ffffff;
}

body {
  background-color: #0f0f0f;
  color: #f5f5f5;
  font-size: clamp(14px, 4vw, 16px);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1 {
  font-size: clamp(20px, 5vw, 32px);
  font-weight: 800;
}

.card {
  background-color: #1a1a1a;
  border: 1px solid #333333;
  border-radius: 12px;
}

.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 Styles */
.gallery-container {
  width: 100%;
}

.gallery-main {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  overflow: hidden;
  border-radius: 8px;
  background-color: #141414;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.3s ease-in-out;
}

#img-1:checked ~ .gallery-main .slide-1,
#img-2:checked ~ .gallery-main .slide-2,
#img-3:checked ~ .gallery-main .slide-3,
#img-4:checked ~ .gallery-main .slide-4 {
  opacity: 1;
  z-index: 10;
}

.thumbnails {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  width: 100%;
}

.thumbnails label {
  cursor: pointer;
  flex: 1;
  border: 2px solid #2a2a2a;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background-color: #1a1a1a;
  transition: border-color 0.2s ease-in-out;
}

.thumbnails label img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#img-1:checked ~ .thumbnails label[for="img-1"],
#img-2:checked ~ .thumbnails label[for="img-2"],
#img-3:checked ~ .thumbnails label[for="img-3"],
#img-4:checked ~ .thumbnails label[for="img-4"] {
  border-color: var(--accent);
}

/* CTA Button */
.cta-button {
  min-height: 44px;
}

/* Responsive Image Rules */
img {
  max-width: 100%;
  height: auto;
}