/* css/services.css */
/* Services page specific styles */

.page-header {
    background: var(--gradient);
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 20px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

.services-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    margin: 50px auto 80px;
    max-width: 1200px;
    padding: 0 20px;
}

/* Service cards with background images - taller height */
.service-card-large {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    min-height: 450px; /* Significantly taller */
    display: flex;
    align-items: flex-end; /* Content at bottom */
    text-decoration: none;
    color: white;
    border: none;
    cursor: pointer;
}

.service-card-large:hover {
    transform: translateY(-12px);
    box-shadow: var(--card-hover-shadow);
}

/* Dark overlay for text readability - stronger at bottom */
.service-card-large .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, 
        rgba(0,0,0,0.95) 0%, 
        rgba(0,0,0,0.7) 30%, 
        rgba(0,0,0,0.4) 60%, 
        rgba(0,0,0,0.2) 100%);
    z-index: 1;
    transition: opacity 0.3s ease;
}

.service-card-large:hover .card-overlay {
    background: linear-gradient(to top, 
        rgba(0,0,0,0.98) 0%, 
        rgba(0,0,0,0.8) 40%, 
        rgba(0,0,0,0.5) 70%, 
        rgba(0,0,0,0.3) 100%);
}

.service-card-large .card-content {
    position: relative;
    z-index: 2;
    padding: 35px 30px 30px;
    width: 100%;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.service-card-large:hover .card-content {
    transform: translateY(-5px);
}

.service-card-large h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.service-card-large p {
    color: rgba(255,255,255,0.95);
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    max-width: 90%;
}

.service-card-large .learn-more {
    color: white;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
    font-size: 1.2rem;
    padding: 8px 0;
    border-bottom: 3px solid var(--heat-orange);
    background: transparent;
    border-radius: 0;
}

.service-card-large .learn-more:hover {
    gap: 15px;
    color: var(--heat-orange);
    border-bottom-color: white;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .services-overview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .service-card-large {
        min-height: 400px;
    }
    
    .service-card-large h2 {
        font-size: 1.8rem;
    }
    
    .service-card-large p {
        font-size: 1rem;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .services-overview-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-card-large {
        min-height: 380px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .service-card-large {
        min-height: 350px;
    }
    
    .service-card-large h2 {
        font-size: 1.6rem;
    }
    
    .service-card-large .card-content {
        padding: 25px 20px 20px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
}