/* ==========================================================================
   Cleani Services Detail Page Stylesheet
   ========================================================================== */

/* Page Wrapper */
.service-detail-body {
    background-color: var(--white);
    color: var(--text-color);
    font-family: 'Ubuntu', 'Battambang', Arial, sans-serif;
    padding-top: 80px; /* To prevent header overlap */
}

/* Service Hero Section */
.service-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(244, 161, 26, 0.03) 0%, rgba(255, 255, 255, 1) 100%);
    border-bottom: 1px solid var(--border);
}

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

.service-hero-content {
    animation: fadeInL 0.8s ease-out;
}

@keyframes fadeInL {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

.service-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(244, 161, 26, 0.1);
    color: var(--accent-orange);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 1px solid rgba(244, 161, 26, 0.2);
}

.service-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 20px;
}

.service-hero-title span {
    color: var(--primary-orange);
}

.service-hero-desc {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.7;
}

.service-hero-btns {
    display: flex;
    gap: 15px;
}

.service-hero .btn-secondary {
    background: #ffffff;
    color: var(--primary-orange);
    border-color: var(--primary-orange);
    box-shadow: 0 10px 24px rgba(244, 161, 26, 0.12);
}

.service-hero .btn-secondary:hover {
    background: rgba(244, 161, 26, 0.08);
    color: var(--primary-orange);
    border-color: var(--primary-orange);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(244, 161, 26, 0.18);
}

/* Service Hero Image */
.service-hero-image-wrapper {
    position: relative;
    animation: fadeInR 0.8s ease-out;
}

@keyframes fadeInR {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.service-hero-img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    object-fit: cover;
    aspect-ratio: 4 / 3;
    border: 4px solid var(--white);
}

.floating-experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--primary-orange);
    color: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: 0 10px 25px rgba(244, 161, 26, 0.3);
    text-align: center;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-experience-badge h4 {
    font-size: 1.8rem;
    font-weight: 800;
}

.floating-experience-badge p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Tab Toggle (For Home Cleaning - Weekly vs Monthly) */
.toggle-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.tabs-wrapper {
    display: flex;
    background: var(--light-gray);
    padding: 6px;
    border-radius: 50px;
    border: 1px solid var(--border);
}

.tab-trigger {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    background: transparent;
    color: var(--gray);
    font-family: inherit;
    font-size: 1rem;
}

.tab-trigger.active {
    background: var(--primary-orange);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(244, 161, 26, 0.25);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Service Detail Sections */
.detail-section {
    padding: 80px 0;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.1rem;
    margin-top: -30px;
    margin-bottom: 50px;
}

/* Inclusions Grid */
.includes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.include-card {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.include-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-orange);
}

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

.include-icon {
    width: 45px;
    height: 45px;
    background: rgba(244, 161, 26, 0.08);
    color: var(--primary-orange);
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
}

.include-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
}

.include-list {
    list-style: none;
}

.include-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    margin-bottom: 12px;
    color: #555;
}

.include-list li i {
    color: #10b981; /* Green checkmark */
    margin-top: 4px;
    font-size: 0.85rem;
}

/* Perfect For & Why Choose Dual Section */
.features-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.feature-box h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
}

.feature-box-line {
    width: 50px;
    height: 4px;
    background: var(--primary-orange);
    border-radius: 10px;
    margin-bottom: 30px;
}

.feature-items-list {
    list-style: none;
}

.feature-item-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--light-gray);
    border-radius: 14px;
    margin-bottom: 15px;
    transition: var(--transition);
}

.feature-item-row:hover {
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateX(5px);
}

.feature-item-icon {
    font-size: 1.4rem;
    color: var(--primary-orange);
    margin-top: 2px;
}

.feature-item-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
}

.feature-item-text p {
    font-size: 0.92rem;
    color: var(--gray);
    line-height: 1.5;
}

/* Service CTA Section */
.service-cta-banner {
    background: linear-gradient(135deg, var(--dark) 0%, #2a2a2a 100%);
    padding: 60px;
    border-radius: var(--radius);
    text-align: center;
    color: var(--white);
    margin-top: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.service-cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(244,161,26,0.06) 0%, transparent 60%);
    pointer-events: none;
}

.service-cta-banner h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.service-cta-banner p {
    font-size: 1.1rem;
    color: #bbb;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.service-cta-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Upholstery Cleaning Process steps */
.process-steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.process-step-card {
    text-align: center;
    position: relative;
}

.process-step-num {
    width: 45px;
    height: 45px;
    background: var(--primary-orange);
    color: var(--white);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 1.1rem;
    margin: 0 auto 15px;
    box-shadow: 0 4px 10px rgba(244, 161, 26, 0.3);
}

.process-step-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--dark);
}

.process-step-card p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.4;
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */

/* Tablets (1024px and below) */
@media (max-width: 1024px) {
    .service-hero-grid {
        gap: 30px;
    }
    .service-hero-title {
        font-size: 2.4rem;
    }
    .features-split {
        gap: 30px;
    }
    .process-steps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

/* Small tablets (768px and below) */
@media (max-width: 768px) {
    .service-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .service-hero-btns {
        justify-content: center;
    }
    .floating-experience-badge {
        display: none;
    }
    .features-split {
        grid-template-columns: 1fr;
    }
    .service-cta-banner {
        padding: 40px 20px;
    }
    .service-cta-banner h2 {
        font-size: 1.8rem;
    }
    .service-cta-btns {
        flex-direction: column;
        align-items: center;
    }
    .service-cta-btns .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    .service-hero {
        padding: 50px 0;
    }
    .service-hero-title {
        font-size: 2rem;
    }
    .process-steps-grid {
        grid-template-columns: 1fr;
    }
    .include-card {
        padding: 20px;
    }
}
