/* CSS Variables */
:root {
    --primary: #ec4899;
    --secondary: #fdf2f8;
    --accent: #0891b2;
    --text: #ffffff;
    --bg: #fafafa;
}

/* Base Styles */
body {
    background: linear-gradient(135deg, #1e1b4b 0%, #311042 100%);
    color: #ffffff;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    font-size: clamp(14px, 2.5vw, 16px);
}

section {
    padding: 32px 16px;
}

@media (min-width: 768px) {
    section {
        padding: 64px 16px;
    }
}

/* Glass Frost Card Styling */
.card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
}

/* Typography via clamp() */
h1 {
    font-size: clamp(20px, 4.5vw, 32px);
}

h2 {
    font-size: clamp(18px, 4vw, 28px);
}

/* 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;
}

/* Pure CSS Gallery */
.gallery-main {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* Square Aspect Ratio */
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.4s ease-in-out;
}

/* Active Slide Logic */
#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 Grid */
.thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.thumbnails label {
    cursor: pointer;
    border: 3px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.2s;
    aspect-ratio: 1;
    width: 25%;
}

.thumbnails label img {
    width: 100%;
    height: 100%;
    object-cover: cover;
}

.thumbnails label:hover {
    transform: scale(1.05);
}

/* Active Thumbnail Logic */
#img-1:checked ~ .thumbnails label[for="img-1"] { border-color: var(--primary); }
#img-2:checked ~ .thumbnails label[for="img-2"] { border-color: var(--primary); }
#img-3:checked ~ .thumbnails label[for="img-3"] { border-color: var(--primary); }
#img-4:checked ~ .thumbnails label[for="img-4"] { border-color: var(--primary); }

/* CTA Button Styling */
.btn-cta {
    display: inline-block;
    min-height: 48px;
    padding: 16px 40px;
    border-radius: 14px;
    background-color: var(--accent);
    color: #ffffff;
    font-weight: 800;
    font-size: clamp(16px, 3vw, 18px);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(8, 145, 178, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-cta:hover {
    background-color: #0e7490;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(8, 145, 178, 0.6);
}

.btn-cta:active {
    transform: translateY(1px);
}