/* Estilos para la página de Servicios */

/* Hero Section */
.services-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../imagenes/servicios-hero.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 150px 0 100px;
    margin-top: 80px;
}

.services-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.services-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Main Services Grid */
.main-services {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: white;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #ff4d4d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: white;
    font-size: 30px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotate(5deg) scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #222;
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.learn-more {
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-card:hover .learn-more {
    transform: translateX(5px);
}

.learn-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.service-card:hover .learn-more i {
    transform: translateX(5px);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), #ff4d4d);
    color: white;
    text-align: center;
    padding: 80px 0;
}

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

.cta-section p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 992px) {
    .services-hero {
        padding: 120px 0 80px;
    }
    
    .services-hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .services-hero {
        padding: 100px 0 60px;
        margin-top: 70px;
    }
    
    .services-hero h1 {
        font-size: 2.2rem;
    }
    
    .services-hero p {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .main-services {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 30px auto 0;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .cta-section {
        padding: 60px 20px;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
}

/* Estilos para las páginas individuales de servicios */
.service-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), var(--service-bg) no-repeat center center/cover;
    color: white;
    padding: 150px 0 80px;
    text-align: center;
    margin-top: 80px;
}

.service-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.service-header p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    opacity: 0.9;
}

.service-content {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.service-section {
    margin-bottom: 60px;
}

.service-section h2 {
    color: #222;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.service-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.service-section p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
}

.feature-card h3 {
    color: #222;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
}

.service-cta {
    background: linear-gradient(135deg, var(--primary-color), #ff4d4d);
    color: white;
    text-align: center;
    padding: 60px 20px;
    margin-top: 40px;
}

.service-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.service-cta p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .service-header {
        padding: 120px 20px 60px;
        margin-top: 70px;
    }
    
    .service-header h1 {
        font-size: 2.2rem;
    }
    
    .service-content {
        padding: 60px 20px;
    }
    
    .service-features {
        grid-template-columns: 1fr;
    }
    
    .service-cta h2 {
        font-size: 1.8rem;
    }
}
