/* Service Detail Sections (Keratin & Color Correction) */
.service-detail-section {
    padding: 80px 0;
}
.service-item-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap; 
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}
.service-item-wrapper.reversed {
    flex-direction: row-reverse; 
}
.service-image {
    flex: 1;
    min-width: 300px; /* Minimum width before wrapping */
    max-width: 45%; /* Max width to ensure text has space */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.service-text-content {
    flex: 1.5;
    text-align: left;
}
.service-text-content h3 {
    color: #1992d0;
    margin-bottom: 20px;
}
.service-text-content p {
    font-size: 1.05em;
    color: #444;
    margin-bottom: 10px;
}
.price-info {
    font-weight: bold;
    color: #147ab3;
    font-size: 1.15em;
    margin-top: 15px;
}
.great-for {
    margin-top: 25px;
}
.great-for h4 {
    color: #1992d0;
    margin-bottom: 10px;
    font-size: 1.3em;
}
.great-for ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.great-for ul li {
    background-color: #e0f2f7; /* Lighter blue background for list items */
    color: #1992d0;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.95em;
    font-weight: 600;
}
.outro-text {
    font-style: italic;
    color: #666;
    margin-top: 25px;
}

/* Service Category Section (Extensions Overview) */
.service-category-section {
    padding: 80px 0;
    background-color: #e0f2f7; /* Light blue background for this section */
    text-align: center;
}
.service-category-section h2 {
    color: #1992d0;
    margin-bottom: 20px;
}
.category-intro {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.service-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.card-image {
    width: 100%;
    height: 180px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}
.service-card h4 {
    color: #1992d0;
    margin-top: 0; /* Override default h4 margin */
    margin-bottom: 10px;
}
.service-card p {
    flex-grow: 1; /* Allows paragraphs to take available space */
    font-size: 0.95em;
    color: #555;
}
.service-card .price-info {
    font-size: 1.05em;
    margin-bottom: 15px;
}
.great-for.small {
    margin-top: 15px;
}
.great-for.small h5 {
    color: #147ab3;
    font-size: 1.1em;
    margin-bottom: 8px;
}
.great-for.small ul {
    list-style: none;
    padding: 0;
}
.great-for.small ul li {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 5px;
}


/* Why Choose Bellaqua Section */
.why-bellaqua-section {
    background: linear-gradient(135deg, #1992d0, #147ab3);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.why-bellaqua-section h2 {
    color: #ffffff;
    font-size: 3em;
    margin-bottom: 40px;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}
.benefit-card {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    padding: 30px 20px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.benefit-card:hover {
    transform: translateY(-8px);
    background-color: rgba(255, 255, 255, 0.25);
}
.benefit-card .icon {
    font-size: 3em;
    margin-bottom: 15px;
    display: block;
    line-height: 1;
}
.benefit-card h3 {
    font-size: 1.6em;
    color: #ffffff;
    margin-bottom: 10px;
}
.benefit-card p {
    font-size: 0.95em;
    color: #e0e0e0;
}
.closing-statement {
    font-size: 1.2em;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
    color: #f0f0f0;
}



/* Responsive Design */
@media (max-width: 992px) {
    .service-item-wrapper {
        flex-direction: column;
    }
    .service-item-wrapper.reversed {
        flex-direction: column; /* Also stack when reversed */
    }
    .service-image {
        max-width: 100%; /* Take full width */
        margin-bottom: 30px;
    }
    .service-text-content {
        text-align: center;
    }
    .great-for ul {
        justify-content: center; /* Center list items in row */
    }
    .service-card {
        padding: 25px;
    }
    .card-image {
        height: 160px;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2em; }
    h2 { font-size: 2em; margin-bottom: 30px; }
    h3 { font-size: 1.8em; }
    h4 { font-size: 1.3em; }

    

    .service-detail-section, .service-category-section, .why-bellaqua-section {
        padding: 60px 0;
    }
    .service-item-wrapper { padding: 30px; gap: 30px; }
    .great-for ul li { font-size: 0.9em; padding: 6px 12px; }

    .service-card h4 { font-size: 1.3em; }
    .service-card p { font-size: 0.9em; }
    .card-image { height: 140px; }

    .why-bellaqua-section h2 { font-size: 2.5em; }
    .benefit-card .icon { font-size: 2.5em; }
    .benefit-card h3 { font-size: 1.4em; }
    .closing-statement { font-size: 1.1em; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.8em; }
    h2 { font-size: 1.8em; }
    h3 { font-size: 1.5em; }

   
    .button { padding: 10px 20px; font-size: 0.9em; }

    .service-item-wrapper { padding: 20px; }
    .service-image { min-width: unset; } /* Remove min-width on very small screens */
    .service-text-content { text-align: left; } /* Reset text align for flow */
    .great-for ul { justify-content: flex-start; } /* Align lists left again */

    .service-grid { gap: 20px; }
    .service-card { padding: 20px; }
    .card-image { height: 120px; }

    .why-bellaqua-section h2 { font-size: 2em; }
    .benefit-card { padding: 20px; }
    .benefit-card .icon { font-size: 2em; }
    .benefit-card h3 { font-size: 1.2em; }
    .closing-statement { font-size: 1em; }
}
