/* ================================
   Service Page Specific Styles
   ================================ */

/* Breadcrumb */
.breadcrumb {
    background: var(--bg-light);
    padding: 1.5rem 0;
    margin-top: 80px;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.breadcrumb-nav li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
}

.breadcrumb-nav li a {
    color: var(--text-light);
    transition: var(--transition);
}

.breadcrumb-nav li a:hover {
    color: var(--primary-color);
}

.breadcrumb-nav li.active {
    color: var(--primary-color);
    font-weight: 600;
}

.breadcrumb-nav i {
    font-size: 0.8rem;
}

/* Service Hero */
.service-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('https://images.unsplash.com/photo-1600585154526-990dced4db0d?w=1920&h=800&fit=crop') center/cover no-repeat;
    padding: 100px 0;
    color: var(--white);
    text-align: center;
}

.service-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--primary-color);
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.service-badge i {
    margin-right: 0.5rem;
}

.service-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.service-hero > div > p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}

.service-hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.service-hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Service Overview */
.service-overview {
    padding: 80px 0;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.overview-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.overview-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.overview-highlights {
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 10px;
    transition: var(--transition);
}

.highlight-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.highlight-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.highlight-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.highlight-item p {
    font-size: 1rem;
    margin: 0;
}

.overview-image {
    position: relative;
}

.overview-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.overview-stats {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-box {
    background: rgba(230, 126, 34, 0.95);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.stat-box h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-box p {
    font-size: 1rem;
    margin: 0;
}

/* Service Types */
.service-types {
    background: var(--bg-light);
    padding: 80px 0;
}

.service-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.type-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.type-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--primary-color);
}

.type-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #d35400);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.type-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.type-card > p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.type-features {
    list-style: none;
    margin-top: 1.5rem;
}

.type-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.type-features i {
    color: var(--success);
    font-size: 1rem;
}

/* Construction Process Detailed */
.construction-process {
    padding: 80px 0;
}

.process-detailed {
    max-width: 1000px;
    margin: 0 auto;
}

.process-item {
    display: grid;
    grid-template-columns: 80px 1fr 120px;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
}

.process-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 40px;
    top: 100px;
    width: 2px;
    height: calc(100% + 50px);
    background: linear-gradient(to bottom, var(--primary-color), rgba(230, 126, 34, 0.3));
}

.process-item.reverse {
    grid-template-columns: 120px 1fr 80px;
}

.process-item.reverse .process-number {
    order: 3;
}

.process-item.reverse .process-content {
    order: 2;
}

.process-item.reverse .process-icon {
    order: 1;
}

.process-number {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 2;
}

.process-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
}

.process-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.process-content > p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.process-checklist {
    list-style: none;
    margin-top: 1rem;
}

.process-checklist li {
    padding-left: 2rem;
    margin-bottom: 0.8rem;
    color: var(--text-light);
    position: relative;
}

.process-checklist li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--success);
}

.process-item .process-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--secondary-color), #1a252f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

/* Why Residential */
.why-residential {
    background: var(--bg-light);
    padding: 80px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.why-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.why-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), #d35400);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
    margin: 0 auto 1.5rem;
}

.why-item h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.why-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Gallery */
.service-gallery {
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 300px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 2rem;
    color: var(--white);
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* FAQ Section */
.faq-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0;
    flex: 1;
}

.faq-question i {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

/* Responsive Design for Service Page */
@media (max-width: 1024px) {
    .service-types-grid,
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
    }
    
    .overview-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .service-hero h1 {
        font-size: 2.5rem;
    }
    
    .service-hero > div > p {
        font-size: 1.1rem;
    }
    
    .service-hero-features {
        flex-direction: column;
        align-items: center;
    }
    
    .service-types-grid,
    .why-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .process-item,
    .process-item.reverse {
        grid-template-columns: 60px 1fr;
        gap: 20px;
    }
    
    .process-item .process-icon,
    .process-item.reverse .process-icon {
        display: none;
    }
    
    .process-item.reverse .process-number {
        order: 1;
    }
    
    .process-item.reverse .process-content {
        order: 2;
    }
    
    .process-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .overview-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .service-hero {
        padding: 60px 0;
    }
    
    .service-hero h1 {
        font-size: 2rem;
    }
    
    .service-hero-buttons {
        flex-direction: column;
    }
    
    .breadcrumb-nav {
        font-size: 0.9rem;
    }
    
    .type-card,
    .why-item,
    .process-content {
        padding: 1.5rem;
    }
    
    .faq-question {
        padding: 1rem 1.5rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .gallery-item {
        height: 250px;
    }
}
