/* servicios.css - Estilos para la página de servicios */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: #1a1a1a;
}

/* Main Section */
.servicios-main {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.95) 0%, rgba(61, 78, 92, 0.95) 100%);
}

/* Hero Section */
.servicios-hero {
    text-align: center;
    padding: 100px 40px 60px;
    background: linear-gradient(135deg, #2C3E50 0%, #1a252f 100%);
}

.servicios-hero h1 {
    font-size: 3rem;
    color: #F0F0F0;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    background: linear-gradient(135deg, #B87333 0%, #CD7F32 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.servicios-hero p {
    font-size: 1.2rem;
    color: #B8C5D0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Sección de Servicio */
.servicio-section {
    padding: 80px 40px;
    border-bottom: 1px solid rgba(184, 115, 51, 0.2);
}

.servicio-section:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.servicio-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1400px;
    margin: 0 auto;
    gap: 60px;
    align-items: center;
}

/* Contenido del servicio */
.servicio-content {
    padding: 20px;
}

.servicio-content h2 {
    font-size: 2.5rem;
    color: #F0F0F0;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    position: relative;
    padding-bottom: 15px;
}

.servicio-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #B87333 0%, #CD7F32 100%);
    border-radius: 2px;
}

.servicio-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #B8C5D0;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Lista de características */
.servicio-features {
    list-style: none;
    margin-top: 25px;
    padding: 0;
}

.servicio-features li {
    font-size: 1.1rem;
    color: #D4D4D4;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.servicio-features i {
    color: #B87333;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(184, 115, 51, 0.5);
}

/* Imagen del servicio */
.servicio-imagen {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(184, 115, 51, 0.3);
    transition: all 0.3s ease;
}

.servicio-imagen:hover {
    border-color: #B87333;
    box-shadow: 0 12px 40px rgba(184, 115, 51, 0.4);
    transform: translateY(-5px);
}

.servicio-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    min-height: 400px;
    max-height: 500px;
}

.servicio-imagen:hover img {
    transform: scale(1.05);
}

/* Sección invertida (imagen a la izquierda) */
.servicio-reverse .servicio-container {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.servicio-reverse .servicio-content,
.servicio-reverse .servicio-imagen {
    direction: ltr;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .servicio-container,
    .servicio-reverse .servicio-container {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 40px;
    }

    .servicio-content h2 {
        font-size: 2rem;
    }

    .servicio-content p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .servicios-hero {
        padding: 80px 20px 40px;
    }

    .servicios-hero h1 {
        font-size: 2rem;
    }

    .servicios-hero p {
        font-size: 1rem;
    }

    .servicio-section {
        padding: 60px 20px;
    }

    .servicio-content {
        padding: 10px;
    }

    .servicio-content h2 {
        font-size: 1.8rem;
    }

    .servicio-content p {
        font-size: 0.95rem;
    }

    .servicio-features li {
        font-size: 1rem;
    }

    .servicio-imagen img {
        min-height: 300px;
        max-height: 400px;
    }
}

@media (max-width: 480px) {
    .servicios-hero h1 {
        font-size: 1.6rem;
    }

    .servicio-content h2 {
        font-size: 1.5rem;
    }

    .servicio-content p {
        font-size: 0.9rem;
    }

    .servicio-imagen img {
        min-height: 250px;
    }
}