/* Deep Cleaning Page Styles */
/* ======================== */

/* Two Column Layout */
.what-is-deep-cleaning {
    padding: 5rem 0;
    background-color: var(--color-bg);
}

.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.column-image {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 800ms ease-out forwards;
}

.column-image .responsive-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.column-image .responsive-image:hover {
    transform: scale(1.02);
}

.column-content {
    opacity: 0;
    animation: fadeInUp 800ms ease-out 200ms forwards;
}

.column-content h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    color: var(--color-text-primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.column-content h3 {
    font-size: 1.3rem;
    color: var(--color-text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.column-content p {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.deep-cleaning-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.deep-cleaning-list li {
    padding: 0.5rem 0 0.5rem 2rem;
    position: relative;
    color: var(--color-text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

.deep-cleaning-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.highlight-text {
    background: linear-gradient(135deg, rgba(199, 5, 50, 0.1), rgba(233, 30, 99, 0.1));
    padding: 1.5rem;
    border-left: 4px solid var(--color-primary);
    border-radius: 8px;
    margin-top: 2rem;
    font-style: italic;
}

/* Services Included Section */
.services-included {
    padding: 5rem 0;
    background-color: #FFFFFF;
}

.services-grid-deep-cleaning {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card-deep-cleaning {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 2px solid #E5E7EB;
    transition: var(--transition-smooth);
    opacity: 0;
    animation: fadeInUp 700ms cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.service-card-deep-cleaning:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(199, 5, 50, 0.2);
    border-color: var(--color-primary);
}

.service-icon-deep {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.service-card-deep-cleaning h3 {
    font-size: 1.2rem;
    color: var(--color-text-primary);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.service-card-deep-cleaning p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Ideal For Section */
.ideal-for {
    padding: 5rem 0;
    background-color: #F9FAFB;
}

.ideal-for-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.ideal-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #E5E7EB;
    transition: var(--transition-smooth);
    opacity: 0;
    animation: fadeInUp 700ms cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.ideal-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(199, 5, 50, 0.15);
    border-color: var(--color-primary);
}

.ideal-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.ideal-card h3 {
    font-size: 1.1rem;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.ideal-card p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Cleaning Process Section */
.cleaning-process {
    padding: 5rem 0;
    background-color: #FFFFFF;
}

.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.process-timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary, #E91E63));
}

.process-step {
    margin-bottom: 3rem;
    display: flex;
    justify-content: space-between;
    opacity: 0;
    animation: fadeInUp 700ms ease-out forwards;
}

.process-step:nth-child(odd) {
    flex-direction: row-reverse;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary), #E91E63);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(199, 5, 50, 0.3);
}

.step-content {
    width: calc(50% - 40px);
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #E5E7EB;
}

.step-content h3 {
    font-size: 1.2rem;
    color: var(--color-text-primary);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.step-content p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

.step-connector {
    display: none;
}

/* Before & After Section */
.before-after {
    padding: 5rem 0;
    background-color: #F9FAFB;
}

.before-after-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    opacity: 0;
    animation: fadeInUp 700ms ease-out forwards;
}

.comparison-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.comparison-before,
.comparison-after {
    position: absolute;
    width: 100%;
    height: 100%;
}

.comparison-before {
    left: 0;
}

.comparison-after {
    right: 0;
    clip-path: inset(0 0 0 50%);
}

.comparison-before img,
.comparison-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.label {
    position: absolute;
    top: 1rem;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10;
}

.comparison-before .label {
    left: 1rem;
}

.comparison-after .label {
    right: 1rem;
}

.gallery-item h4 {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-text-primary);
    font-weight: 600;
    margin: 0;
}

/* Why Choose Prime Section */
.why-choose-prime {
    padding: 5rem 0;
    background-color: #FFFFFF;
}

.why-choose-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    animation: fadeInUp 700ms ease-out forwards;
}

.benefit-item svg {
    color: var(--color-primary);
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.benefit-item span {
    font-size: 1rem;
    color: var(--color-text-primary);
    font-weight: 500;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, rgba(199, 5, 50, 0.1), rgba(233, 30, 99, 0.1));
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid rgba(199, 5, 50, 0.2);
    text-align: center;
    opacity: 0;
    animation: fadeInUp 700ms ease-out forwards;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary);
    box-shadow: 0 6px 16px rgba(199, 5, 50, 0.12);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background-color: #F9FAFB;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 700ms ease-out forwards;
    transition: var(--transition-smooth);
}

.faq-item.open {
    box-shadow: 0 4px 12px rgba(199, 5, 50, 0.1);
    border-color: var(--color-primary);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    color: var(--color-text-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-smooth);
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-item.open .faq-question {
    color: var(--color-primary);
}

.faq-question svg {
    width: 24px;
    height: 24px;
    color: currentColor;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin: 0;
    font-size: 1rem;
}

/* Final CTA Section */
.final-cta-section {
    position: relative;
    padding: 5rem 0;
    background-color: #FFFFFF;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #C70532 0%, #E91E63 100%);
    z-index: 0;
}

.final-cta-section .container {
    position: relative;
    z-index: 1;
}

.final-cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    color: white;
}

.final-cta-content h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 1rem;
    font-weight: 700;
    opacity: 0;
    animation: fadeInUp 800ms ease-out forwards;
}

.final-cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    opacity: 0.95;
    opacity: 0;
    animation: fadeInUp 800ms ease-out 200ms forwards;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 800ms ease-out 400ms forwards;
}

.final-cta-section .btn-primary {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
}

.final-cta-section .btn-primary:hover {
    background: white;
    color: var(--color-primary);
    border-color: white;
}

.final-cta-section .btn-secondary-outlined {
    color: white;
    border: 2px solid white;
    background: transparent;
}

.final-cta-section .btn-secondary-outlined:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .process-timeline::before {
        display: none;
    }

    .process-step {
        flex-direction: column !important;
        justify-content: flex-start;
    }

    .step-number {
        margin-bottom: 1rem;
    }

    .step-content {
        width: 100%;
    }

    .why-choose-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .what-is-deep-cleaning,
    .services-included,
    .ideal-for,
    .cleaning-process,
    .before-after,
    .why-choose-prime,
    .faq-section,
    .final-cta-section {
        padding: 3rem 0;
    }

    .column-content h2,
    .section-header h2 {
        font-size: 1.8rem !important;
    }

    .services-grid-deep-cleaning,
    .ideal-for-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .benefits-list {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .what-is-deep-cleaning,
    .services-included,
    .ideal-for,
    .cleaning-process,
    .before-after,
    .why-choose-prime,
    .faq-section,
    .final-cta-section {
        padding: 2rem 0;
    }

    .column-content h3 {
        font-size: 1.1rem;
    }

    .column-content p {
        font-size: 0.95rem;
    }

    .process-step {
        margin-bottom: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .faq-question {
        padding: 1rem;
        font-size: 1rem;
    }

    .final-cta-content h2 {
        font-size: 1.8rem;
    }

    .final-cta-content p {
        font-size: 1rem;
    }
}

/* Scroll animation for elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Intersection Observer Animation Trigger */
.service-card-deep-cleaning.animate-in,
.ideal-card.animate-in,
.benefit-item.animate-in,
.stat-card.animate-in,
.faq-item.animate-in {
    animation: fadeInUp 700ms ease-out forwards;
}
