:root {
  --primary: #52525b;
  --secondary: #fafafa;
  --accent: #0ea5e9;
  --text: #18181b;
  --bg: #ffffff;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Noto Sans Arabic', sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  min-height: 100vh;
  font-size: clamp(14px, 4vw, 16px);
  overflow-x: hidden;
}

h1 {
  font-size: clamp(22px, 5vw, 36px);
}

img {
  max-width: 100%;
  height: auto;
}

.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-cta {
  min-height: 44px;
  background-color: var(--accent);
  color: #ffffff !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-cta:hover {
  background-color: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(14, 165, 233, 0.4);
}

/* Gallery CSS Implementation */
.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-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;
}

#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;
}

.thumbnails label {
  flex: 1;
}

.thumbnails label img {
  border-color: transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.thumbnails label:hover img {
  border-color: rgba(255, 255, 255, 0.5);
}

#img-1:checked ~ .thumbnails label[for="img-1"] img,
#img-2:checked ~ .thumbnails label[for="img-2"] img,
#img-3:checked ~ .thumbnails label[for="img-3"] img,
#img-4:checked ~ .thumbnails label[for="img-4"] img {
  border-color: var(--accent);
  transform: scale(0.96);
}