body {
    font-family: 'Helvetica', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

header nav {
    background-color: #333;
    padding: 10px;
    text-align: center;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

header nav ul li {
    display: inline;
    margin: 0 15px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

header nav ul li a:hover {
    text-decoration: underline;
}

.hero {
    position: relative;
    text-align: center;
    color: white;
}

.hero img {
    width: 100%;
    height: auto;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.85); /* Aumentamos aún más la opacidad */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    color: #ffffff; /* Aseguramos que el texto sea blanco brillante */
    font-weight: bold;
    font-size: 24px; /* Aumentamos el tamaño del texto */
    max-width: 80%;
    z-index: 2;
    line-height: 1.4; /* Aumentamos el espaciado entre líneas para mejor legibilidad */
}

.hero-text h1 {
    font-size: 48px; /* Aumentamos el tamaño del título */
    margin-bottom: 15px;
}

.hero-text p {
    font-size: 22px; /* Aumentamos el tamaño del subtítulo */
    margin: 0;
}



/* Ajustes adicionales para pantallas pequeñas */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 28px; /* Reducimos el tamaño en pantallas pequeñas */
    }
    .hero-text p {
        font-size: 16px;
    }
}


h1, h2, h3 {
    color: #ffffff;
    text-align: center;
    font-weight: bold;
}

p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin: 20px;
    text-align: justify;
}

.gallery {
    display: flex;
    justify-content: space-around;
    margin: 40px 0;
}

.gallery-item {
    text-align: center;
    max-width: 300px;
}

img {
    width: 100%;
    height: auto;
}

form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
}

label {
    margin: 10px 0 5px;
}

input, textarea, button {
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
}

button {
    background-color: #333;
    color: #fff;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #555;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: #fff;
}
