/* Discover Services Section Styling */
.discover-services {
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.discover-services h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 24px;
    padding: 0 20px;
}

.services-slider-container {
    position: relative;
    padding: 0 40px; /* Add padding to make space for arrows */
}

.services-slider {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; /* for smooth scrolling on iOS */
    scrollbar-width: none; /* for Firefox */
    cursor: grab;
    padding: 0 20px 20px 20px; /* Add padding to see shadow and prevent cutting content */
    gap: 20px;
}

.services-slider::-webkit-scrollbar {
    display: none; /* for Chrome, Safari, and Opera */
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.slider-arrow:hover {
    background-color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.prev-arrow {
    left: 0;
}

.next-arrow {
    right: 0;
}

/* Hide arrows on mobile initially */
@media (max-width: 768px) {
    .slider-arrow {
        display: none;
    }
}

.services-slider.grabbing {
    cursor: grabbing;
}

.service-card {
    flex: 0 0 auto;
    width: 280px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    scroll-snap-align: start;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.card-image {
    position: relative;
    width: 100%;
    height: 180px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.favorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.favorite-btn:hover {
    background: white;
}

.favorite-btn i {
    font-size: 18px;
    color: #222;
}

.favorite-btn.active i {
    font-weight: 900; /* For Font Awesome solid heart */
    color: #ff385c;
}

.card-content {
    padding: 16px;
    background: #fff;
}

.card-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: #222;
}

.card-content .location,
.card-content .price,
.card-content .rating {
    font-size: 14px;
    color: #717171;
    margin: 4px 0;
}

.card-content .price {
    font-weight: 600;
    color: #222;
}

.card-content .rating {
    display: flex;
    align-items: center;
}

.card-content .rating i {
    color: #ff385c;
    margin-right: 4px;
}