/* CSS Variables & Theme Setup */
:root {
  --primary: #1d4ed8;
  --secondary: #eff6ff;
  --accent: #f59e0b;
  --text: #ffffff;
  --bg: #ffffff;
}

/* Glass-Frost Design System Base */
body {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.6;
  overflow-x: hidden;
}

section {
  padding: 48px 16px;
}

.card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
}

.btn {
  border-radius: 12px;
  background: #ffffff;
  color: #764ba2;
  font-weight: 700;
  transition: all 0.3s ease;
}

/* CTA Specific Button Style */
.btn-cta {
  background: var(--accent);
  color: #ffffff !important;
  font-weight: 800;
  border-radius: 12px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
  transition: all 0.3s ease-in-out;
}

.btn-cta:hover {
  background: #d97706;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
}

/* Typography Responsive Rules */
h1 {
  font-size: clamp(22px, 5vw, 36px);
  line-height: 1.2;
}

h2 {
  font-size: clamp(18px, 4.5vw, 28px);
  line-height: 1.3;
}

/* Screen Reader Utility */
.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 Component CSS (Pure CSS, No JS) */
.gallery-main {
  position: relative;
  width: 100%;
  padding-bottom: 100%; /* Forces 1:1 Aspect Ratio */
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.35s ease-in-out;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Radio Control for Slides */
#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 Handling */
.thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.thumbnails label {
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s ease-in-out;
  background: rgba(255, 255, 255, 0.1);
  aspect-ratio: 1 / 1;
}

.thumbnails label img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Active Thumbnails Styling */
#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);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.6);
  transform: scale(1.03);
}