/* ============================================
   Service Pages Styles
   ============================================ */

/* Service Hero */
.service-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    max-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.service-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.service-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.4) 0%,
        rgba(0,0,0,0.5) 50%,
        rgba(0,0,0,0.7) 100%
    );
}

.service-hero-content {
    position: relative;
    max-width: 680px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 13px;
}

.breadcrumb a {
    color: rgba(255,255,255,0.7);
    transition: color var(--duration-fast);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb i {
    font-size: 16px;
    color: rgba(255,255,255,0.4);
}

.breadcrumb span {
    color: var(--pale-oak);
}

.service-hero-title {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.045em;
    color: var(--white);
    margin-bottom: 16px;
}

.service-hero-title .script {
    color: var(--pale-oak);
}

.service-hero-text {
    font-size: clamp(16px, 2vw, 18px);
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin-bottom: 28px;
}

.service-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Service Intro */
.service-intro {
    padding: var(--section-py) 0;
    background: var(--porcelain-2);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.intro-content .section-title {
    margin-bottom: 20px;
}

.intro-text {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 28px;
}

.intro-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.intro-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.intro-feature i {
    font-size: 20px;
    color: var(--forest-green);
}

.intro-feature span {
    font-size: 15px;
    color: var(--gray-700);
}

.intro-image {
    position: relative;
}

.intro-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.intro-image-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: linear-gradient(135deg, var(--chocolate-brown), var(--golden-chestnut));
    color: var(--white);
    padding: 20px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.badge-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
}

.badge-text {
    font-size: 13px;
    opacity: 0.9;
}

/* Service Types */
.service-types {
    padding: var(--section-py) 0;
    background: var(--porcelain);
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.type-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--duration-base) var(--ease-out);
}

.type-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.type-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.type-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.type-card:hover .type-image img {
    transform: scale(1.08);
}

.type-content {
    padding: 24px;
}

.type-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}

.type-content p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.5;
}

/* Service Gallery */
.service-gallery {
    padding: var(--section-py) 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-grid .gallery-item {
    position: relative;
    height: 280px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.gallery-grid .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.gallery-grid .gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-hover {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--duration-base);
}

.gallery-grid .gallery-item:hover .gallery-hover {
    opacity: 1;
}

.gallery-hover i {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius-full);
    font-size: 24px;
    color: var(--chocolate-brown);
}

/* Service CTA */
.service-cta {
    position: relative;
    padding: 100px 0;
}

.service-cta-bg {
    position: absolute;
    inset: 0;
}

.service-cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-cta-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(74,103,65,0.92), rgba(143,168,133,0.88));
}

.service-cta-content {
    position: relative;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.service-cta-content h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.04em;
    color: var(--white);
    margin-bottom: 16px;
}

.service-cta-content h2 .script {
    color: var(--pale-oak);
}

.service-cta-content p {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
}

.service-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Other Services */
.other-services {
    padding: var(--section-py) 0;
    background: var(--porcelain-2);
}

.other-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.other-service-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--duration-base) var(--ease-out);
}

.other-service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.other-service-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(158, 91, 35, 0.1), rgba(193, 134, 74, 0.1));
    border-radius: var(--radius-lg);
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--chocolate-brown);
}

.other-service-card h3 {
    font-size: 20px;
    font-weight: 500;
    color: var(--gray-800);
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.other-service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--golden-chestnut);
    transition: gap var(--duration-fast);
}

.other-service-card:hover .other-service-link {
    gap: 10px;
}

/* Responsive */
@media (max-width: 1200px) {
    .types-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .intro-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .intro-image img {
        height: 380px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service-hero {
        height: 60vh;
        min-height: 450px;
    }
    
    .types-grid {
        grid-template-columns: 1fr;
    }
    
    .type-card {
        display: grid;
        grid-template-columns: 140px 1fr;
    }
    
    .type-image {
        height: 100%;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid .gallery-item {
        height: 220px;
    }
    
    .other-services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .service-hero-actions {
        flex-direction: column;
    }
    
    .intro-image-badge {
        bottom: -10px;
        left: 10px;
        padding: 14px 20px;
    }
    
    .badge-number {
        font-size: 24px;
    }
    
    .type-card {
        grid-template-columns: 1fr;
    }
    
    .type-image {
        height: 180px;
    }
}
