/* Base Styles - Inherit from home.css */
@import url('home.css');

/* CSS Variables for Modern Design */
:root {
    --primary: #1a1a2e;
    --secondary: #e94560;
    --accent: #f39c12;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --text-light: #6c757d;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.18);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Service Hero */
.service-hero {
    height: 60vh;
    min-height: 400px;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(233, 69, 96, 0.6));
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    opacity: 0.9;
    z-index: 1;
}

.service-hero .container {
    position: relative;
    z-index: 2;
}

.service-hero .hero-content {
    text-align: center;
    color: var(--white);
    width: 100%;
}

.service-hero .hero-content h1 {
    font-family: 'Inter', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
    letter-spacing: -0.02em;
}

.service-hero .hero-content p {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto 30px;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
    line-height: 1.6;
}

.service-hero .btn {
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

/* Service Intro */
.service-intro {
    padding: 100px 0;
    background-color: var(--white);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.intro-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

/* Centered intro content for facials */
.intro-content-centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.intro-content-centered h2 {
    margin-bottom: 30px;
}

.intro-content-centered p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-light);
}

.intro-features-centered {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
    justify-items: center;
}

.intro-features-centered .feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.intro-features-centered .feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.intro-features-centered .feature i {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.intro-features-centered .feature span {
    font-weight: 600;
    color: var(--primary);
}

.intro-image img:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.intro-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.intro-features {
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature i {
    color: var(--secondary);
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Service Benefits */
.service-benefits {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    padding: 32px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(26, 26, 46, 0.08);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    transform: scaleX(0);
    transition: var(--transition);
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(233, 69, 96, 0.2);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 1.8rem;
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary);
}

/* Service Types */
.service-types {
    padding: 100px 0;
    background-color: var(--white);
}

.types-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.type-tab {
    padding: 12px 24px;
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.type-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition);
    z-index: -1;
}

.type-tab:hover {
    color: var(--white);
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.type-tab:hover::before {
    left: 0;
}

.type-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.type-tab.active::before {
    left: 0;
}

.types-content {
    position: relative;
    min-height: 500px;
}

.type-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.type-info.active {
    opacity: 1;
    visibility: visible;
}

.type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.type-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.type-image img:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.type-details h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.type-details p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.type-specs {
    margin-top: 30px;
}

.spec {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.spec i {
    color: var(--secondary);
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Pricing Table */
.pricing-table {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.table-container {
    overflow-x: auto;
    margin-top: 50px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(26, 26, 46, 0.08);
}

th, td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

tr:nth-child(even) {
    background-color: var(--light-gray);
}

tr:hover {
    background-color: rgba(233, 69, 96, 0.05);
    transform: scale(1.01);
    transition: var(--transition);
}

.pricing-notes {
    margin-top: 30px;
    padding: 30px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.pricing-notes h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.pricing-notes ul {
    list-style: none;
}

.pricing-notes li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.pricing-notes li:before {
    content: '•';
    color: var(--secondary);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

/* Service Audience */
.service-audience {
    padding: 100px 0;
    background-color: var(--white);
}

.audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.audience-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.audience-list {
    margin-top: 30px;
}

.audience-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.audience-item i {
    color: var(--secondary);
    margin-right: 15px;
    margin-top: 3px;
    font-size: 1.2rem;
}

/* Contraindications */
.contraindications {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.contra-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.contra-card {
    padding: 30px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
}

.contra-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contra-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 1.8rem;
}

.contra-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary);
}

/* Prep Checklist */
.prep-checklist {
    padding: 100px 0;
    background-color: var(--white);
}

.checklist-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

.dos, .donts {
    padding: 30px;
    border-radius: 10px;
}

.dos {
    background-color: rgba(0, 128, 0, 0.05);
    border: 1px solid rgba(0, 128, 0, 0.2);
}

.donts {
    background-color: rgba(128, 0, 0, 0.05);
    border: 1px solid rgba(128, 0, 0, 0.2);
}

.dos h3 {
    color: green;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.donts h3 {
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.dos h3 i, .donts h3 i {
    margin-right: 15px;
}

.dos ul, .donts ul {
    list-style: none;
}

.dos li, .donts li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.dos li:before {
    content: '✓';
    color: green;
    position: absolute;
    left: 0;
}

.donts li:before {
    content: '✗';
    color: var(--primary);
    position: absolute;
    left: 0;
}

/* Aftercare */
.aftercare {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.aftercare-tips h3 {
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.aftercare-tips h3 i {
    margin-right: 15px;
}

.aftercare-tips ul {
    list-style: none;
}

.aftercare-tips li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.aftercare-tips li:before {
    content: '•';
    color: var(--secondary);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

.aftercare-products h3 {
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.aftercare-products h3 i {
    margin-right: 15px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.product {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.product img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product h4 {
    padding: 15px 15px 5px;
    color: var(--primary);
}

.product p {
    padding: 0 15px 15px;
    color: var(--text-light);
}

/* Before/After */
.before-after {
    padding: 100px 0;
    background-color: var(--white);
}

.ba-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.ba-item {
    display: flex;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.ba-image {
    flex: 1;
    background-size: cover;
    background-position: center;
    position: relative;
}

.ba-image:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

.ba-image span {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--primary);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 500;
}

/* Reviews */
.service-reviews {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.review-card {
    padding: 30px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stars {
    color: var(--secondary);
    margin-bottom: 15px;
}

.review-text {
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.8;
}

.client-name {
    font-weight: 600;
    color: var(--primary);
}

/* FAQ */
.service-faq {
    padding: 100px 0;
    background-color: var(--white);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    padding: 20px;
    background-color: var(--light-gray);
    border: none;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: #e9e9e9;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: var(--white);
}

.faq-answer p {
    padding: 20px 0;
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background-color: var(--primary);
    color: var(--white);
    padding: 15px 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    transition: bottom 0.3s ease;
    z-index: 100;
}

.sticky-cta.visible {
    bottom: 0;
}

.sticky-cta .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sticky-cta p {
    font-weight: 500;
    font-size: 1.1rem;
}

.sticky-cta .btn {
    padding: 8px 25px;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .intro-grid, .type-grid, .audience-grid {
        grid-template-columns: 1fr;
    }
    
    .intro-image, .type-image, .audience-image {
        order: -1;
    }
    
    .checklist-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .service-hero {
        height: 50vh;
    }
    
    .service-hero .hero-content h1 {
        font-size: 3rem;
    }
    
    .service-hero .hero-content p {
        font-size: 1.2rem;
    }
    
    .type-tabs {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .service-hero {
        height: 40vh;
        min-height: 300px;
    }
    
    .service-hero .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .service-hero .hero-content p {
        font-size: 1rem;
    }
    
    .sticky-cta .container {
        flex-direction: column;
        text-align: center;
    }
    
    .sticky-cta p {
        margin-bottom: 10px;
    }
    
    .ba-gallery {
        grid-template-columns: 1fr;
    }
    
    .ba-item {
        flex-direction: column;
        height: auto;
    }
    
    .ba-image {
        height: 200px;
    }
}