/* Salus360 Services Carousel Widget Styles */

.salus-services-section {
    padding: 96px 0;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.salus-services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

/* Header Styles */
.salus-services-header {
    margin-bottom: 64px;
}

.salus-subtitle {
    font-size: 14px;
    color: #E9501D;
    margin-bottom: 16px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
}

.salus-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #000000;
    line-height: 1.1;
}

.salus-title .text-highlight {
    color: #E9501D;
}

.salus-description {
    font-size: 20px;
    color: rgba(0, 0, 0, 0.6);
    max-width: 600px;
    line-height: 1.6;
}

/* Carousel Wrapper */
.salus-carousel-wrapper {
    position: relative;
}

.salus-carousel {
    display: flex;
    gap: 24px;
    overflow-x: hidden;
    padding-bottom: 32px;
    scroll-behavior: smooth;
    position: relative; /* rende il carousel offsetParent delle card */
}

/* Service Card */
.salus-service-card {
    position: relative;
    min-width: 300px;
    aspect-ratio: 3 / 4;
    flex-shrink: 0;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
    .salus-service-card {
        min-width: 400px;
    }
}

.salus-card-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.salus-card-placeholder {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

.salus-service-card:hover .salus-card-image {
    transform: scale(1.05);
}

.salus-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        transparent 100%
    );
    z-index: 1;
}

.salus-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    z-index: 10;
}

.salus-card-link {
    text-decoration: none;
    display: block;
}

.salus-card-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.2;
}

.salus-card-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin: 0;
}

/* Navigation */
.salus-nav-wrapper {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 32px;
}

.salus-services-section .salus-nav-btn {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    border-radius: 50% !important;
    background-color: #E9501D !important;
    border: none !important;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    transition: all 0.3s ease;
    padding: 0 !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
}

.salus-services-section .salus-nav-btn:hover {
    background-color: #d13f0f !important;
    transform: scale(1.05);
}

.salus-services-section .salus-nav-btn:active {
    transform: scale(0.95);
}

.salus-services-section .salus-nav-btn svg {
    width: 24px !important;
    height: 24px !important;
    stroke: #ffffff !important;
    display: block !important;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .salus-services-section {
        padding: 64px 0;
    }

    .salus-title {
        font-size: 36px;
    }

    .salus-description {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .salus-services-section {
        padding: 48px 0;
    }

    .salus-services-header {
        margin-bottom: 40px;
    }

    .salus-title {
        font-size: 28px;
    }

    .salus-description {
        font-size: 16px;
    }

    .salus-service-card {
        min-width: 280px;
    }

    .salus-card-content {
        padding: 24px;
    }

    .salus-card-title {
        font-size: 20px;
    }

    .salus-card-description {
        font-size: 13px;
    }

    .salus-services-section .salus-nav-btn {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
    }

    .salus-services-section .salus-nav-btn svg {
        width: 20px !important;
        height: 20px !important;
    }
}

/* Scrollbar Hide */
.salus-carousel::-webkit-scrollbar {
    display: none;
}

.salus-carousel {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Touch/Drag Support Visual Feedback */
.salus-carousel.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.salus-carousel.is-dragging .salus-service-card {
    pointer-events: none;
}
