/* services.css - Services page specific styles */

/* All Services */
.all-services {
    background: white;
}

.services-hero-image {
    max-width: 900px;
    margin: 0 auto 60px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.services-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.services-hero-image:hover img {
    transform: scale(1.03);
}

.services-container {
    max-width: 1000px;
    margin: 0 auto;
}

.service-detail {
    display: flex;
    margin-bottom: 60px;
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-detail:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-number {
    background: var(--primary-blue);
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    padding: 40px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.service-content {
    padding: 40px;
    flex: 1;
}

.service-content h3 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.service-content > p {
    color: #555;
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.service-list {
    list-style: none;
    margin-top: 25px;
}

.service-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #666;
    line-height: 1.7;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
}

/* Alternating styles for visual interest */
.service-detail:nth-child(even) {
    background: white;
    border: 2px solid #f0f0f0;
}

.service-detail:nth-child(even) .service-number {
    background: var(--primary-dark);
}

.service-detail:nth-child(3n) .service-number {
    background: linear-gradient(135deg, var(--primary-blue), #1a3a7a);
}

.service-detail:nth-child(4n) .service-number {
    background: linear-gradient(135deg, var(--primary-dark), #0a1a3a);
}

/* CTA Section */
.services-cta {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    color: white;
    text-align: center;
    padding: 100px 0;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
    line-height: 1.8;
}

.services-cta .btn-primary {
    background: white;
    color: var(--primary-dark);
    font-weight: bold;
    padding: 15px 40px;
    font-size: 1rem;
}

.services-cta .btn-primary:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    transform: translateY(-5px);
}

/* ============================================
   RESPONSIVE DESIGN - Mobile Optimization
   ============================================ */

/* Mobile View (max-width: 768px) */
@media (max-width: 768px) {
    .services-hero-image {
        margin-bottom: 40px;
    }
    
    .service-detail {
        flex-direction: column;
    }
    
    .service-number {
        min-width: auto;
        padding: 20px;
        font-size: 2rem;
        width: 100%;
        border-radius: 10px 10px 0 0;
    }
    
    .service-content {
        padding: 25px 20px;
    }
    
    .service-content h3 {
        font-size: 1.4rem;
    }
    
    .service-content > p {
        font-size: 1rem;
    }
    
    .service-list {
        margin-top: 20px;
    }
    
    .service-list li {
        padding: 8px 0;
        font-size: 0.95rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
        padding: 0 15px;
    }
    
    .cta-content p {
        font-size: 1.1rem;
        padding: 0 15px;
    }
    
    .service-detail {
        margin-bottom: 30px;
    }
    
    .service-content {
        padding: 20px 15px;
    }
    
    .service-list {
        margin-top: 15px;
    }
}

/* Small Mobile View (max-width: 576px) */
@media (max-width: 576px) {
    .services-hero-image {
        margin-bottom: 30px;
    }
    
    .service-content {
        padding: 20px 15px;
    }
    
    .service-content h3 {
        font-size: 1.2rem;
    }
    
    .service-number {
        padding: 15px;
        font-size: 1.8rem;
    }
    
    .services-cta {
        padding: 60px 0;
    }
    
    .cta-content h2 {
        font-size: 1.6rem;
        padding: 0 10px;
    }
    
    .cta-content p {
        font-size: 1rem;
        padding: 0 10px;
    }
}
