/**
 * Beautician Service Detail Pages - Shared CSS
 * Used by all 42 individual beautician service pages
 * Theme colors are set via CSS variables for each category
 */

/* Base Variables - Override in page for different themes */
:root {
    --theme-primary: #FF6B9D;
    --theme-dark: #C44569;
    --theme-light: #FFE4EA;
    --theme-gradient: linear-gradient(135deg, #FF6B9D 0%, #C44569 100%);
    --theme-shadow: rgba(196, 69, 105, 0.15);
}

/* Page Base */
.service-page {
    background: linear-gradient(180deg, var(--theme-light) 0%, #FFFFFF 100%);
    min-height: 100vh;
}

/* Hero Section */
.service-hero {
    background: var(--theme-gradient);
    padding: 100px 20px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.service-hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.hero-breadcrumb {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.hero-breadcrumb a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
}

.hero-breadcrumb a:hover {
    text-decoration: underline;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-tagline {
    color: rgba(255, 255, 255, 0.95);
    font-size: 16px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    color: white;
    font-size: 14px;
}

.hero-stat i {
    color: #FFD700;
}

/* Content Container */
.service-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 16px 120px;
}

/* Price Card */
.price-card {
    background: white;
    border-radius: 24px;
    padding: 28px;
    margin: -40px 16px 24px;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 40px var(--theme-shadow);
    border: 1px solid rgba(255, 107, 157, 0.1);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.price-main {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.price-current {
    font-size: 36px;
    font-weight: 700;
    color: var(--theme-dark);
}

.price-old {
    font-size: 18px;
    color: #999;
    text-decoration: line-through;
}

.price-discount {
    background: var(--theme-gradient);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.price-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.price-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.price-meta-item i {
    color: var(--theme-primary);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 12px;
}

.btn-book {
    flex: 1;
    background: var(--theme-gradient);
    color: white;
    border: none;
    padding: 18px 28px;
    border-radius: 16px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--theme-shadow);
}

.btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--theme-shadow);
}

.btn-cart {
    flex: 1;
    background: white;
    color: var(--theme-dark);
    border: 2px solid var(--theme-dark);
    padding: 18px 28px;
    border-radius: 16px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-cart:hover {
    background: var(--theme-light);
}

/* Section Cards */
.section-card {
    background: white;
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 20px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--theme-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title i {
    background: var(--theme-light);
    color: var(--theme-dark);
    padding: 10px;
    border-radius: 12px;
    font-size: 18px;
}

/* Includes Grid */
.includes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.include-item {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: linear-gradient(135deg, var(--theme-light) 0%, #FFFFFF 100%);
    border-radius: 14px;
    border: 1px solid var(--theme-light);
}

.include-icon {
    width: 44px;
    height: 44px;
    background: var(--theme-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.include-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.include-info p {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

/* Benefits List */
.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--theme-light);
    border-radius: 12px;
}

.benefit-item i {
    color: #4CAF50;
    font-size: 16px;
}

.benefit-item span {
    font-size: 14px;
    color: #444;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    padding: 20px;
    background: linear-gradient(135deg, var(--theme-light) 0%, #FFFFFF 100%);
    border-radius: 16px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--theme-dark);
}

.trust-badge i {
    font-size: 24px;
}

.trust-badge span {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

/* Privacy Notice */
.privacy-notice {
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.privacy-notice i {
    font-size: 32px;
    color: #4CAF50;
}

.privacy-notice-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2E7D32;
    margin-bottom: 4px;
}

.privacy-notice-text p {
    font-size: 14px;
    color: #388E3C;
}

/* Article Content */
.article-content {
    line-height: 1.8;
    color: #444;
}

.article-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--theme-dark);
    margin: 24px 0 12px;
}

.article-content p {
    margin-bottom: 16px;
    font-size: 15px;
}

.article-content ul {
    margin: 12px 0;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 8px;
    font-size: 15px;
}

/* FAQ Accordion */
.faq-item {
    border-bottom: 1px solid var(--theme-light);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-question i {
    color: var(--theme-primary);
    transition: transform 0.3s;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 0 20px;
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    display: none;
}

.faq-answer.show {
    display: block;
}

/* Related Services Grid */
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}

.related-item {
    background: linear-gradient(135deg, var(--theme-light) 0%, #FFFFFF 100%);
    border: 1px solid var(--theme-light);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
}

.related-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px var(--theme-shadow);
}

.related-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.related-item .price {
    color: var(--theme-dark);
    font-weight: 700;
    font-size: 16px;
}

/* Brands Showcase */
.brands-showcase {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 24px;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
    border-radius: 16px;
    margin-bottom: 20px;
}

.brand-item {
    text-align: center;
    color: white;
}

.brand-item i {
    font-size: 28px;
    margin-bottom: 8px;
    display: block;
}

.brand-item span {
    font-size: 12px;
    font-weight: 600;
}

/* Relaxation Tips */
.relaxation-tips {
    background: linear-gradient(135deg, var(--theme-light) 0%, #FFFFFF 100%);
    border-radius: 16px;
    padding: 24px;
    margin-top: 20px;
}

.relaxation-tips h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--theme-dark);
    margin-bottom: 12px;
}

.relaxation-tips ul {
    padding-left: 20px;
}

.relaxation-tips li {
    margin-bottom: 8px;
    color: #555;
}

/* ==================== THEME VARIATIONS ==================== */

/* Gold Theme - For facials like gold, diamond, bridal */
.theme-gold {
    --theme-primary: #D4AF37;
    --theme-dark: #B8860B;
    --theme-light: #FFF8DC;
    --theme-gradient: linear-gradient(135deg, #FFD700 0%, #DAA520 100%);
    --theme-shadow: rgba(218, 165, 32, 0.2);
}

/* Purple/Spa Theme - For massage, spa services */
.theme-spa {
    --theme-primary: #7E57C2;
    --theme-dark: #5E35B1;
    --theme-light: #EDE7F6;
    --theme-gradient: linear-gradient(135deg, #9575CD 0%, #5E35B1 100%);
    --theme-shadow: rgba(126, 87, 194, 0.2);
}

/* Rose/Bridal Theme */
.theme-bridal {
    --theme-primary: #8B0A50;
    --theme-dark: #8B0A50;
    --theme-light: #FFF0F5;
    --theme-gradient: linear-gradient(135deg, #D4AF37 0%, #C44569 50%, #8B0A50 100%);
    --theme-shadow: rgba(139, 10, 80, 0.2);
}

/* Green/Natural Theme - For organic, herbal services */
.theme-natural {
    --theme-primary: #66BB6A;
    --theme-dark: #43A047;
    --theme-light: #E8F5E9;
    --theme-gradient: linear-gradient(135deg, #81C784 0%, #43A047 100%);
    --theme-shadow: rgba(76, 175, 80, 0.2);
}

/* ==================== DARK MODE ==================== */
.dark-mode .service-page {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
}

.dark-mode .price-card,
.dark-mode .section-card {
    background: #1e1e32;
    border-color: #3a2545;
}

.dark-mode .hero-title,
.dark-mode .price-current,
.dark-mode .section-title {
    color: #FF9EBA;
}

.dark-mode .include-item,
.dark-mode .benefit-item,
.dark-mode .related-item,
.dark-mode .relaxation-tips {
    background: #252540;
    border-color: #3a2545;
}

.dark-mode .include-info h4,
.dark-mode .faq-question,
.dark-mode .related-item h4 {
    color: #eee;
}

.dark-mode .include-info p,
.dark-mode .benefit-item span,
.dark-mode .article-content,
.dark-mode .article-content p,
.dark-mode .article-content li,
.dark-mode .faq-answer,
.dark-mode .relaxation-tips li {
    color: #aaa;
}

.dark-mode .trust-badges {
    background: #252540;
}

.dark-mode .privacy-notice {
    background: linear-gradient(135deg, #1B3326 0%, #2E4A3B 100%);
}

.dark-mode .privacy-notice-text h4,
.dark-mode .privacy-notice-text p {
    color: #81C784;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 600px) {
    .hero-title {
        font-size: 28px;
    }

    .price-current {
        font-size: 28px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .includes-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        gap: 16px;
    }

    .trust-badges {
        gap: 20px;
    }

    .brands-showcase {
        gap: 16px;
    }

    .price-card {
        margin: -40px 8px 20px;
        padding: 20px;
    }

    .section-card {
        padding: 20px;
    }

    .benefits-list {
        grid-template-columns: 1fr;
    }

    .privacy-notice {
        flex-direction: column;
        text-align: center;
    }
}