/* =========================================
   Architectural Services Page Design
   ========================================= */

/* Main Wrapper */
.services-wrapper {
    padding-bottom: 5rem;
    background: var(--color-light);
    /* Use light background for clean look */
}

/* Service Block - The Grid */
.service-block {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    /* Sticky Side | Content Side */
    min-height: 100vh;
    /* Ensure each section feels substantial */
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
    overflow: visible; /* Added */
}

/* Last child no border */
.service-block:last-child {
    border-bottom: none;
}

/* Left Column: Sticky Heading */
.service-sticky-side {
    position: sticky;
    top: 100px;
    /* Below Header */
    height: auto; /* Changed from calc(100vh - 100px) */
    min-height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 6rem 4rem;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.service-number {
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 700;
    line-height: 1;
    color: var(--color-accent);
    opacity: 0.3;
    margin-bottom: 2rem;
    display: block;
}

.service-title {
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--color-primary);
    font-weight: 400;
    /* Sleek/Thin look */
    letter-spacing: -1px;
}

/* Right Column: Scrolling Content */
.service-content-side {
    padding: 6rem 4rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    overflow: visible; /* Added */
}

.service-intro {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #4a4a4a;
    max-width: 800px;
    font-weight: 300;
}

/* Imagery */
.service-gallery {
    width: 85%; /* Reduced from 100% */
    max-width: 900px; /* Cap the width */
    margin: 0 auto; /* Center in the content-side */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fdfdfd;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
}

.service-gallery img {
    width: 100%;
    height: auto;
    max-height: 65vh; /* Limit the vertical footprint */
    object-fit: contain;
    display: block;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: zoom-in;
}

.service-gallery:hover img {
    transform: scale(1.03);
    /* Subtle breath */
}

/* Aspect Ratios if needed */
.is-large {
    aspect-ratio: auto;
    border-radius: 4px;
    /* Minimal radius */
}

.is-wide {
    aspect-ratio: auto;
    border-radius: 4px;
}

/* Details Grid (Key Features) */
.service-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.detail-item h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    color: var(--color-accent);
}

.detail-item p {
    font-size: 1rem;
    color: #666;
}

/* Service List */
.service-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.service-list li {
    padding-left: 1.5rem;
    position: relative;
    color: #555;
    font-size: 1.1rem;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
    transform: translateY(-50%);
}

/* Quote */
.service-quote {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-style: italic;
    color: #888;
    border-left: 4px solid var(--color-accent);
    padding-left: 2rem;
    margin: 2rem 0;
}

/* CTA Button */
.btn-architectural {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
}

.btn-architectural::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--color-primary);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.btn-architectural:hover::after {
    transform: scaleX(0);
}

.btn-architectural i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.btn-architectural:hover i {
    transform: translateX(5px);
}


/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .service-block {
        grid-template-columns: 1fr;
        /* Stack vertically */
    }

    .service-sticky-side {
        position: relative;
        /* Unstick */
        top: 0;
        height: auto;
        padding: 4rem 2rem 2rem;
        border-right: none;
    }

    .service-title {
        font-size: 3rem;
    }

    .service-number {
        font-size: 5rem;
    }

    .service-content-side {
        padding: 0 2rem 4rem;
    }

    .video-background {
        height: 50vh;
        /* Adjust hero height */
    }
}