/* Services Page Specific Styles */

/* Hero Section */
.services-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/salon_image.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 20px;
    text-align: center;
}

.services-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.services-hero .headline {
    color: white;
    font-size: 56px;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.service-description {
    font-size: 22px;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* General Content Styling */
.content-section {
    padding: 80px 0;
    background-color: #fff;
}

.content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Services Introduction */
.services-intro {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-intro p {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

/* Headline Styling */
.headline {
    font-family: 'Playfair Display', serif; /* Assuming Playfair Display is used site-wide for headlines */
    font-size: 48px;
    font-weight: 700;
    color: #1d1d1f;
    text-align: center;
    margin-bottom: 20px;
}

/* Call to Action Styling */
.service-cta {
    font-size: 18px;
    color: #0071e3;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.6;
    font-weight: 500;
}

/* Service Category Styling */
.service-category {
    margin-bottom: 60px;
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.category-icon {
    width: 50px;
    height: 50px;
    background-color: #f5f5f7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.category-icon i {
    font-size: 22px;
    color: #0071e3;
}

.category-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: #1d1d1f;
    margin: 0;
}

/* Services List Container */
.services-list-container {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    overflow: hidden; /* Ensures border-radius is respected by children */
    margin-bottom: 20px;
}

/* Individual Service Item Styling */
.service-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e8e8ed;
    text-decoration: none;
    color: #1d1d1f;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.service-list-item:last-child {
    border-bottom: none; /* Remove border for the last item */
}

.service-list-item:hover {
    background-color: #f5f5f7; /* Light hover effect */
    transform: translateX(5px);
}

.service-name {
    font-size: 18px;
    font-weight: 500;
    color: #333;
}

.service-price {
    font-size: 18px;
    font-weight: 600;
    color: #0071e3; /* A distinct color for price */
    min-width: 80px; /* Ensure some space for price alignment */
    text-align: right;
}

/* Services Note */
.services-note {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 12px;
    margin-top: 40px;
    text-align: center;
}

.services-note p {
    font-size: 16px;
    color: #555;
    margin-bottom: 25px;
}

.cta-center {
    text-align: center;
}

/* Button Styling */
.button.primary {
    display: inline-block;
    background-color: #0071e3;
    color: white;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.button.primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .services-hero {
        padding: 80px 20px;
    }
    
    .services-hero .headline {
        font-size: 40px;
    }
    
    .service-description {
        font-size: 18px;
    }
    
    .category-title {
        font-size: 24px;
    }

    .service-cta {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .service-list-item {
        padding: 18px 20px;
    }

    .service-name, .service-price {
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    .content-section {
        padding: 40px 0;
    }
    
    .services-hero {
        padding: 60px 20px;
    }
    
    .services-hero .headline {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .service-description {
        font-size: 16px;
    }
    
    .category-header {
        flex-direction: column;
        text-align: center;
    }
    
    .category-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .category-title {
        font-size: 22px;
    }

    .service-cta {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .services-list-container {
        border-radius: 8px;
    }

    .service-list-item {
        padding: 15px;
        flex-direction: column; /* Stack name and price on small screens */
        align-items: flex-start; /* Align items to the start when stacked */
    }

    .service-name {
        font-size: 16px;
        margin-bottom: 5px; /* Space between name and price when stacked */
    }

    .service-price {
        font-size: 16px;
        text-align: left; /* Align price to left when stacked */
        min-width: auto; /* Reset min-width */
        font-weight: 500;
    }

    .service-list-item:hover {
        transform: none; /* Optional: disable horizontal transform on mobile */
    }
    
    .services-note {
        padding: 20px;
    }
    
    .button.primary {
        padding: 12px 25px;
        font-size: 15px;
    }
}
