/* Reset y variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --text-color: #333;
    --light-gray: #f9f9f9;
    --white: #ffffff;
}

/* Tipografía */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    padding-top: 80px;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Contenido principal */
.service-detail {
    padding-top: 80px;
    min-height: 100vh;
    background-color: var(--light-gray);
}

.service-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.service-content h1 {
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.service-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.service-description {
    padding-right: 2rem;
}

.service-description h3 {
    color: var(--secondary-color);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.service-description ul {
    list-style: none;
    margin-left: 1rem;
}

.service-description ul li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-description ul li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.service-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-image:hover img {
    transform: scale(1.05);
}

/* Botón CTA */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s ease;
    margin: 2rem 0;
}

.cta-button:hover {
    background-color: #2980b9;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    text-align: center;
    padding: 1rem;
}

/* Diseño Responsivo */
@media (max-width: 768px) {
    .service-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-description {
        padding-right: 0;
    }
    
    .nav-links {
        display: none;
    }
    
    .service-content h1 {
        font-size: 2rem;
    }
}

/* Animaciones */
.service-content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.service-content.visible {
    opacity: 1;
    transform: translateY(0);
}
