.gallery-section {
    background: white;
    padding: 6rem 2rem;
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

.gallery-header {
    text-align: center;
    margin-bottom: 4rem;
}

.gallery-header h2 {
    font-size: 3.5rem;
    color: var(--turquoise);
    margin-bottom: 1rem;
    font-weight: 700;
}

.gallery-header p {
    font-size: 1.3rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(61, 218, 215, 0.3);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    padding: 2rem 1.5rem 1.5rem;
    z-index: 2;
    text-align: center;
    color: white;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
}

.gallery-overlay p {
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
}

.testimonials-section {
    margin-top: 5rem;
}

.testimonials-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--turquoise);
    margin-bottom: 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(61, 218, 215, 0.05), rgba(255, 139, 139, 0.05));
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid var(--sand);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(61, 218, 215, 0.2);
    border-color: var(--turquoise);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--turquoise);
    opacity: 0.3;
}

.testimonial-rating {
    display: flex;
    gap: 0.3rem;
}

.star-icon {
    color: #ffd700;
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.testimonial-author strong {
    color: var(--turquoise);
    font-size: 1.1rem;
}

.testimonial-author span {
    color: var(--text-gray);
    font-size: 0.9rem;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .gallery-header h2 {
        font-size: 2.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

