/* Services Page Specific Styles */

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    padding: 10rem 2rem 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
}

/* Service Navigation */
.service-nav {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 86px;
    /* Calculated: 70px logo + 16px padding on scroll */
    /* Increased from 80px to clear fixed header (102px height) */
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-nav-inner {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    overflow-x: auto;
}

.service-nav a {
    padding: 0.75rem 1.5rem;
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.service-nav a:hover {
    background: var(--light-bg);
    color: var(--primary-blue);
}

/* Service Section Base */
.service-section {
    padding: 5rem 0;
}

.service-section:nth-child(odd) {
    background: var(--white);
}

.service-section:nth-child(even) {
    background: var(--light-bg);
}

.service-header {
    margin-bottom: 3rem;
}

.service-tag {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--gray-800);
    margin-bottom: 1rem;
}

.service-intro {
    color: var(--gray-600);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
}

/* Service Grid Layout */
.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.service-content p {
    color: var(--gray-600);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-highlight {
    background: var(--primary-blue);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.service-highlight p {
    color: white;
    margin: 0;
    font-weight: 500;
}

/* Feature Box */
.feature-box {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.feature-box h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-box h4 span {
    font-size: 1.5rem;
}

/* Equipment Lists */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.equipment-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.equipment-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.1);
}

.equipment-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.equipment-card h4 span {
    font-size: 1.5rem;
}

.equipment-list {
    list-style: none;
}

.equipment-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--gray-600);
    font-size: 0.95rem;
}

.equipment-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary-blue);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Service Features */
.service-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.service-feature {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--gray-200);
}

.service-feature-icon {
    width: 50px;
    height: 50px;
    background: var(--light-bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.service-feature h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.service-feature p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* Hood and Duct Process */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.process-step {
    position: relative;
    text-align: center;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 25px;
    left: 60%;
    width: calc(100% - 20%);
    height: 2px;
    background: var(--gray-200);
}

.process-step:last-child::after {
    display: none;
}

.step-num {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 2;
}

.process-step h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.process-step p {
    color: var(--gray-600);
    font-size: 0.85rem;
}

/* Guarantee Box */
.guarantee-box {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    padding: 3rem;
    margin-top: 3rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

.guarantee-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 50%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.guarantee-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.guarantee-content {
    position: relative;
    z-index: 2;
}

.guarantee-content h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.guarantee-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Concrete Areas */
.concrete-areas {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.concrete-area {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.concrete-area:hover {
    border-color: var(--primary-blue);
    background: var(--primary-blue);
    color: white;
}

.concrete-area:hover p {
    color: white;
}

.concrete-area span {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.concrete-area p {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-800);
    transition: color 0.3s ease;
}

/* 24/7 Banner */
.availability-banner {
    background: var(--orange);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.availability-banner span {
    font-size: 1.5rem;
}

.availability-banner p {
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
}

/* Active nav link on services page */
.main-nav a.active {
    color: var(--orange);
}

.main-nav a.active::after {
    width: 100%;
}

.main-header.scrolled .main-nav a.active {
    color: var(--orange);
}

/* Responsive */
@media (max-width: 1024px) {
    .service-grid {
        grid-template-columns: 1fr;
    }

    .equipment-grid {
        grid-template-columns: 1fr;
    }

    .service-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-step::after {
        display: none;
    }

    .concrete-areas {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 8rem 2rem 4rem;
    }

    .service-nav {
        top: 86px;
        /* Consistent with global logo size (70px) */
    }

    .service-nav-inner {
        justify-content: flex-start;
    }

    .service-features {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .guarantee-box {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .concrete-areas {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-box {
        padding: 2.5rem 1.5rem;
    }

    .cta-phone {
        font-size: 1.25rem;
        padding: 1rem 1.75rem;
    }
}

@media (max-width: 480px) {
    .concrete-areas {
        grid-template-columns: 1fr;
    }
}