/* Testimonials Page Styles */
body {
    background-color: rgb(0, 0, 26); /* Dark navy blue background */
}

.testimonials-section {
    padding: 120px 0 80px;
    background-color: rgb(0, 0, 26);
    min-height: 80vh;
    position: relative;
}

/* Luxurious subtle gold accents at top and bottom */
.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, rgba(255, 191, 0, 0), rgba(255, 191, 0, 0.5), rgba(255, 191, 0, 0));
}

.testimonials-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, rgba(255, 191, 0, 0), rgba(255, 191, 0, 0.5), rgba(255, 191, 0, 0));
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-family: 'Antipasto Pro', sans-serif;
    font-size: 42px;
    color: rgb(255, 191, 0); /* Gold color for headings on dark background */
    margin-bottom: 50px;
    text-align: center;
    letter-spacing: 1.5px;
    position: relative;
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, transparent, rgb(255, 191, 0), transparent);
    margin: 15px auto 0;
}

/* Testimonial Carousel Rows */
.testimonial-row {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 25px;
    padding: 10px 0;
}

.testimonial-carousel {
    display: flex;
    align-items: center;
}

.testimonial-item {
    flex: 0 0 auto;
    margin: 0 10px;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.testimonial-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(255, 191, 0, 0.2), 0 8px 20px rgba(0, 0, 0, 0.5);
}

.testimonial-image {
    width: 280px;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.testimonial-item:hover .testimonial-image {
    transform: scale(1.05);
}

/* Left-to-Right Animation */
.testimonial-row-ltr .testimonial-carousel {
    animation: scrollLeftToRight 40s linear infinite;
}

/* Right-to-Left Animation */
.testimonial-row-rtl .testimonial-carousel {
    animation: scrollRightToLeft 40s linear infinite;
}

@keyframes scrollLeftToRight {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollRightToLeft {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0%);
    }
}

/* Pause animation on hover */
.testimonial-row:hover .testimonial-carousel {
    animation-play-state: paused;
}

/* Testimonial hint text */
.testimonial-hint {
    text-align: center;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-style: italic;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .section-title {
        font-size: 36px;
    }
    
    .testimonial-image {
        width: 220px;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 100px 0 60px;
    }
    
    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .testimonial-image {
        width: 180px;
    }
    
    .testimonial-row {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .testimonials-section {
        padding: 90px 0 50px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .testimonial-image {
        width: 140px;
    }
}