/* =========================================================
   YELLOWHEAD CONSTRUCTION – SERVICES PAGE STYLES
   ========================================================= */

/* ── PAGE HERO ── */
.page-hero {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.page-hero-bg {
    position: absolute;
    inset: 0;
}
.page-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.85) 100%);
}
.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}
.page-hero-content h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 56px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 15px;
}
.page-hero-content p {
    font-size: 18px;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Breadcrumb */
.breadcrumb {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #999;
}
.breadcrumb a {
    color: #FBED11;
    transition: opacity .3s;
}
.breadcrumb a:hover { opacity: .7; }
.breadcrumb i {
    font-size: 10px;
    margin: 0 10px;
    color: #555;
}

/* ── SERVICE SECTIONS ── */
.services-page {
    padding-top: 20px;
}
.svc-section {
    padding: 80px 0;
    overflow: hidden;
}
.svc-alt {
    background: #f8f9fa;
}
.svc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.svc-grid-reverse {
    direction: rtl;
}
.svc-grid-reverse > * {
    direction: ltr;
}
.svc-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,.12);
}
.svc-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
}
.svc-image:hover img {
    transform: scale(1.05);
}
.svc-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #FBED11;
    transform: scaleX(0);
    transition: transform .4s ease;
    transform-origin: left;
}
.svc-image:hover::after {
    transform: scaleX(1);
}
.svc-content h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #000;
    margin-bottom: 10px;
}
.svc-underline {
    width: 60px;
    height: 4px;
    background: #FBED11;
    border-radius: 2px;
    margin-bottom: 25px;
    transition: width .4s;
}
.svc-content:hover .svc-underline {
    width: 100px;
}
.svc-content p {
    font-size: 15px;
    color: #555;
    line-height: 1.85;
    margin-bottom: 15px;
}
.svc-content .btn-yellow-solid {
    margin-top: 10px;
}

/* ── CTA BANNER ── */
.svc-cta-banner {
    background: #1a1a1a;
    padding: 80px 0;
}
.svc-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.svc-cta-text h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 34px;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.svc-cta-text p {
    font-size: 15px;
    color: #999;
    line-height: 1.7;
    max-width: 550px;
}
.svc-cta-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

/* ── AOS ANIMATION SUPPORT ── */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .6s ease, transform .6s ease;
}
[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .page-hero { height: 350px; }
    .page-hero-content h1 { font-size: 42px; }
    .svc-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .svc-grid-reverse {
        direction: ltr;
    }
    .svc-image img { height: 320px; }
    .svc-cta-inner {
        flex-direction: column;
        text-align: center;
    }
    .svc-cta-text p { max-width: 100%; }
    .svc-cta-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
}
@media (max-width: 768px) {
    .page-hero { height: 300px; }
    .page-hero-content h1 { font-size: 32px; letter-spacing: 2px; }
    .page-hero-content p { font-size: 15px; }
    .svc-section { padding: 50px 0; }
    .svc-content h2 { font-size: 26px; }
    .svc-image img { height: 260px; }
    .svc-cta-text h2 { font-size: 26px; }
}
@media (max-width: 480px) {
    .page-hero { height: 260px; }
    .page-hero-content h1 { font-size: 26px; }
    .breadcrumb { font-size: 12px; }
    .svc-section { padding: 40px 0; }
    .svc-content h2 { font-size: 22px; }
    .svc-image img { height: 220px; }
    .svc-cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    .svc-cta-buttons .btn { width: 100%; text-align: center; }
}
