/* Custom Carousel Styles */

.slideshow-wrapper {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
}

/* Apply theme to the whole slideshow wrapper */
.slideshow-wrapper {
    background: linear-gradient(135deg, var(--secondary-light), var(--accent-light));
    border: none;
    border-radius: 0;
    transition: background 0.6s ease, transform 0.25s ease;
    box-shadow: none;
}

/* Theme Switcher Controls */
.theme-switcher-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    box-shadow: none;
    margin-bottom: 0;
    padding: 0;
    transform: translateY(-10px);
    z-index: 20;
    background: transparent;
    backdrop-filter: none;
    border-radius: 0;
    border: none;
}

.theme-label {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-color);
    margin: 0 0.5rem 0 0;
    padding: 0;
}

/* Quick Theme Selection Dots */
.theme-quick-select {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
    justify-content: center;
}

.theme-dot {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: none;
}

.theme-dot:hover {
    transform: scale(1.2);
    box-shadow: none;
}

.theme-dot.active {
    transform: scale(1.25);
    border-color: rgba(255, 255, 255, 0.95);
    animation: glowPulse 2.2s infinite ease-in-out;
}

@keyframes glowPulse {
    0% { transform: scale(1.15) rotate(0deg); }
    50% { transform: scale(1.28) rotate(6deg); }
    100% { transform: scale(1.15) rotate(0deg); }
}

.theme-dot:active {
    transform: scale(0.95);
}

/* Carousel Container */
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
    background: linear-gradient(135deg, var(--secondary-light), var(--accent-light));
    user-select: none;
    height: 380px;
    border: none;
    transition: all 0.5s ease;
}

.carousel-container:active {
    cursor: default;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    height: 100%;
}

.carousel-slide {
    flex: 1 0 calc(33.333% - 1rem);
    display: flex;
    align-items: center;
    padding: 0.5rem;
    min-width: calc(33.333% - 1rem);
    height: 100%;
}
/* Responsive carousel */
@media (max-width: 1024px) {
    .carousel-container {
        height: 320px;
    }

    .carousel-slide {
        flex: 1 0 calc(50% - 1rem);
        min-width: calc(50% - 1rem);
    }
}

@media (max-width: 640px) {
    .carousel-container {
        height: 280px;
    }

    .carousel-slide {
        flex: 1 0 100%;
        min-width: 100%;
    }
}

.slide-content {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.3s ease;
}

.carousel-slide:hover .slide-content {
    box-shadow: none;
}

.carousel-slide:hover .slide-image {
    transform: scale(1.08);
    box-shadow: 0 20px 48px rgba(0,0,0,0.16);
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease-in-out;
    border-radius: 1.25rem;
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    transition: background 0.5s ease;
}

.slide-title {
    color: white;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-subtitle {
    color: rgba(255, 255, 255, 0.9);
    box-shadow: none;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* Navigation Controls */
.slideshow-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
    z-index: 10;
}

.slide-btn {
    pointer-events: all;
    background: var(--primary-light);
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    padding: 0.75rem 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    min-width: 3.5rem;
    min-height: 3.5rem;
    box-shadow: none;
}

.slide-btn:hover {
    background: var(--primary-color);
    box-shadow: none;
}

.slide-btn:active {
    transform: scale(0.95);
}

/* Indicators */
.slideshow-indicators {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.indicator {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.indicator:hover {
    background: var(--primary-light);
    transform: scale(1.2);
}

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .slideshow-wrapper {
        padding: 1.5rem 1rem;
    }

    .theme-switcher-controls {
        flex-direction: row;
        gap: 0;
        padding: 0;
        margin-bottom: 0;
    }

    .theme-quick-select {
        gap: 0.25rem;
    }

    .theme-dot {
        width: 2rem;
        height: 2rem;
    }

    .slideshow-controls {
        padding: 0 0.5rem;
    }

    .slide-btn {
        width: 3rem;
        height: 3rem;
        font-size: 1.25rem;
        padding: 0.5rem;
    }

    .slide-overlay {
        padding: 1.5rem 1rem;
    }

    .slide-title {
        font-size: 1rem;
    }

    .slide-subtitle {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .slideshow-wrapper {
        padding: 1rem 0.75rem;
    }

    .theme-switcher-controls {
        padding: 0;
        margin-bottom: 0;
        border-radius: 0;
        gap: 0;
    }

    .theme-label {
        font-size: 0.85rem;
    }

    .theme-dot {
        width: 2rem;
        height: 2rem;
    }

    .theme-quick-select {
    box-shadow: none;
    }

    .slide-btn {
        width: 2.5rem;
    box-shadow: none;
        font-size: 1rem;
    }

    .indicator {
        width: 0.5rem;
        height: 0.5rem;
    }

    .slide-overlay {
        padding: 1rem 0.75rem;
    }

    .slide-title {
        font-size: 0.9rem;
    }

    .slide-subtitle {
        font-size: 0.65rem;
    }
}


