:root {
  --primary: #ea580c;
  --secondary: #fff7ed;
  --accent: #1d4ed8;
  --text: #ffffff;
  --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

body {
  background: var(--bg-gradient);
  color: var(--text);
  min-height: 100vh;
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden;
}

/* Typography clamp */
.main-heading {
  font-size: clamp(22px, 5vw, 36px);
}

.body-text {
  font-size: clamp(14px, 4vw, 16px);
}

/* Glass Frost Theme Card */
.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;
}

.header-glass {
  background: rgba(118, 75, 162, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* Button Styling with Explicit High-Contrast */
.cta-button {
  min-height: 44px;
  border-radius: 12px;
  background-color: var(--primary);
  color: #ffffff !important;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px -5px rgba(234, 88, 12, 0.4);
}

.cta-button:hover {
  background-color: #c2410c;
}

/* Screen reader only 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 Engine */
.gallery-main {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.1);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.3s ease-in-out;
}

/* Slide visibility toggles */
#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;
}

/* Thumbnail highlight borders */
#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(--primary);
  box-shadow: 0 0 0 2px rgba(234, 88, 12, 0.5);
  transform: scale(0.98);
}

/* Images Constraint */
img {
  max-width: 100%;
  height: auto;
}