/**
 * Digitalease Theme - Homepage Reviews Carousel
 * 
 * Container carusel, wrapper, slide, controls și bullets.
 * Split din features/reviews/homepage.css pentru modularizare.
 * 
 * @package Digitalease
 * @since 2.1.0
 */

/* [CTX:HOMEPAGE_REVIEWS_CSS:SECTION] */
/* =============================================================================
   HOMEPAGE REVIEWS SECTION
   ============================================================================= */

.homepage-reviews-section {
    background: #ead4c373;
    padding: 30px 0;
}

.homepage-reviews-section .container {
    max-width: 1920px;
    padding-right: clamp(15px, 8vw, 175px);
    padding-left: clamp(15px, 8vw, 175px);
}

/* Header secțiune */
.homepage-reviews-section .section-header {
    text-align: center;
    margin-bottom: 20px;
}

.homepage-reviews-section .section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: #590202;
    margin: 0 auto;
    line-height: 1.2;
    text-align: center;
}

/* [CTX:HOMEPAGE_REVIEWS_CSS:CAROUSEL] */
/* =============================================================================
   CAROUSEL CONTAINER
   ============================================================================= */

.homepage-reviews-carousel {
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.reviews-carousel-container {
    position: relative;
    overflow: hidden;
}

.reviews-carousel-wrapper {
    display: flex;
    gap: 0 20px;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform;
}

/* Slide individual - 3 carduri pe desktop, spațiu doar între ele (gap), nu pe margini */
.review-slide {
    flex: 0 0 calc((100% - 40px) / 3);
    width: calc((100% - 40px) / 3);
    box-sizing: border-box;
}

/* [CTX:HOMEPAGE_REVIEWS_CSS:CONTROLS] */
/* =============================================================================
   CAROUSEL CONTROLS
   ============================================================================= */

.reviews-carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    pointer-events: auto;
    color: #590202;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: #590202;
    color: white;
    border-color: #590202;
    transform: scale(1.05);
}

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

.carousel-prev {
    margin-left: -24px;
}

.carousel-next {
    margin-right: -24px;
}

/* [CTX:HOMEPAGE_REVIEWS_CSS:BULLETS] */
/* =============================================================================
   BULLETS / INDICATORS
   ============================================================================= */

.homepage-reviews-section .bullets-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    position: relative;
    z-index: 3;
    /* Inactive .bullet is 15px; active pill is 6px — lock row height so content below does not shift. */
    min-height: 15px;
}

.homepage-reviews-section .bullet {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(89, 2, 2, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    touch-action: manipulation;
    pointer-events: auto;
}

.homepage-reviews-section .bullet.active {
    background: #590202;
    width: 30px;
    height: 6px;
    border-radius: 24px;
    transform: none;
}

.homepage-reviews-section .bullet:hover {
    background: #590202;
    opacity: 0.7;
}
