.media-gallery {
    padding: 4rem 0;
    background: var(--light-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 16/9;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.05);
}

.before-after-slider {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    cursor: ew-resize;
}

.before-after-slider img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gold);
    cursor: ew-resize;
    z-index: 10;
}

.slider-handle::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--gold);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.testimonial-carousel {
    position: relative;
    padding: 2rem 0;
}

.testimonial-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.testimonial-video {
    width: 100%;
    max-width: 600px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.testimonial-content {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-author {
    color: var(--gold);
    font-weight: 600;
    margin-top: 1rem;
}
