/* Floor Care Page Styles */
/* ======================== */

/* Professional Maintenance Section */
.professional-maintenance {
    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;
}

.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;
}

/* Our Floor Services Section */
.our-floor-services {
    padding: 5rem 0;
    background-color: #FFFFFF;
}

.services-grid-floor-care {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card-floor-care {
    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-floor-care:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(199, 5, 50, 0.2);
    border-color: var(--color-primary);
}

.service-icon-floor {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.service-card-floor-care h3 {
    font-size: 1.2rem;
    color: var(--color-text-primary);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.service-card-floor-care p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Flooring Types Section */
.flooring-types {
    padding: 5rem 0;
    background-color: #F9FAFB;
}

.flooring-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.flooring-type-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;
}

.flooring-type-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(199, 5, 50, 0.15);
    border-color: var(--color-primary);
}

.flooring-type-card h3 {
    font-size: 1.1rem;
    color: var(--color-text-primary);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.flooring-type-card p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Floor Care Process Timeline */
.floor-care-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;
}

.process-step:nth-child(even) {
    flex-direction: row;
}

.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;
}

.process-connector {
    display: none;
}

/* Why Choose Prime Section */
.why-choose-prime {
    padding: 5rem 0;
    background-color: #F9FAFB;
}

.why-choose-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-choose-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.why-choose-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    animation: fadeInUp 700ms ease-out forwards;
}

.check-icon {
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.why-choose-item span {
    font-size: 1rem;
    color: var(--color-text-primary);
    font-weight: 500;
}

.statistics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-item {
    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-item: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;
}

/* Maintenance Programs Section */
.maintenance-programs {
    padding: 5rem 0;
    background-color: #FFFFFF;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.program-card {
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: var(--transition-smooth);
    opacity: 0;
    animation: fadeInUp 700ms ease-out forwards;
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(199, 5, 50, 0.15);
    border-color: var(--color-primary);
}

.program-card.featured {
    border-color: var(--color-primary);
    box-shadow: 0 8px 24px rgba(199, 5, 50, 0.12);
}

.program-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--color-primary), #E91E63);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.program-header {
    margin-bottom: 1.5rem;
    margin-top: 1rem;
}

.program-header h3 {
    font-size: 1.3rem;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.program-frequency {
    font-size: 0.9rem;
    color: var(--color-primary);
    font-weight: 600;
}

.program-description {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

.program-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
    flex-grow: 1;
}

.program-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

.program-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

.btn-block {
    width: 100%;
    margin-top: auto;
}

/* 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;
}

/* Service Coverage */
.coverage-section {
    padding: 5rem 0;
    background-color: #FFFFFF;
}

.coverage-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.coverage-header {
    text-align: center;
    margin-bottom: 3rem;
}

.coverage-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.coverage-map-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.coverage-map {
    width: 100%;
}

.service-coverage-map-img {
    width: 100%;
    height: auto;
    display: block;
}

.coverage-cities-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
}

.coverage-city-card {
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    padding: 1.5rem;
    transition: var(--transition-smooth);
    opacity: 0;
    animation: fadeInUp 700ms ease-out forwards;
}

.coverage-city-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 6px 16px rgba(199, 5, 50, 0.1);
}

.city-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.city-marker-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.city-marker-badge.dfw {
    background: #1F2937;
}

.city-marker-badge.austin {
    background: #7C3AED;
}

.city-marker-badge.san-antonio {
    background: #DC2626;
}

.city-marker-badge.houston {
    background: var(--color-primary);
}

.city-card-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0;
}

.city-card-desc {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin: 0.5rem 0;
}

.city-card-highlight {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-top: 0.75rem;
}

/* 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;
    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;
    }

    .why-choose-content {
        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%;
    }

    .coverage-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .professional-maintenance,
    .our-floor-services,
    .flooring-types,
    .floor-care-process,
    .why-choose-prime,
    .maintenance-programs,
    .before-after,
    .coverage-section,
    .faq-section,
    .final-cta-section {
        padding: 3rem 0;
    }

    .column-content h2,
    .section-header h2 {
        font-size: 1.8rem !important;
    }

    .services-grid-floor-care,
    .flooring-types-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .why-choose-list {
        grid-template-columns: 1fr;
    }

    .statistics-grid {
        grid-template-columns: 1fr;
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .professional-maintenance,
    .our-floor-services,
    .flooring-types,
    .floor-care-process,
    .why-choose-prime,
    .maintenance-programs,
    .before-after,
    .coverage-section,
    .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;
    }

    .why-choose-list {
        grid-template-columns: 1fr;
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }
}

/* Scroll animation for elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Intersection Observer Animation Trigger */
.service-card-floor-care.animate-in,
.flooring-type-card.animate-in,
.program-card.animate-in,
.stat-item.animate-in,
.faq-item.animate-in {
    animation: fadeInUp 700ms ease-out forwards;
}
