/* Testimonials Section - Minimal Design */
.testimonials-minimal {
    min-height: 95vh;
    background: linear-gradient(135deg, #f8f6f3 0%, #e8e4dc 100%);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    padding: 40px 0;
    position: relative;
    overflow: visible;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    min-height: 100%;
    display: grid;
    grid-template-columns: 0.7fr 2.3fr;
    gap: 60px;
    padding: 40px 30px;
    align-items: start;
    position: relative;
}

/* Left side - Section info */
.testimonials-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    gap: 30px;
    padding-top: 20px;
    position: relative;
}

.testimonials-section-title {
    text-align: left;
    margin-top: 50px;
}

.testimonials-section-title h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--text-dark);
    margin: 0 0 15px 0;
    line-height: 1.2;
    white-space: nowrap;
}

.testimonials-section-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin: 0 0 30px 0;
    font-family: 'Inter', sans-serif;
}

/* Stats section */
.testimonials-stats {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--primary-color);
    min-width: 60px;
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--text-medium);
    font-weight: 400;
}

/* Review Widgets */
.review-widgets {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 0;
    opacity: 0;
    animation: fadeInCenter 0.8s ease forwards;
    animation-delay: 0.3s;
    justify-content: center;
    align-items: stretch;
    position: absolute;
    top: 65%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
}

.review-widget-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.review-widget-link:hover {
    transform: translateY(-2px);
}

.review-widget-link:hover .review-widget {
    transform: none;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.review-widget {
    background: white;
    border-radius: 10px;
    padding: 4px 12px 4px 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    width: 210px;
    height: 70px;
    max-height: 70px;
    min-width: 190px;
    text-align: left;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Hover effect now handled by .review-widget-link */

.widget-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75px;
    height: 52px;
    border-radius: 8px;
    background: #f8f6f3;
    flex-shrink: 0;
    overflow: hidden;
}

.widget-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    flex: 1;
}

.google-widget .widget-rating {
    background: transparent;
}

.tripadvisor-widget .widget-rating {
    background: transparent;
}

.trustpilot-widget .widget-rating {
    background: transparent;
}

.platform-logo {
    height: 24px;
    width: auto;
    max-width: 60px;
    filter: none;
    flex-shrink: 0;
    object-fit: contain;
    display: block;
}

.platform-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.2;
    white-space: nowrap;
    margin: 0;
}

.widget-rating {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1px;
    padding: 0;
    background: transparent;
    flex-shrink: 0;
    border-radius: 0;
    text-align: left;
}

.rating-score {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.1;
    white-space: nowrap;
}

.widget-rating .stars {
    color: #d4af37;
    font-size: 0.7rem;
    line-height: 1;
    margin: 0;
}

.review-count {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: var(--text-medium);
    font-weight: 400;
    text-align: left;
    white-space: nowrap;
}

.google-widget .widget-rating .stars {
    color: #d4af37;
}

.tripadvisor-widget .widget-rating .stars {
    color: #d4af37;
}

.trustpilot-widget .widget-rating .stars {
    color: #d4af37;
}

/* Platform-specific logo styling */
.google-widget .platform-logo {
    height: 20px;
    filter: brightness(0) saturate(100%);
}

.tripadvisor-widget .platform-logo {
    height: 20px;
    max-width: 55px;
    filter: none;
}

.trustpilot-widget .platform-logo {
    height: 20px;
    max-width: 50px;
    filter: none;
}

/* Right side - Testimonials content */
.testimonials-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    height: 100%;
    overflow: hidden;
    max-width: 100%;
}

/* Featured testimonial - Full Image Scrolling */
.featured-testimonial-images {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    margin-top: 25px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    overflow: hidden;
    height: 200px;
}

.images-scrolling-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.images-scrolling-track {
    display: flex;
    height: 100%;
    animation: scrollImagesHorizontal 6s linear infinite;
    will-change: transform;
}

.client-photo {
    flex-shrink: 0;
    height: 100%;
    width: 300px;
    position: relative;
    overflow: hidden;
}

.client-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    filter: brightness(0.9) contrast(1.1);
}

.client-photo:hover img {
    transform: scale(1.05);
    filter: brightness(1) contrast(1.2);
}

/* Pause scrolling on hover */
.featured-testimonial-images:hover .images-scrolling-track {
    animation-play-state: paused;
}

/* Add overlay for better visual effect */
.images-scrolling-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(201, 169, 110, 0.1) 0%, 
        transparent 20%, 
        transparent 80%, 
        rgba(201, 169, 110, 0.1) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Horizontal scrolling animation for full images */
