/* ============================================
   Modern Services Section Design
   ============================================ */

/* Section Header */
.services-badge-modern {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    color: #d4af37;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin-bottom: 1.5rem;
}

.services-main-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-family: "Playfair Display", Georgia, serif;
    line-height: 1.2;
    letter-spacing: -0.02em;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.services-main-subtitle {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.7);
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
}

/* Services Carousel */
.services-carousel {
    margin-top: 4rem;
    position: relative;
    padding: 0 60px;
}

.services-carousel .carousel-inner {
    padding: 2rem 0 4rem;
}

/* Service Slide Container */
.service-slide-container {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.15);
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.service-slide-container .row {
    margin: 0;
}

.service-slide-container .col-lg-6 {
    padding: 0;
}

/* Icon at Top Right */
.service-slide-icon-top {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 70px;
    height: 70px;
    background: #d4af37;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35);
    z-index: 10;
    transition: all 0.3s ease;
}

.service-slide-container:hover .service-slide-icon-top {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.5);
}

.service-slide-icon-top i {
    font-size: 1.85rem;
    color: #ffffff;
}

/* Slide Image */
.service-slide-image {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: #1a1a1a;
}

.service-slide-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.service-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Slide Content */
.service-slide-content {
    padding: 4rem 4rem 4rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 500px;
}

.service-slide-number {
    font-size: 4.5rem;
    font-weight: 800;
    color: rgba(212, 175, 55, 0.15);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1;
    letter-spacing: -3px;
    margin-bottom: 1.5rem;
}

.service-slide-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-family: "Playfair Display", Georgia, serif;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.service-slide-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.75);
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.2px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .services-main-title {
        font-size: 2.5rem;
    }

    .service-slide-icon-top {
        width: 65px;
        height: 65px;
        top: 1.5rem;
        right: 1.5rem;
    }

    .service-slide-icon-top i {
        font-size: 1.7rem;
    }

    .service-slide-content {
        padding: 3rem 3rem 3rem 2.5rem;
        min-height: 450px;
    }

    .service-slide-image {
        height: 450px;
    }
    
    .service-slide-image img {
        height: 450px;
    }

    .service-slide-number {
        font-size: 4rem;
        margin-bottom: 1.25rem;
    }

    .service-slide-title {
        font-size: 2rem;
        margin-bottom: 1.25rem;
    }

    .service-slide-description {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .services-main-title {
        font-size: 2rem;
    }

    .services-main-subtitle {
        font-size: 1rem;
    }

    .service-slide-icon-top {
        width: 60px;
        height: 60px;
        top: 1.5rem;
        right: 1.5rem;
    }

    .service-slide-icon-top i {
        font-size: 1.6rem;
    }

    .service-slide-container .row {
        flex-direction: column;
    }

    .service-slide-image {
        height: 350px;
    }
    
    .service-slide-image img {
        height: 350px;
    }

    .service-slide-content {
        padding: 2.5rem 2rem;
        min-height: auto;
    }

    .service-slide-number {
        font-size: 3.5rem;
        margin-bottom: 1.25rem;
    }

    .service-slide-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .service-slide-description {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

/* Carousel Controls */
.services-carousel-control {
    width: 50px;
    height: 50px;
    background: #d4af37 !important;
    border-radius: 50%;
    opacity: 1 !important;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    border: none;
}

.services-carousel-control:hover {
    background: #d4af37 !important;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.services-carousel-control:focus {
    background: #d4af37 !important;
}

.services-carousel-control.carousel-control-prev {
    left: 0;
}

.services-carousel-control.carousel-control-next {
    right: 0;
}

/* Hide default carousel icons */
.services-carousel-control .carousel-control-prev-icon,
.services-carousel-control .carousel-control-next-icon {
    display: none;
}

.carousel-control-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-image: none !important;
}

.carousel-control-icon i {
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: bold;
}

/* Carousel Indicators */
.services-indicators {
    position: relative;
    bottom: auto;
    margin-top: 2rem;
    margin-bottom: 0;
}

.services-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(212, 175, 55, 0.3);
    border: none;
    margin: 0 6px;
    transition: all 0.3s ease;
    opacity: 1;
}

.services-indicators button.active {
    background-color: #d4af37;
    width: 35px;
    border-radius: 6px;
}

.services-indicators button:hover {
    background-color: rgba(212, 175, 55, 0.6);
    transform: scale(1.2);
}

/* Carousel Animations */
.services-carousel .carousel-item {
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

.services-carousel .carousel-item-next,
.services-carousel .carousel-item-prev {
    opacity: 0;
}

.services-carousel .carousel-item.active {
    opacity: 1;
}

@media (max-width: 991px) {
    .services-carousel {
        padding: 0 50px;
    }

    .services-carousel-control {
        width: 45px;
        height: 45px;
    }

    .carousel-control-icon i {
        font-size: 1.3rem;
    }
}

@media (max-width: 767px) {
    .services-carousel {
        padding: 0 40px;
    }

    .services-carousel-control {
        width: 40px;
        height: 40px;
    }

    .carousel-control-icon i {
        font-size: 1.2rem;
    }

    .services-indicators {
        margin-top: 1.5rem;
    }

    .services-indicators button {
        width: 10px;
        height: 10px;
        margin: 0 5px;
    }

    .services-indicators button.active {
        width: 30px;
    }
}

@media (max-width: 575px) {
    .service-slide-icon-top {
        width: 55px;
        height: 55px;
        top: 1.25rem;
        right: 1.25rem;
    }

    .service-slide-icon-top i {
        font-size: 1.5rem;
    }

    .service-slide-image {
        height: 300px;
    }
    
    .service-slide-image img {
        height: 300px;
    }

    .service-slide-content {
        padding: 2rem 1.5rem;
    }

    .service-slide-number {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .service-slide-title {
        font-size: 1.5rem;
    }

    .service-slide-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .services-carousel {
        padding: 0 35px;
    }

    .services-carousel-control {
        width: 36px;
        height: 36px;
    }

    .carousel-control-icon i {
        font-size: 1.1rem;
    }

    .service-slide-icon-top {
        width: 50px;
        height: 50px;
        top: 1rem;
        right: 1rem;
    }

    .service-slide-icon-top i {
        font-size: 1.4rem;
    }

    .service-slide-image {
        height: 250px;
    }
    
    .service-slide-image img {
        height: 250px;
    }

    .service-slide-content {
        padding: 1.75rem 1.25rem;
    }

    .service-slide-number {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .service-slide-title {
        font-size: 1.4rem;
    }
}
