/* Page-specific styles for Services Page */
/* Inherits global styles from assets/style.css */

.page-header {
    position: relative;
    height: 35vh;
    min-height: 250px;
    background: linear-gradient(rgba(26, 62, 47, 0.75), rgba(26, 62, 47, 0.9)), url('https://images.unsplash.com/photo-1500937386664-56d1dfef3854?auto=format&fit=crop&w=1600&q=80') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-bottom: 8rem;
    padding-top: 90px; /* offset navbar */
}

.page-header-content h1 {
    font-size: 4.5rem;
    color: var(--white);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    margin-bottom: 1.5rem;
}

.breadcrumb-custom {
    font-size: 1.6rem;
    font-weight: 500;
    display: flex;
    justify-content: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.75);
}

.breadcrumb-custom a {
    color: var(--accent);
    transition: var(--transition-smooth);
}

.breadcrumb-custom a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Services alternating layouts */
.services-container {
    padding-bottom: 8rem;
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    margin-bottom: 10rem;
}

.service-row:last-child {
    margin-bottom: 0;
}

.service-row.reverse {
    direction: rtl;
}

.service-row.reverse .service-text-box {
    direction: ltr; /* Reset text direction */
}

@media (max-width: 991px) {
    .service-row, .service-row.reverse {
        grid-template-columns: 1fr;
        gap: 4rem;
        margin-bottom: 8rem;
        direction: ltr;
    }
}

.service-image-box {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3;
}

.service-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.service-image-box:hover img {
    transform: scale(1.05);
}

.service-text-box h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primary);
    position: relative;
    padding-bottom: 1rem;
}

.service-text-box h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px;
}

.service-text-box p {
    font-size: 1.6rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    text-align: justify;
    line-height: 1.7;
}

.service-btn {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    background-color: var(--primary);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 8px;
    transition: var(--transition-smooth);
    border: 1px solid var(--primary);
}

.service-btn:hover {
    background-color: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}