/* Estilos globales */
body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f8f9fa;
}

/* Contenedor */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Encabezado */
header {
    background-color: #ffffff;
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header img {
    max-width: 180px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

#menu-toggle {
    display: none;
    background-color: transparent;
    border: none;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    background-image: url('img/image2.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero h1 {
    font-size: 3rem;
    margin: 0;
    z-index: 1;
}

.hero p {
    font-size: 1.5rem;
    z-index: 1;
}

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    z-index: 1;
}

.section {
    padding: 60px 20px;
    text-align: center;
    background-color: #ffffff;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #007bff;
}

.section p {
    max-width: 600px;
    margin: 0 auto 20px auto;
}

.section ul {
    list-style: disc;
    padding-left: 20px;
    text-align: left;
}

.testimonials {
    background-color: #f8f9fa;
    padding: 60px 20px;
}

.testimonial {
    margin-bottom: 20px;
}

.testimonial p {
    font-style: italic;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    display: inline;
    margin-right: 20px;
}

footer ul li a {
    color: white;
    text-decoration: none;
}

footer p {
    margin: 10px 0 0 0;
}

footer img {
    max-width: 30px;
    margin-right: 10px;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        background-color: #ffffff;
        position: absolute;
        top: 60px;
        right: 20px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        width: 200px;
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin-right: 0;
        margin-bottom: 10px;
    }

    #menu-toggle {
        display: block;
        color: #333;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.25rem;
    }

    .section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section h2 {
        font-size: 1.25rem;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 0.875rem;
    }
}
