/* ===================================================
   4. SLIDERS, FEES, IFRAME FORMS, LIGHTBOXES & RESPONSIVE
   =================================================== */
.slider-container {
    position: relative;
    max-width: 100%;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin: 0 auto 15px;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: #111;
}

.slides-track {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    /* 🖼️ FIXED: Fits entire image inside the bounding box container without clipping */
    object-fit: contain;
    background-color: #111111; /* Clean fallback letterbox backdrop color */
    cursor: pointer;
    z-index: 1;
    user-select: none;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 4px;
    z-index: 10;
}

.prev { left: 10px; }
.next { right: 10px; }

.art-preview p {
    font-style: italic;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

.upi-qr {
    max-width: 170px;
    width: 100%;
    height: auto;
    margin: 10px auto;
    display: block;
    border: 2px solid var(--bg);
    border-radius: var(--radius-sm);
    padding: 5px;
}

.upi-details {
    font-size: 0.95rem;
    color: #555;
    font-weight: bold;
    margin-bottom: 2px;
}

.compact-social {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed #dcdde1;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link-btn {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    color: #ffffff;
    transition: transform 0.2s;
}

.social-link-btn:hover { transform: translateY(-2px); }
.c-insta { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }
.c-fb { background-color: #1877f2; }
.c-wa { background-color: #25d366; }

.review-prompt-text {
    font-style: normal !important;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px !important;
}

.google-review-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--primary);
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.2s;
}

.google-review-btn:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
}

.btn-stars { color: #f1c40f; font-size: 1rem; }

/* 🌟 Registration Form Container with matching glassmorphism properties */
.form-container {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 20px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.04);
    overflow: hidden;
    scroll-margin-top: 20px;
}

.form-container iframe {
    width: 100%;
    height: 750px;
    border: none;
    display: block;
}

#workshop-booking-text {
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: var(--primary);
    background-color: var(--bg);
    padding: 12px 15px;
    border-radius: var(--radius-sm);
    display: inline-block;
    border-left: 4px solid var(--accent);
    text-align: left;
    width: 100%;
}

.hidden-form { display: none; opacity: 0; max-height: 0; }

.revealed-form {
    display: block !important;
    opacity: 1 !important;
    max-height: 1200px !important;
    animation: slideDownIn 0.5s ease-out forwards;
}

@keyframes slideDownIn {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Immersive Lightbox Modal Overlay */
.popup-modal {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.popup-content {
    margin: auto;
    display: block;
    max-width: 85%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 6px;
}

.close-popup-btn {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.popup-modal .slider-btn {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 24px;
    padding: 15px 20px;
    border-radius: 50%;
}

/* --- OVERSIZED CINEMATIC CAROUSEL PORTFOLIO SETTINGS --- */
.oversized-gallery-card {
    max-width: 950px;
    margin: 0 auto;
    padding: 35px !important;
}

.oversized-carousel-frame {
    aspect-ratio: 16 / 9 !important; /* Forces layout dimensions changes from 4:3 to high-visibility 16:9 cinematic aspect-ratios */
    max-width: 100% !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Responsive Structural Breaks System */
@media (max-width: 768px) {
    header h1 { font-size: 2.2rem; }
    .top-banner-container { width: 130px; height: 130px; margin: 30px auto 15px auto; }
    .form-container iframe { height: 600px; }
    .popup-modal .slider-btn { padding: 10px 15px; font-size: 18px; }
    .close-popup-btn { top: 10px; right: 20px; font-size: 35px; }
    .oversized-gallery-card { padding: 15px !important; }
    .oversized-carousel-frame { aspect-ratio: 4 / 3 !important; } /* Mobile adjustments layout aspect parameters fallback */
}