@keyframes scrollImagesHorizontal {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


/* Simple 3-column testimonials */
.testimonials-scrolling {
    display: flex;
    gap: 20px;
    height: 450px;
    overflow: hidden;
    padding: 20px;
    margin-top: -25px;
    width: 100%;
    max-width: 100%;
    background: transparent;
    border-radius: 15px;
}

.testimonials-column {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
    background: transparent;
    border-radius: 10px;
    padding: 0;
    min-width: 170px;
    max-width: 270px;
}

.testimonials-track {
    display: flex;
    flex-direction: column;
    gap: 0;
    animation-duration: 25s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    will-change: transform;
    padding: 15px 0;
}

/* First column scrolls up */
.testimonials-column[data-direction="up"] .testimonials-track {
    animation-name: scrollUp;
}

/* Second column scrolls down */
.testimonials-column[data-direction="down"] .testimonials-track {
    animation-name: scrollDown;
}

/* Third column scrolls up (same as first) */
.testimonials-column:nth-child(3) .testimonials-track {
    animation-name: scrollUp;
}


/* Pause animation on hover */
.testimonials-column:hover .testimonials-track {
    animation-play-state: paused;
}

.testimonial-card {
    background: var(--background-light);
    background-image: 
        linear-gradient(90deg, rgba(201, 169, 110, 0.1) 1px, transparent 1px),
        linear-gradient(rgba(201, 169, 110, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    border-radius: 12px;
    padding: 22px;
    box-shadow: none;
    border: 1px solid rgba(201, 169, 110, 0.1);
    transition: all 0.3s ease;
    flex-shrink: 0;
    opacity: 1;
    transform: none;
    margin-bottom: 15px;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    position: relative;
    z-index: 100;
    box-sizing: border-box;
}


.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: none;
    border-color: rgba(201, 169, 110, 0.2);
    cursor: pointer;
}

/* Testimonial card content styling */
.testimonial-card p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #2d2926;
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial-card .author {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #c9a96e;
    margin-bottom: 8px;
}

.testimonial-card .stars {
    color: #d4af37;
    font-size: 0.9rem;
}

/* Vertical scrolling animations */
@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

@keyframes scrollDown {
    0% {
        transform: translateY(-50%);
    }
    100% {
        transform: translateY(0);
    }
}

.testimonial-content p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0 0 15px 0;
    font-style: italic;
}

.testimonial-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.testimonial-meta .author {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-color);
}

.rating-small {
    display: flex;
    gap: 2px;
}

.rating-small i {
    color: var(--luxury-gold);
    font-size: 0.8rem;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInCenter {
    to {
        opacity: 1;
        transform: translateY(-50%);
    }
}

/* Counter animation for stats */
.stat-number.counting {
    animation: countUp 2s ease-out;
}

@keyframes countUp {
    from {
        opacity: 0.5;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .testimonials-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 30px;
    }
    
    .testimonials-minimal {
        height: auto;
        min-height: 100vh;
        padding: 60px 0;
    }
    
    .testimonials-section-title h2 {
        font-size: 2.4rem;
        white-space: normal;
        text-align: center;
    }
    
    .testimonials-section-subtitle {
        text-align: center;
    }
    
    .testimonials-stats {
        flex-direction: row;
        justify-content: center;
        gap: 40px;
    }
    
    .stat-item {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
    
    .testimonials-scrolling {
        grid-template-columns: 1fr;
        height: 500px;
        padding: 0 15px;
        margin-left: 0;
    }
    
    .testimonials-track {
        animation-duration: 20s;
    }
    
    .testimonial-card {
        padding: 16px;
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 15px;
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {
    .testimonials-container {
        padding: 0 20px;
        gap: 30px;
    }
    
    .testimonials-section-title h2 {
        font-size: 2rem;
    }
    
    .featured-testimonial-images {
        height: 185px;
    }
    
    .client-photo {
        width: 280px;
    }
    
    .testimonials-scrolling {
        height: 450px;
        padding: 0 10px;
        margin-left: 0;
    }
    
    .testimonials-track {
        animation-duration: 18s;
    }
    
    .testimonial-card {
        padding: 15px;
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 15px;
        box-sizing: border-box;
    }
    
    .review-widgets {
        gap: 12px;
        position: static;
        transform: none;
        top: auto;
    }
    
    .review-widget {
        padding: 4px 12px 4px 6px;
        max-width: none;
        width: 100%;
        height: auto;
        min-height: 70px;
    }
    
    .widget-logo {
        width: 55px;
        height: 40px;
    }
    
    .platform-logo {
        height: 18px;
    }
    
    .rating-score {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .testimonials-minimal {
        padding: 40px 0;
    }
    
    .testimonials-container {
        padding: 0 15px;
    }
    
    .testimonials-section-title h2 {
        font-size: 1.8rem;
    }
    
    .featured-testimonial-images {
        height: 165px;
    }
    
    .client-photo {
        width: 250px;
    }
    
    
    .testimonials-scrolling {
        height: 400px;
        gap: 15px;
        padding: 0 5px;
        margin-left: 0;
    }
    
    .testimonials-track {
        animation-duration: 15s;
    }
    
    .testimonial-card {
        padding: 14px;
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 15px;
        box-sizing: border-box;
    }
}
