/* =========================================
   Customer Reviews Section - ULTRA PREMIUM Design
========================================= */

/* Review Item Card - Luxury Edition */
.review-item {
    background: linear-gradient(135deg, #ffffff 0%, #fdfaf5 100%);
    padding: 3.5rem 3rem;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    border: 2px solid transparent;
    height: 420px;
    /* Fixed height for uniform cards */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

/* Decorative Corner Accent */
.review-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-gold) 0%, transparent 100%);
    opacity: 0.1;
    border-radius: 0 12px 0 100%;
    transition: all 0.5s ease;
}

.review-item::after {
    content: '\f10e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 3.5rem;
    color: var(--color-gold);
    opacity: 0.08;
    z-index: 0;
}

.review-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 60px rgba(179, 139, 55, 0.25), 0 0 40px rgba(179, 139, 55, 0.1);
    border-color: var(--color-gold);
}

.review-item:hover::before {
    width: 120px;
    height: 120px;
    opacity: 0.15;
}

/* Review Stars - Enhanced */
.review-stars {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 2rem;
    justify-content: center;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    /* Prevent stars from shrinking */
}

.review-stars i {
    color: var(--color-gold);
    font-size: 1.4rem;
    filter: drop-shadow(0 2px 4px rgba(179, 139, 55, 0.3));
    animation: starFloat 3s ease-in-out infinite;
}

.review-stars i:nth-child(1) {
    animation-delay: 0s;
}

.review-stars i:nth-child(2) {
    animation-delay: 0.15s;
}

.review-stars i:nth-child(3) {
    animation-delay: 0.3s;
}

.review-stars i:nth-child(4) {
    animation-delay: 0.45s;
}

.review-stars i:nth-child(5) {
    animation-delay: 0.6s;
}

@keyframes starFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-5px) scale(1.15);
    }
}

/* Review Text - Premium Typography */
.review-text {
    font-size: 1.15rem;
    /* Slightly smaller for better fit */
    line-height: 1.9;
    /* Adjusted line height */
    color: #333;
    font-style: italic;
    margin-bottom: 2rem;
    /* Reduced margin */
    text-align: center;
    flex-grow: 1;
    position: relative;
    z-index: 1;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    letter-spacing: 0.3px;
    overflow: hidden;
    /* Prevent text overflow */
    display: -webkit-box;
    -webkit-line-clamp: 6;
    /* Limit to 6 lines */
    line-clamp: 6;
    /* Standard property for compatibility */
    -webkit-box-orient: vertical;
}

/* Review Author - Elegant Design */
.review-author {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid transparent;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent) top / 100% 2px no-repeat;
    position: relative;
    z-index: 1;
}

.review-author strong {
    display: block;
    font-size: 1.35rem;
    color: var(--color-maroon);
    font-family: 'Cinzel', serif;
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.review-author span {
    font-size: 1rem;
    color: var(--color-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(179, 139, 55, 0.08);
    border-radius: 20px;
}

/* Owl Carousel Custom Navigation - Luxury Style */
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--color-maroon) 0%, var(--color-maroon-dark) 100%) !important;
    color: var(--color-gold) !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.6rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 25px rgba(93, 0, 30, 0.3);
    border: 2px solid var(--color-gold);
    opacity: 0.9;
}

.owl-carousel .owl-nav button.owl-prev {
    left: -30px;
}

.owl-carousel .owl-nav button.owl-next {
    right: -30px;
}

.owl-carousel .owl-nav button.owl-prev:hover,
.owl-carousel .owl-nav button.owl-next:hover {
    background: linear-gradient(135deg, var(--color-gold) 0%, #d4af37 100%) !important;
    color: var(--color-maroon) !important;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 12px 35px rgba(179, 139, 55, 0.4);
    opacity: 1;
}

/* Owl Carousel Dots - Premium Design */
.owl-carousel .owl-dots {
    text-align: center;
    margin-top: 3rem;
}

.owl-carousel .owl-dot {
    display: inline-block;
    margin: 0 0.5rem;
}

.owl-carousel .owl-dot span {
    width: 14px;
    height: 14px;
    background: rgba(179, 139, 55, 0.25);
    border-radius: 50%;
    display: block;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid transparent;
}

.owl-carousel .owl-dot.active span {
    background: var(--color-gold);
    width: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(179, 139, 55, 0.4);
    border-color: var(--color-gold);
}

.owl-carousel .owl-dot:hover span {
    background: var(--color-maroon);
    transform: scale(1.3);
    border-color: var(--color-maroon);
}

/* Star Rating Form (Interactive) - Enhanced */
.star-rating {
    display: flex;
    gap: clamp(0.5rem, 3vw, 1rem);
    justify-content: center;
    margin: 1.5rem 0 2rem;
    padding: clamp(0.8rem, 3vw, 1.5rem);
    background: rgba(179, 139, 55, 0.05);
    border-radius: 50px;
    border: 2px dashed rgba(179, 139, 55, 0.2);
    flex-wrap: nowrap;
}

.star-rating i {
    font-size: 2.2rem;
    color: #ddd;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.star-rating i:hover {
    color: var(--color-gold);
    transform: scale(1.3) rotate(15deg);
    filter: drop-shadow(0 4px 8px rgba(179, 139, 55, 0.4));
}

.star-rating i.fa-solid {
    color: var(--color-gold);
    transform: scale(1.2);
    animation: starSelected 0.5s ease;
}

@keyframes starSelected {
    0% {
        transform: scale(0.5) rotate(0deg);
    }

    50% {
        transform: scale(1.4) rotate(180deg);
    }

    100% {
        transform: scale(1.2) rotate(360deg);
    }
}

/* Add Review Button Enhancement */
.btn[onclick="openReviewModal()"] {
    position: relative;
    overflow: hidden;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    box-shadow: 0 8px 25px rgba(179, 139, 55, 0.3);
    transition: all 0.4s ease;
}

.btn[onclick="openReviewModal()"]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn[onclick="openReviewModal()"]:hover::before {
    width: 300px;
    height: 300px;
}

.btn[onclick="openReviewModal()"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(179, 139, 55, 0.5);
}

/* Responsive Reviews - Premium */
@media (max-width: 768px) {
    .review-item {
        padding: 2.5rem 2rem;
        height: 380px;
        /* Fixed height for mobile */
    }

    .review-item::after {
        font-size: 2.5rem;
        top: 15px;
        left: 15px;
    }

    .review-text {
        font-size: 1.05rem;
        line-height: 1.8;
        -webkit-line-clamp: 5;
        /* Fewer lines on mobile */
        line-clamp: 5;
    }

    .review-author strong {
        font-size: 1.15rem;
    }

    .owl-carousel .owl-nav button.owl-prev,
    .owl-carousel .owl-nav button.owl-next {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .owl-carousel .owl-nav button.owl-prev {
        left: -15px;
    }

    .owl-carousel .owl-nav button.owl-next {
        right: -15px;
    }

    .star-rating {
        gap: 0.6rem;
        padding: 1rem;
    }

    .star-rating i {
        font-size: 1.8rem;
    }
}