/* Resetear márgenes y padding para todos los elementos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilo general del cuerpo */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #F0F8FF; /* Azul claro */
    color: #003366; /* Azul marino */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Encabezado y navegación */
header {
    background-color: #003366; /* Azul marino */
    padding: 15px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

nav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #3399FF; /* Azul medio */
}

/* Sección principal */
main {
    flex: 1;
    padding: 30px 10px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Sección de bienvenida */
.hero {
    position: relative;
    width: 100%;
    height: 350px;
    background-image: url('img/colasay001.jpg');
    background-size: cover;
    background-position: center;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    padding: 10px 20px;
    background-color: rgba(0, 51, 102, 0.6);
    border-radius: 8px;
    max-width: 90%;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 1rem;
}

/* Sección de reseña */
.reseña {
    padding: 30px 15px;
    text-align: center;
    color: #003366;
}

.reseña h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.reseña p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333;
    text-align: justify;
}

/* Imagen dentro del texto */
.foto-colasay {
    width: 100%; /* Asegura que ocupe todo el ancho disponible */
    max-width: 250px; /* Límite de tamaño para pantallas grandes */
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    float: left; /* Imagen flota a la izquierda en pantallas grandes */
    margin-right: 20px; /* Espacio entre la imagen y el texto */
    margin-bottom: 10px;
    margin-top: 10px;
}

/* Enlace a otros textos */
.otros-textos {
    color: #3399FF;
    font-weight: bold;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.otros-textos:hover {
    color: #003366;
}

/* Contenedor del mapa */
.map-container {
    width: 100%;
    padding: 20px;
}
.mapa h1 {
    text-align: center;  
}
.mapa p {
    text-align: center;
}


/* Pie de página */
footer {
    background-color: #003366;
    color: #fff;
    text-align: center;
    padding: 20px;
    display: flex; /* Usamos flexbox */
    justify-content: center; /* Centra los elementos */
    align-items: center; /* Alinea verticalmente */
    flex-wrap: wrap; /* Permite que se ajusten en caso de desbordamiento */
    gap: 10px; /* Espacio entre los elementos */
}

footer p, footer a {
    margin: 0; /* Eliminamos márgenes adicionales */
    font-size: 0.9rem; /* Ajuste opcional para texto pequeño */
    line-height: 1.4;
}

footer a {
    color: #66CCFF;
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    color: #3399FF;
}

/* Responsividad */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 0.9rem;
    }

    .reseña p {
        font-size: 0.95rem;
    }

    .foto-colasay {
        float: none; /* Elimina el flotante para móviles */
        display: block;
        margin: 0 auto 20px auto; /* Centra la imagen con margen inferior */
        width: 80%; /* Reduce el tamaño para pantallas pequeñas */
    }

    .video-container {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    nav ul li {
        margin: 0 10px;
    }

    nav ul li a {
        font-size: 14px;
    }

    .hero {
        height: 250px;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 0.85rem;
    }
}
/* Sección Destinos */
.destinos {
    text-align: center;
}

.destinos h1 {  
    color: #003366;
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.destinos p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
}

.destino {
    display: flex;
    align-items: flex-start;
    background-color: #d0e6fc;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    overflow: hidden;
    flex-wrap: wrap;
}

.destino img {
    width: 30%;
    height: auto;
    object-fit: cover;
    margin-right: 20px;
    border-radius: 8px;
}

.destino-info {
    padding: 20px;
    flex: 1;
    text-align: justify;
}

/* Opiniones en la sección destinos */
.opiniones {
    text-align: center;
    margin-top: 40px;
}

.opiniones h1 {
    font-size: 2.5rem;
    color: #003366;
    margin-bottom: 30px;
}

.opiniones p {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
    text-align: justify;
}

/* Responsividad para Destinos */
@media (max-width: 768px) {
    .destino img {
        width: 100%;
        margin: 0 0 20px 0;
    }

    .destino-info {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .destino {
        flex-direction: column;
    }

    .destino img {
        width: 100%;
        margin-bottom: 15px;
    }
}

/* Sección Festividades */
.festividades {
    text-align: center;
}

.festividades h1 {
    color: #003366;
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.festividades p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
}

.festividad {
    display: flex;
    align-items: flex-start;
    background-color: #d0e6fc;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    overflow: hidden;
    flex-wrap: wrap;
}

.festividad img {
    width: 30%;
    height: auto;
    object-fit: cover;
    margin-right: 20px;
    border-radius: 8px;
}

.festividad-info {
    padding: 20px;
    flex: 1;
    text-align: justify;
}

/* Opiniones en la sección festividades */
.opiniones {
    text-align: center;
    margin-top: 40px;
}

.opiniones h1 {
    color: #000000;
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.opiniones p {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
    text-align: justify;
}

/* Responsividad para Festividades */
@media (max-width: 768px) {
    .festividad img {
        width: 100%;
        margin: 0 0 20px 0;
    }

    .festividad-info {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .festividad {
        flex-direction: column;
    }

    .festividad img {
        width: 100%;
        margin-bottom: 15px;
    }
}


