/* HVAC Diagnostics & Reports Page Styles */
/* ============================================ */

@import url('design-tokens.css');

/* ============================================
   1. WHY HVAC DIAGNOSTICS MATTER SECTION
   ============================================ */

.hvac-why-diagnostics {
    padding: 5rem 0;
    background-color: var(--color-bg);
}

.hvac-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hvac-why-image {
    position: relative;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.hvac-why-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hvac-why-content h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    color: var(--color-text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.hvac-why-intro {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.hvac-why-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.hvac-benefit-item {
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #E5E7EB;
}

.hvac-benefit-item:last-child {
    border-bottom: none;
}

.hvac-benefit-item h3 {
    font-size: 1.2rem;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.hvac-benefit-item p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ============================================
   2. WHAT WE INSPECT SECTION
   ============================================ */

.hvac-what-inspect {
    padding: 5rem 0;
    background-color: #F9FAFB;
}

.hvac-inspect-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
}

.hvac-inspect-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    border: 1px solid #E5E7EB;
}

.hvac-inspect-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(199, 5, 50, 0.12);
    border-color: var(--color-primary);
}

.hvac-inspect-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #C70532, #E91E63);
    color: white;
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.hvac-inspect-item:hover .hvac-inspect-icon {
    transform: scale(1.1) rotate(-5deg);
}

.hvac-inspect-icon svg {
    width: 36px;
    height: 36px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hvac-inspect-item h3 {
    font-size: 1.1rem;
    color: var(--color-text-primary);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.hvac-inspect-item p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ============================================
   3. INSPECTION PROCESS TIMELINE SECTION
   ============================================ */

.hvac-inspection-process {
    padding: 5rem 0;
    background-color: var(--color-bg);
}

.hvac-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.hvac-timeline-item {
    position: relative;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    border-left: 4px solid var(--color-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.hvac-timeline-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-left-color: #E91E63;
}

.hvac-timeline-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #C70532, #E91E63);
    color: white;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.hvac-timeline-icon svg {
    width: 26px;
    height: 26px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hvac-timeline-content h3 {
    font-size: 1.2rem;
    color: var(--color-text-primary);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.hvac-timeline-content p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ============================================
   4. INSPECTION GALLERY SECTION
   ============================================ */

.hvac-inspection-gallery {
    padding: 5rem 0;
    background-color: #F9FAFB;
}

.hvac-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    auto-rows: 300px;
}

.hvac-gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.hvac-gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.hvac-gallery-large {
    grid-column: span 1;
    grid-row: span 2;
    auto-rows: auto;
    height: 616px;
}

.hvac-gallery-wide {
    grid-column: span 2;
    auto-rows: auto;
    height: 300px;
}

.hvac-gallery-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hvac-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hvac-gallery-item:hover .hvac-gallery-image img {
    transform: scale(1.08);
}

.hvac-gallery-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hvac-gallery-item:hover .hvac-gallery-label {
    opacity: 1;
}

.hvac-gallery-label h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

/* ============================================
   5. CALL TO ACTION SECTION
   ============================================ */

.hvac-diagnostics-cta {
    position: relative;
    padding: 6rem 0;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #C70532 0%, #E91E63 100%);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hvac-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(199, 5, 50, 0.85), rgba(3, 20, 58, 0.85));
    z-index: 1;
}

.hvac-cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    color: white;
    padding: 0 2rem;
}

.hvac-cta-content h2 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.hvac-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hvac-cta-buttons .btn-primary {
    background: white;
    color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.hvac-cta-buttons .btn-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .hvac-why-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hvac-why-image {
        height: 400px;
    }

    .hvac-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hvac-gallery-large {
        grid-column: span 1;
        grid-row: span 1;
        height: 300px;
    }

    .hvac-gallery-wide {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .hvac-why-diagnostics {
        padding: 3rem 0;
    }

    .hvac-why-image {
        height: 300px;
    }

    .hvac-why-content h2 {
        font-size: 1.8rem;
    }

    .hvac-inspect-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .hvac-inspect-item {
        padding: 1.5rem;
    }

    .hvac-inspection-process {
        padding: 3rem 0;
    }

    .hvac-timeline {
        grid-template-columns: 1fr;
    }

    .hvac-gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        auto-rows: 250px;
    }

    .hvac-gallery-large,
    .hvac-gallery-wide {
        grid-column: span 1;
        height: 250px;
    }

    .hvac-diagnostics-cta {
        padding: 3rem 0;
    }

    .hvac-cta-content h2 {
        font-size: 1.5rem;
    }

    .hvac-cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hvac-cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hvac-why-diagnostics {
        padding: 2rem 0;
    }

    .hvac-why-image {
        height: 200px;
    }

    .hvac-why-content h2 {
        font-size: 1.4rem;
    }

    .hvac-why-intro {
        font-size: 1rem;
    }

    .hvac-benefit-item h3 {
        font-size: 1rem;
    }

    .hvac-benefit-item p {
        font-size: 0.9rem;
    }

    .hvac-inspect-icon {
        width: 60px;
        height: 60px;
    }

    .hvac-inspect-icon svg {
        width: 30px;
        height: 30px;
    }

    .hvac-inspect-item h3 {
        font-size: 1rem;
    }

    .hvac-inspect-item p {
        font-size: 0.9rem;
    }

    .hvac-timeline-item {
        padding: 1.5rem;
    }

    .hvac-timeline-icon {
        width: 45px;
        height: 45px;
    }

    .hvac-timeline-content h3 {
        font-size: 1.1rem;
    }

    .hvac-gallery-grid {
        auto-rows: 200px;
    }

    .hvac-gallery-large,
    .hvac-gallery-wide {
        height: 200px;
    }

    .hvac-diagnostics-cta {
        min-height: 300px;
    }

    .hvac-cta-content h2 {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .hvac-cta-buttons {
        gap: 0.75rem;
    }
}
