/* Glass-Frost Design Theme Custom Styles */

:root {
  --primary: #f59e0b;     /* Amber Accent */
  --secondary: #fef3c7;   /* Soft Light Amber */
  --accent: #dc2626;      /* Strong Red CTA */
  --text-light: #f8f8f8;  /* Crisp light text */
  --font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
  background: linear-gradient(135deg, #4c1d95 0%, #1e1b4b 100%);
  color: var(--text-light);
  font-family: var(--font-family);
  min-height: 100vh;
  overflow-x: hidden;
}

section {
  padding: 16px 0;
}

/* Glassmorphism Card Style */
.card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
}

/* Call to Action Button */
.btn {
  display: inline-block;
  border-radius: 12px;
  background: var(--accent);
  color: #ffffff !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px -5px rgba(220, 38, 38, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 52px;
}

.btn:hover {
  background: #b91c1c;
  box-shadow: 0 15px 30px -5px rgba(220, 38, 38, 0.6);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

/* Typography Fluid Sizing */
h1 {
  font-size: clamp(14px, 4vw, 18px);
}

h2 {
  font-size: clamp(20px, 5vw, 30px);
}

p, div {
  font-size: clamp(13px, 3vw, 15px);
}

/* CSS-Only Gallery 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%; /* Strict height constraint via aspect square simulation */
  overflow: hidden;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.2);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Active Slide Bindings */
#img-1:checked ~ .gallery-main .slide-1 { opacity: 1; z-index: 10; }
#img-2:checked ~ .gallery-main .slide-2 { opacity: 1; z-index: 10; }
#img-3:checked ~ .gallery-main .slide-3 { opacity: 1; z-index: 10; }
#img-4:checked ~ .gallery-main .slide-4 { opacity: 1; z-index: 10; }

/* Thumbnails */
.thumbnails {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.thumbnails label {
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.05);
}

.thumbnails label img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s;
}

.thumbnails label:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

/* Active Thumbnail Highlight */
#img-1:checked ~ .thumbnails label[for="img-1"] { border-color: var(--primary); box-shadow: 0 0 10px rgba(245, 158, 11, 0.4); }
#img-2:checked ~ .thumbnails label[for="img-2"] { border-color: var(--primary); box-shadow: 0 0 10px rgba(245, 158, 11, 0.4); }
#img-3:checked ~ .thumbnails label[for="img-3"] { border-color: var(--primary); box-shadow: 0 0 10px rgba(245, 158, 11, 0.4); }
#img-4:checked ~ .thumbnails label[for="img-4"] { border-color: var(--primary); box-shadow: 0 0 10px rgba(245, 158, 11, 0.4); }

/* Mobile optimization and scroll bar aesthetics */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}