/*
Theme Name: Tam Beauty Child
Theme URI: https://example.com/tambeauty-child
Description: Child theme for Blossom Spa with customizable banner slider for Tam Beauty.
Author: Tam Beauty Dev Team
Template: blossom-spa
Version: 1.0.0
Text Domain: tambeauty-child
*/

/* Custom styles for the banner slider */
.tambeauty-slider {
    position: relative;
    width: 100%;
}

.tambeauty-slider .swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 480px;
    color: #fff;
    background-size: cover;
    background-position: center;
}

.tambeauty-slider__overlay {
    position: relative;
    z-index: 2;
    max-width: 960px;
    padding: 3rem 1.5rem;
    text-align: center;
    background: none;
    border-radius: 0;
}

.tambeauty-slider__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.tambeauty-slider__content {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 1.5rem;
    color: #fff;
}

.tambeauty-slider__content p {
    color: inherit;
}

.tambeauty-slider__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.tambeauty-slider__buttons .btn {
    padding: 0.85rem 2.5rem;
    font-size: 1rem;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tambeauty-slider__buttons .btn:hover,
.tambeauty-slider__buttons .btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.tambeauty-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    opacity: 1;
    background: rgba(255, 255, 255, 0.6);
}

.tambeauty-slider .swiper-pagination-bullet-active {
    background: #fff;
}

.tambeauty-slider .swiper-button-next,
.tambeauty-slider .swiper-button-prev {
    color: #fff;
}

.tambeauty-slider .swiper-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

@media (max-width: 767px) {
    .tambeauty-slider__overlay {
        padding: 2.5rem 1.5rem;
    }

    .tambeauty-slider__buttons {
        flex-direction: column;
    }
}
