*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:'Poppins',sans-serif;
background:#f5f5f5;
padding-top:57px;
}


/* HEADER */

header{
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 10%;
background:white;
box-shadow:0 2px 10px rgba(0,0,0,0.1);

position:fixed;
top:0;
left:0;
width:100%;
z-index:1000;
}

header.scrolled{
background:#ffffff;
box-shadow:0 4px 20px rgba(0,0,0,0.15);
transition:0.3s;
}



nav a{
margin-left:25px;
text-decoration:none;
color:#333;
font-weight:600;
}

/* HERO */

.hero{
position:relative;
height:90vh;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
color:white;
overflow:hidden;
}

.video-fondo{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
object-fit:cover;
z-index:-1;
}

.hero-content{
z-index:1;
}

.hero::after{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.35);
z-index:0;
}



.hero h1{
font-size:55px;
}

.btn{
display:inline-block;
margin-top:20px;
background:#cff817;
color:black;
padding:15px 30px;
text-decoration:none;
border-radius:5px;
}

/* STATS */

.stats{
display:flex;
justify-content:space-around;
padding:60px;
background:#0057b8;
color:white;
text-align:center;
}

/* GRID */

.grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:30px;
padding:40px 10%;
}

.card {
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    margin: 10px;
    transition: transform 0.3s;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card:hover {
    transform: scale(1.05);
}

.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
}

.modal-header {
    position: sticky;
    top: 0;
    background: #fff;
    padding: 10px 20px; /* solo lo justo para que se vea bien */
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    z-index: 10;
}


.modal-body {
    padding-top: 0; /* elimina el espacio superior */
    margin-top: 0;  /* por si acaso hay margen */
}


#modalDestino {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100% - 60px);
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: flex-start;
    overflow-y: auto;
    z-index: 1000;
}   

.modal-content {
    background: #fff;
    margin: 20px;       /* quitar margen superior para que quede pegado al borde del modal */
    width: 90%;
    padding: 0 30px 30px; /* padding horizontal y inferior, superior 0 */
    border-radius: 10px;
    max-width: 700px;
    max-height: 90%;
    overflow-y: auto;
    position: relative;
}

/* Scroll del modal */
.modal-content::-webkit-scrollbar {
    width: 10px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}


.modal .cerrar {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 25px;
    cursor: pointer;
}

.modal-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* dos columnas */
    gap: 10px; /* espacio entre imágenes */
    margin-top: 10px;
}

.modal-images img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}


/* SERVICES */

.destinos{
background:white;
text-align:center;
padding-top:40px;
}
.servicios{
background:white;
text-align:center;
padding-top:40px;
}

.service{
background:#f5f5f5;
padding:30px;
border-radius:10px;
}

/* EMPRESA */

.empresa{
padding:80px 20%;
text-align:center;
}

/* CONTACT */

.contacto{
background:#0057b8;
color:white;
text-align:center;
padding:60px 20px;
}

form{
max-width:500px;
margin:auto;
display:flex;
flex-direction:column;
gap:15px;
}

input,textarea{
padding:12px;
border:none;
border-radius:5px;
}

button{
background:#ffd000;
border:none;
padding:15px;
font-weight:bold;
cursor:pointer;
}

/* FOOTER */

footer{
background:#111;
color:white;
text-align:center;
padding:20px;
}

/* WHATSAPP */

.whatsapp{
position:fixed;
bottom:20px;
right:20px;
background:#25D366;
color:#fff;
padding:15px 20px;
border-radius:30px;
text-decoration:none;
font-weight:bold;
}

#whatsappReserva button{
    margin-top: 5px;
    background: #25D366;
    border-radius:10px;
}

#infoDestino{
    text-align: center;
}


.mapa {
  margin-top: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

