/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.tituloaba {
    text-align: center;
}

.paba {
    text-align: center;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #3564bb;
    padding: 0.5rem 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10;
}

/* Logo */
.logo img {
    max-width: 120px;
    height: auto;
    display: block;
}

/* Menú principal */
.menu {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.menu a {
    color: rgb(1, 1, 2);
    text-decoration: none;
    font-weight: bold;
}

.menu a:hover {
    color: #f3f2ed;
}

/* Menú hamburguesa */
.hamburger {
    font-size: 24px;
    color: rgb(226, 238, 61);
    cursor: pointer;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    background: #1c53b9;
    list-style: none;
    padding: 0.5rem;
    border-radius: 5px;
    white-space: nowrap;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    color: white;
    padding: 0.5rem;
    cursor: pointer;
    position: relative;
}

.dropdown-menu li:hover {
    background: #444;
}

.dropdown-menu li a {
    color: white;
    text-decoration: none;
}

/* Submenús */
.submenu {
    display: none;
    position: absolute;
    top: 0;
    right: 100%;
    background: #555;
    list-style: none;
    padding: 0.5rem;
    border-radius: 5px;
}

.dropdown-menu li:hover .submenu {
    display: block;
}

/*html,
body {
    height: 100%;
}*/

body {
    /*background-image: url("../img/fondo2pruebahero.png");*/
    flex-direction: column;
    overflow-x: hidden;
    /* esconde rolagem horizontal */
}

/*main {
    flex: 1;
    /* empuja el footer para abajo */
/*}*/

.card {

    background: #e6b03d;
    width: 90%;
    max-width: 1000px;
    height: auto;
    padding: 20px;
    margin: 20px auto;
    border: 1px solid #1f50ac;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    /*transition: background 0.3s ease, transform 0.3s ease, padding 0.3s ease;*/
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.cardtext {
    text-decoration: none;
}

.card img {
    max-width: 80px;
    margin-bottom: 15px;
    /* espaço abaixo do ícone */
    display: block;
    border-radius: 10px;
}


.turismo a {
    text-decoration: none;
    color: inherit;
    /* mantiene el color del texto */
    display: block;
    /* hace que el enlace se comporte como bloque */
}


.texto-oculto {
    display: none;
}

.card:hover {
    background: #FFCD00;
    color: #003087;
    padding: 40px;
    transform: scale(1.05);
}

/*.card:hover img {
    display: none;
}*/

.card:hover img {
    transform: scale(1.1);
    /* agranda el icono un poco */
    transition: transform 0.3s ease;
}


.card:hover .cardtext {
    display: none;
}

.card:hover .texto-oculto {
    display: block;
}

/* --- CARDS CON FOTO AL LADO DERECHO EN TURISMO.HTML --- */
.turismo .turismo-card {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: nowrap;
    background: #e6b03d;
    width: 90%;
    max-width: 1000px;
    margin: 20px auto;
    border: 1px solid #1f50ac;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    overflow: hidden;
}

/* Lado izquierdo (ícono + texto) */
.turismo-card .card-left {
    flex: 0 0 60%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* mejor alineado */
    justify-content: center;
    text-align: center;
    gap: 12px;
}

.turismo-card .card-left img {
    max-width: 80px;
    height: auto;
}

/* Lado derecho (foto del lugar) */
.turismo-card .card-right {
    flex: 0 0 40%;
    position: relative;
}

.turismo-card .card-right img {
    width: 100%;
    height: auto;
    /* más natural */
    max-width: none;
    display: block;
    object-fit: cover;
}

/* Hover */
.turismo-card:hover {
    background: #FFCD00;
    color: #003087;
    transform: scale(1.05);
}

.turismo-card:hover .card-right img {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* texto oculto del hover*/
.turismo-card .texto-oculto2 {
    display: none;
}

.turismo-card:hover .cardtext {
    display: none;
}

.turismo-card:hover .texto-oculto2 {
    display: block;
}


/* Responsive: apilar en móvil */
@media (max-width: 720px) {
    .turismo .turismo-card {
        flex-direction: column;
    }

    .turismo-card .card-left,
    .turismo-card .card-right {
        flex: 0 0 auto;
        width: 100%;
    }

    .turismo-card .card-right img {
        max-height: 220px;
    }
}

/* --- FIN CARDS CON FOTO AL LADO DERECHO --- */



footer {
    margin-top: 50px;
    min-height: 200px;
    background-image: linear-gradient(180deg, #3564bb, #003087, rgb(5, 50, 102));
    text-align: center;
    border-top: 5px solid #FFCD00;
}

.logo-rodape {
    padding: 30px;
    color: white;
    text-decoration: none;
}

.agencia {
    font-family: "Playfair Display", serif;
    color: white;
    font-size: 34px;
}

.whats {
    position: fixed;
    bottom: 5px;
    right: 5px;
}

.whats img {
    width: 60px;
}


/* Imagen de fondo */

.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background-image: url("../img/fondo2pruebahero.png");
    /* imagen inicial */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transition: background-image 1s ease-in-out;
    /* transición suave */
}

.hero img {
    max-width: 45%;
    height: auto;
}

/*.hero {
    background-image: url("../img/fondo2pruebahero.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    padding-top: 60px;
    padding-bottom: 20px;
    min-height: auto;
    /*border: 2px solid red;*/

/* espacio para navbar */
/*}*/

/*CSS DE LAS FLECHAS PARA DELANTE Y PARA ATRAS*/
/* Flechas del slider */
.hero .prev,
.hero .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    background: rgba(0, 0, 0, 0.4);
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    user-select: none;
    transition: background 0.3s ease;
    z-index: 20;
}

.hero .prev:hover,
.hero .next:hover {
    background: rgba(0, 0, 0, 0.7);
}

.hero .prev {
    left: 20px;
}

.hero .next {
    right: 20px;
}

/*FIN DE LAS FLECHAS DEL SLIDER*/


.hero img {
    max-width: 45%;
    height: auto;
    /*border: 2px solid rgb(0, 60, 255);*/

}

/*PRUEBA MAPA #2*/
.map-card {
    background: #fff;
    /*border: 1px solid #1f50ac;*/
    /*border-radius: 10px;*/
    width: 90%;
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
    text-align: center;
}




.contact-btn {
    background: #04aa04;
    color: rgb(240, 240, 240);
    padding: 10px 20px;
    border: 2px solid #FF385C;
    /* o lo que quieras */
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    /* quita subrayado del enlace */
    display: block;
    /*justify-content: center;
    align-items: center;*/
    font-weight: bold;
    width: 65%;
    margin: 5px auto;
}

.contact-btn:hover {
    background: #45c041;
    color: #000000;
    padding: 10px;
    transform: scale(1.05);
}


@media (max-width: 480px) {
    .whats img {
        width: 50px;
    }
}


/* Em telas grandes o hamburger some */
@media (max-width: 768px) {
    .hamburger {
        display: none;
    }

    .menu {
        display: flex;
        align-items: center;
        gap: 1rem;
        background: yellow;
        border: 1px solid #1f50ac;
        border-radius: 15px;
        padding-left: 15px;
    }

}