/* ==========================================================================
   Testimonials Grid Styling (Premium, Kleurrijk & Dynamisch)
   ========================================================================== */

/* De hoofdkaart waar alle recensies in vallen */
.testimonials-card {
    width: 100%;
    background: linear-gradient(145deg, #1f2229, #191b21);
    padding: 26px;
    border-radius: 16px;
    box-sizing: border-box;
    margin-top: 24px;
    border: 1px solid #2a2e38;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* De Automatische Recensie-Grid (Zet ze strak naast elkaar) */
.testimonial-grid {
    display: grid;
    /* Dwingt de recensies in kolommen van minimaal 280px breed */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    width: 100%;
    margin-top: 15px;
}

/* De individuele recensie-kaartjes */
.testimonial-item {
    background-color: #13151a;
    border: 1px solid #22252e;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    z-index: 1;
    /* Vloeiende overgang voor alle hover-kleuren en bewegingen */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* HOVER EFFECTEN: Kaart komt omhoog en krijgt een diepe kleurengloed */
.testimonial-item:hover {
    background-color: #1c1f26;
    border-color: #dfb76c; /* Goud randje */
    transform: translateY(-5px); /* Zweeft 5px nuchter omhoog */
    
    /* Goud met een mystiek spiritueel paars/magenta gloed-effect onder de kaart */
    box-shadow: 0 12px 28px rgba(223, 183, 108, 0.12), 
                0 4px 15px rgba(162, 57, 202, 0.08);
}

/* Luxe glans-animatie die over de recensie schiet bij een hover */
.testimonial-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 40%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: skewX(-20deg);
    z-index: -1;
}

.testimonial-item:hover::before {
    animation: testimonial-shine 1s ease;
}

/* Goud/Neon Vijf Sterren */
.testimonial-stars {
    margin-bottom: 12px;
    display: flex;
    gap: 4px;
}

.testimonial-stars i {
    color: #dfb76c;
    font-size: 12px;
    /* Zachte goudgloed achter de sterretjes */
    filter: drop-shadow(0 0 3px rgba(223, 183, 108, 0.6));
}

/* Animatie: sterren twinkelen zachtjes als je de recensie aanraakt */
.testimonial-item:hover .testimonial-stars i {
    animation: star-twinkle 0.3s ease-in-out infinite alternate;
}

/* De tekst van de recensie zelf */
.testimonial-content {
    color: #b0b3b8;
    font-size: 14px;
    line-height: 1.6;
    font-style: italic;
    margin: 0 0 16px 0;
    flex-grow: 1;
    transition: color 0.3s ease;
}

.testimonial-item:hover .testimonial-content {
    color: #ffffff; /* Tekst licht fel op naar wit bij hover */
}

/* Cliënt info balkje onderin */
.testimonial-client {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #1f2229;
    padding-top: 12px;
}

/* De ronde profielfoto van de klant */
.testimonial-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #2a2e38;
    transition: border-color 0.3s ease;
}

.testimonial-item:hover .testimonial-avatar {
    border-color: #dfb76c; /* Goud randje rond de foto bij hover */
}

/* Naam van de klant */
.testimonial-name {
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
}

/* ==========================================================================
   Animatie Definities
   ========================================================================== */
@keyframes testimonial-shine {
    100% { left: 200%; }
}

@keyframes star-twinkle {
    0% { 
        transform: scale(1); 
        filter: drop-shadow(0 0 3px rgba(223, 183, 108, 0.6)); 
    }
    100% { 
        transform: scale(1.15); 
        filter: drop-shadow(0 0 6px rgba(255, 212, 121, 0.9)); 
    }
}