/* CSS Variables for Bold-Editorial Design System */
:root {
  --primary: #b91c1c;
  --secondary: #fff1f2;
  --accent: #f59e0b;
  --text: #000000;
  --bg: #ffffff;
}

/* Base resets & typography */
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
}

h1 {
  font-size: clamp(1.25rem, 3vw, 2rem) !important;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 3rem) !important;
}

/* Custom Card Component (Bold-Editorial) */
.card {
  border-left: 6px solid #000000;
  padding-left: 20px;
  border-radius: 0 !important;
}

/* Button Component (Bold-Editorial) */
.btn {
  border-radius: 0 !important;
  font-family: 'Space Grotesk', sans-serif;
}

/* CSS Only Gallery Logic */
.gallery-main-img {
  display: none;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

#img1:checked ~ .main-images #main1,
#img2:checked ~ .main-images #main2,
#img3:checked ~ .main-images #main3,
#img4:checked ~ .main-images #main4 {
  display: block;
}

.thumb-label {
  cursor: pointer;
  border: 3px solid #000000;
  width: 25%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  transition: transform 0.1s ease;
}

.thumb-label img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-label:hover {
  transform: scale(1.05);
}

#img1:checked ~ .gallery-thumbs label[for="img1"],
#img2:checked ~ .gallery-thumbs label[for="img2"],
#img3:checked ~ .gallery-thumbs label[for="img3"],
#img4:checked ~ .gallery-thumbs label[for="img4"] {
  border-color: var(--primary);
  outline: 3px solid #000000;
}

/* Mobile-First Responsive adjustments */
@media (max-width: 767px) {
  section {
    padding: 32px 16px !important;
  }
}