/* ============================================
   SERVICES PAGE — STYLES
   Supplementary styles for services.html only.
   Main site styles from style.css are shared.
   ============================================ */

/* --- Split Hero (shared with contact page via contact-hero class) --- */
/* On Services page, use same split hero as contact */
.contact-hero .hero-right img {
    object-fit: cover;
}

/* --- Introduction Section (matches contact page info-cards style) --- */
.intro-section {
    max-width: 1200px;
    margin: 60px auto 40px auto;
    padding: 0 20px;
}

.intro-container {
    display: flex;
    gap: 40px;
    align-items: center;
}

.intro-text {
    flex: 1;
}

.intro-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.intro-image {
    flex: 1;
}

.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 2px solid var(--primary-yellow);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* --- Detailed Services (matches contact page card style) --- */
.services-detailed {
    max-width: 1200px;
    margin: 50px auto 80px auto;
    padding: 0 20px;
}

.services-header {
    text-align: center;
    margin-bottom: 40px;
}

.services-header .eyebrow-text,
.services-header .main-heading,
.services-header .heading-line {
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.service-card {
    background-color: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border-top: 3px solid var(--primary-yellow);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.service-card h3 {
    padding: 20px 20px 0 20px;
    margin: 0;
    font-size: 1.1rem;
    color: var(--dark-charcoal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-card > p {
    padding: 10px 20px 0 20px;
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.service-card ul {
    padding: 15px 20px 0 20px;
    margin: 0;
    list-style: none;
}

.service-card ul li {
    font-size: 0.9rem;
    color: var(--steel-gray);
    padding: 4px 0;
    border-bottom: 1px solid #F3F4F6;
}

.service-card ul li:last-child {
    border-bottom: none;
}

.service-card ul li::before {
    content: "\2713 ";
    color: var(--primary-yellow);
    font-weight: bold;
}

.service-card .btn {
    margin: 20px;
    margin-top: auto;
    text-align: center;
}

/* --- Work Process (Timeline Style) --- */
.work-process {
    max-width: 1100px;
    margin: 50px auto 80px auto;
    padding: 0 20px;
}

.process-header {
    text-align: center;
    margin-bottom: 50px;
}

.process-header .eyebrow-text,
.process-header .main-heading,
.process-header .heading-line {
    margin-left: auto;
    margin-right: auto;
}

/* Timeline container */
.timeline {
    position: relative;
    padding: 20px 0;
}

/* The horizontal connector line */
.timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 5%;
    right: 5%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-yellow), var(--dark-charcoal), var(--primary-yellow));
    z-index: 1;
}

/* Each step */
.step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: calc(100% / 7);
    float: left;
    padding: 0 5px;
}

/* The numbered circle */
.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--dark-charcoal);
    color: var(--primary-yellow);
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--primary-yellow);
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.step:hover .step-number {
    transform: scale(1.15);
    background-color: var(--primary-yellow);
    color: var(--dark-charcoal);
}

/* Step label */
.step-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--dark-charcoal);
    line-height: 1.3;
    max-width: 100px;
}

/* Clear floats */
.timeline::after {
    content: '';
    display: table;
    clear: both;
}

/* --- Active nav link --- */
.nav-links a.active {
    color: var(--primary-yellow);
    border-bottom: 2px solid var(--primary-yellow);
    padding-bottom: 4px;
}

/* --- CTA section after work process --- */
.cta-section {
    background-color: var(--dark-charcoal);
    padding: 60px 20px;
    text-align: center;
    margin-top: 20px;
}

.cta-section h2 {
    font-family: 'impact', 'Arial Black', sans-serif;
    font-size: 2.2rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 15px 0;
}

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

/* ============================================
   RESPONSIVE — SERVICES PAGE
   ============================================ */

@media (max-width: 992px) {
    .hero-heading {
        font-size: 2.2rem;
    }
    .hero-description {
        font-size: 1rem;
    }
    .intro-container {
        flex-direction: column;
    }

    /* Timeline wraps to 2 columns on tablet */
    .step {
        width: 33.333%;
        margin-bottom: 30px;
    }
    .timeline::before {
        display: none;
    }
}

@media (max-width: 600px) {
    .hero-heading {
        font-size: 1.8rem;
    }
    .hero-description {
        font-size: 0.95rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Timeline stacks vertically on mobile */
    .step {
        width: 100%;
        float: none;
        flex-direction: row;
        justify-content: flex-start;
        gap: 15px;
        margin-bottom: 15px;
        text-align: left;
    }
    .step-number {
        flex-shrink: 0;
    }
    .step-label {
        max-width: 200px;
    }
    .main-heading {
        font-size: 26px;
    }
    .cta-section h2 {
        font-size: 1.6rem;
    }
}
