:root {
    --primary-color: #e3be57;
    --secondary-color: #000000;
    --text-color: #FFFFFF;
    --dark-bg: #0F0F0F;
    --card-bg: rgba(25, 25, 25, 0.7);
    --border-color: rgba(255, 215, 0, 0.3);
    --card-hover: rgba(35, 35, 35, 0.9);
}

.white-text {
    color: #ffffff;
}

.hero-services {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--primary-color);
}

.hero-badge-services {
    display: inline-block;
    background: var(--primary-color);
    color: black;
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(227, 190, 87, 0.4);
    margin-top: 15%;
}

.hero-bg-gallery {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.859), rgba(0, 0, 0, 0.859)),
        url('../img/hero-content-gallery-background.jpg') center/cover no-repeat;
    z-index: -1;
}

/* Gallery Section */
.gallery-section-gallery {
    padding: 60px 0;
    background-color: #121212;
    border-bottom: 2px solid var(--primary-color);
}

.section-title-gallery {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.section-title-after-gallery {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.gallery-intro-gallery {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.gallery-intro-h2-gallery {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.gallery-intro-p-gallery {
    font-size: 1.1rem;
    color: #cccccc;
}

.gallery-filter-gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.filter-btn-gallery {
    padding: 10px 20px;
    background-color: var(--card-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.filter-btn-active-gallery {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

.filter-btn-hover-gallery:hover {
    background-color: rgba(255, 215, 0, 0.1);
}

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

.gallery-item-gallery {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 250px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.gallery-item-img-gallery {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay-gallery {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item-hover-overlay-gallery:hover .gallery-overlay-gallery {
    opacity: 1;
}

.gallery-info-gallery {
    color: white;
}

.gallery-info-h3-gallery {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.gallery-info-p-gallery {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Before After Slider Section */
.before-after-gallery {
    padding: 60px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.859), rgba(0, 0, 0, 0.859)),
        url('../img/before-after-background.JPG') center/cover no-repeat;
    border-bottom: 2px solid var(--primary-color);
}

.before-after-content-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.before-after-title-gallery {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
}

.before-after-subtitle-gallery {
    font-size: 1.1rem;
    color: #cccccc;
    text-align: center;
    max-width: 800px;
    margin-bottom: 40px;
}

.slider-container-gallery {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.before-after-images-gallery {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
}

.before-image-gallery,
.after-image-gallery {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.before-image-gallery {
    z-index: 1;
}

.after-image-gallery {
    z-index: 2;
}

.slider-handle-gallery {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--primary-color);
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-handle-gallery::before {
    content: '↔';
    color: var(--secondary-color);
    font-size: 25px;
    background-color: var(--primary-color);
    padding: 6px 10px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
    font-weight: bold;
}

.slider-labels-gallery {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    margin-bottom: 15px;
    margin-right: 15px;
    margin-left: 15px;
    font-weight: bold;
}

.slider-label-gallery {
    padding: 5px 15px;
    border-radius: 4px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
}

.slider-label-before-gallery {
    color: var(--primary-color);
}

.slider-label-after-gallery {
    color: var(--primary-color);
}

.gallery-selector-gallery {
    margin-top: 40px;
    width: 100%;
    max-width: 800px;
}

.gallery-selector-title-gallery {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
}

.gallery-selector-grid-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.gallery-selector-item-gallery {
    position: relative;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-selector-item-hover-gallery:hover {
    transform: scale(1.05);
}

.gallery-selector-item-img-gallery {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-selector-item-selected-gallery {
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.selector-overlay-gallery {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-selector-item-hover-overlay-gallery:hover .selector-overlay-gallery {
    opacity: 1;
}

.selector-overlay-i-gallery {
    color: white;
    font-size: 24px;
}

/* Testimonials Section */
.testimonials-gallery {
    padding: 60px 0;
    background-color: #121212;
    border-bottom: 2px solid var(--primary-color);
}

.testimonials-content-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonials-title-gallery {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
}

.testimonials-subtitle-gallery {
    font-size: 1.1rem;
    color: #cccccc;
    text-align: center;
    max-width: 800px;
    margin-bottom: 40px;
}

.testimonials-slider-gallery {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-item-gallery {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
    display: none;
}

.testimonial-item-active-gallery {
    display: block;
}

.testimonial-content-gallery {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

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

.testimonial-avatar-gallery {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.testimonial-avatar-img-gallery {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info-gallery {
    display: flex;
    flex-direction: column;
}

.testimonial-name-gallery {
    font-weight: bold;
    font-size: 1.1rem;
}

.testimonial-role-gallery {
    font-size: 0.9rem;
    color: #cccccc;
}

.testimonial-rating-gallery {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 10px;
}

.testimonial-navigation-gallery {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.testimonial-nav-btn-gallery {
    width: 50px;
    height: 50px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

#prev-testimonial-gallery,
#next-testimonial-gallery {
    color: var(--primary-color);
    font-size: 25px;
}

#prev-testimonial-gallery:hover,
#next-testimonial-gallery:hover {
    background-color: rgba(255, 215, 0, 0.1);
}

/* Call to Action Section */
.cta-section-gallery {
    padding: 60px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.859), rgba(0, 0, 0, 0.859)),
        url('../img/action-content-testimonials-background.jpg') center/cover no-repeat;
    text-align: center;
}

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

.cta-content-h2-gallery {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.cta-content-p-gallery {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 30px;
}

.cta-buttons-gallery {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button-large-gallery {
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.cta-button-large-hover-gallery:hover {
    background-color: white;
}

.cta-button-secondary-gallery {
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.cta-button-secondary-hover-gallery:hover {
    background-color: rgba(255, 215, 0, 0.1);
}

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

@media (max-width: 992px) {
    .section-title-gallery {
        font-size: 2rem;
    }

    .gallery-grid-gallery {
        grid-template-columns: 1fr;
    }

    .before-after-images-gallery {
        height: 300px;
    }

    .slider-container-gallery {
        max-width: 100%;
    }

    .gallery-selector-grid-gallery {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }

    .testimonials-slider-gallery {
        max-width: 100%;
    }

    .testimonial-item-gallery {
        padding: 20px;
    }
}