/* =============================================
   KOWSKI CONSTRUCTION - SERVICES PAGE STYLES
   Complete styling for all service pages
   ============================================= */

/* Page Hero Section */
.page-hero {
    position: relative;
    background: linear-gradient(135deg, rgba(44, 95, 45, 0.95), rgba(56, 142, 60, 0.9)),
                url('/assets/images/hero-bg.jpg') center/cover no-repeat;
    padding: 8rem 2rem 6rem;
    text-align: center;
    color: var(--white);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.hero-content h1 i {
    font-size: 2.5rem;
}

.hero-content p {
    font-size: 1.3rem;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Introduction Section */
.intro-section {
    padding: 4rem 2rem;
    background: var(--white);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.intro-image {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-image img {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: block;
}

.intro-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.intro-text .section-title {
    color: var(--primary-green);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.intro-text .section-title i {
    font-size: 1.8rem;
}

.intro-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin: 0;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.benefits-list li {
    padding: 0.5rem 0 0.5rem 2rem;
    position: relative;
    line-height: 1.6;
    font-size: 1.05rem;
    color: var(--text-dark);
}

.benefits-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.5rem;
    color: var(--primary-green);
    font-size: 1rem;
}

.intro-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.intro-cta .btn {
    flex: 1;
    min-width: 200px;
    text-align: center;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Services Overview Section */
.services-overview {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.section-title.text-center {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Service Overview Cards with Images */
.service-overview-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.service-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.service-overview-card:hover .service-card-image {
    transform: scale(1.05);
}

.service-overview-icon {
    width: 70px;
    height: 70px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -35px auto 1.5rem auto;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.service-overview-icon i {
    font-size: 2rem;
    color: var(--primary-green);
}

.service-overview-card h3 {
    color: var(--primary-green);
    margin: 0 0 1rem 0;
    font-weight: 600;
    font-size: 1.5rem;
    padding: 0 1.5rem;
}

.service-overview-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    padding: 0 1.5rem;
    flex-grow: 1;
}

.service-overview-card .service-link {
    display: inline-block;
    color: var(--primary-green);
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 1.5rem;
    padding: 0 1.5rem;
    transition: color 0.3s ease;
}

.service-overview-card .service-link:hover {
    color: var(--dark-green);
}

.service-overview-card .service-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.service-overview-card:hover .service-link i {
    transform: translateX(5px);
}

/* Service Detail Cards Styling */
.services-detail {
    padding: 4rem 2rem;
    background: var(--white);
}

.service-detail-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid var(--light-green);
}

.service-icon-large {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--light-green), #e8f5e9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon-large i {
    font-size: 2rem;
    color: var(--primary-green);
}

.service-header h3 {
    font-size: 2rem;
    color: var(--primary-green);
    margin: 0;
    font-weight: 700;
}

.service-content {
    margin-bottom: 2rem;
}

.service-content > p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.service-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    align-items: start;
}

.service-features-grid > div {
    min-width: 0;
}

.service-features-grid h4 {
    color: var(--primary-green);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features-list li {
    padding: 0.5rem 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.service-features-list li i {
    color: var(--primary-green);
    margin-top: 0.25rem;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.service-highlight {
    background: var(--light-green);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-green);
}

.service-highlight h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.service-highlight ul,
.service-highlight ol {
    margin: 0;
    padding-left: 1.5rem;
}

.service-highlight li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.price-estimate {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 6px;
    text-align: center;
    border: 2px solid var(--primary-green);
}

.price-estimate strong {
    color: var(--primary-green);
    font-size: 1.2rem;
}

.service-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 1.5rem;
    border-top: 2px solid #e9ecef;
}

.service-cta .btn {
    flex: 1;
    min-width: 200px;
    text-align: center;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Installation Process Section - HORIZONTAL ROW */
.process-section {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.process-step {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.process-step:not(:last-child)::after {
    content: '\f061';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: -1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-green);
    font-size: 1.5rem;
    z-index: 1;
}

.process-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(44, 95, 45, 0.3);
}

.process-step h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.process-step p {
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
    font-size: 0.95rem;
}

/* Why Choose Us Section */
.why-choose-us {
    background: var(--light-green);
    padding: 4rem 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
}

.feature-item-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-item-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.feature-item h3 {
    color: var(--primary-green);
    margin: 0.5rem 0;
    font-weight: 600;
    font-size: 1.2rem;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
}

.cta-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.cta-banner p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 200px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Scroll Reveal Animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .process-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .process-step:not(:last-child)::after {
        display: none;
    }
    
    .process-step h3 {
        font-size: 1.2rem;
    }
    
    .process-step p {
        font-size: 1rem;
    }
}

@media (max-width: 992px) {
    .intro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        align-items: start;
    }
    
    .intro-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .intro-image img {
        width: 100%;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 6rem 1.5rem 4rem;
        min-height: 300px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        flex-direction: column;
    }
    
    .hero-content h1 i {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .intro-section,
    .services-overview,
    .services-detail,
    .why-choose-us,
    .cta-banner,
    .process-section {
        padding: 3rem 1.5rem;
    }
    
    .intro-text .section-title {
        font-size: 1.75rem;
    }
    
    .intro-cta {
        flex-direction: column;
    }
    
    .intro-cta .btn {
        width: 100%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-features-grid {
        grid-template-columns: 1fr;
    }
    
    .service-detail-card {
        padding: 1.5rem;
    }
    
    .service-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .service-header h3 {
        font-size: 1.5rem;
    }
    
    .service-cta {
        flex-direction: column;
    }
    
    .service-cta .btn {
        width: 100%;
    }
    
    .service-card-image {
        height: 180px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .process-step {
        padding: 2rem 1.5rem;
    }
    
    .process-number {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
    
    .process-step h3 {
        font-size: 1.3rem;
    }
    
    .cta-banner h2 {
        font-size: 2rem;
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .intro-text .section-title {
        font-size: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .service-header h3 {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-banner h2 {
        font-size: 1.75rem;
    }
}