html {
  scroll-behavior: smooth;
}


/* ==== RESET GENERAL ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ==== ESTILOS GENERALES ==== */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
  color: #2c0a31;
  line-height: 1.6;
}

/* ==== HEADER Y NAVEGACIÓN ==== */
header {
  background: linear-gradient(to right, #007B9E, #00A8B5);
 ;
  padding: 15px 0;
}

.menu ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.menu ul li {
  margin: 0 25px;
}

.menu ul li a {
  color: #ecf0f1;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: color 0.3s ease;
  cursor: pointer;
}

.menu ul li a:hover {
  color: #c4bb40;
  transform: scale(1.1);
}

/* ==== HERO ==== */
.hero {
  text-align: center;
  padding: 70px 20px;
  background:  #4FC3F7;
  color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 20px;
}

/* ==== HABITACIONES ==== */
.habitaciones {
  padding: 50px 20px;
  text-align: center;
}

.habitaciones h2 {
  font-size: 36px;
  margin-bottom: 35px;
  color: #2c3e50;
}

/* Grilla adaptable para las imágenes */
.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  justify-items: center;
}
.testimonios {
  background: #f8f9fa;
  padding: 40px 20px;
  text-align: center;
}

.testimonios h2 {
  font-size: 32px;
  color: #2c3e50;
  margin-bottom: 20px;
}

.testimonios blockquote {
  font-style: italic;
  font-size: 18px;
  color: #555;
  margin-bottom: 15px;
}
.redes a {
  color: #ecf0f1;
  margin: 0 10px;
  text-decoration: none;
}

.redes a:hover {
  text-decoration: underline;
}


.galeria img {
  width: 100%;
  max-width: 320px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.galeria img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(230, 126, 34, 0.7);
}

/* ==== RESERVAS ==== */
.reservas {
  background: #f1f1f1;
  padding: 50px 20px;
  text-align: center;
}

.reservas h2 {
  font-size: 36px;
  margin-bottom: 30px;
  color: #2c3e50;
}

#formReserva {
  display: inline-block;
  max-width: 400px;
  width: 100%;
}

#formReserva input,
#formReserva button {
  background: linear-gradient(to right,#38e0e0,#1d7767) ;
  box-shadow: 0 4px 10px rgb(0,0,0,0.2);
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 16px;
  }
  
}


#formReserva button {
  background: #22e6b5;
  color: white;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

#formReserva button:hover {
  background: #d35400;
}

#mensaje {
  font-weight: 600;
  color: #27ae60;
  margin-top: 15px;
}

/* ==== FOOTER ==== */
footer {
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 20px 0;
  text-align: center;
  font-size: 15px;
  box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.3);
}

/* ==== RESPONSIVE ==== */
@media (max-width: 768px) {
  .menu ul {
    flex-direction: column;
    align-items: center;
  }
  .galeria div {
    text-align: center;
  }
  
  .galeria p {
    margin-top: 10px;
    font-weight: 600;
    color: #34495e;
  }
  

  .galeria {
    grid-template-columns: 1fr;
  }
}
.bienvenida {
  background-image: url('mar.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 250px; /* Ajustá este valor a tu gusto */
  padding: 10px;
  color: white;
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}


.contenedor-bienvenida {
  display: flex;
  justify-content: flex-start; /* 👈 Aquí lo ponés a la izquierda */
  align-items: center;
  gap: 20px;
}

.hero-video-container {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.4);
  text-align: center;
  flex-direction: column;
}

.logo-split {
  cursor: pointer;
  display: flex;
  gap: 15px;
  font-size: 4rem;
  font-weight: bold;
  color: #F9C74F;
  font-family: 'Georgia', serif;
  animation: aparecer 1s ease-out forwards;
}

.parte-logo {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
}

.parte1 { animation-delay: 0.3s; }
.parte2 { animation-delay: 0.6s; }
.parte3 { animation-delay: 0.9s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-video-container {
  position: relative;
  height: 107vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3); /* oscurece el video ligeramente */
}

.logo-central {
  width: 180px;
  max-width: 60vw;
  transition: transform 0.4s ease, opacity 0.4s ease;
  cursor: pointer;
  opacity: 0;
  animation: aparecerLogo 1.2s forwards ease-in-out;
}

@keyframes aparecerLogo {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}


