#msc {
  position: relative;
}
#msc section {
  position: relative;
  z-index: 10;
}
#msc .vidrio {
  background-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  padding: 50px;
}
#msc .text-box {
  padding: 40px 75px;
  border-radius: 0 0 100px 0;
  z-index: 1;
}

/*** --- ONE --- ***/
#msc #one {
  background-image: url('https://cloudfront-us-east-1.images.arcpublishing.com/elcronista/VU46UFJKWNFJ3LUHBSELT4Q4MI.png');
  background-size: cover;
  background-position: bottom;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 150px;
}
#msc #one .container,
#msc .quote .container {
  position: relative;
}
#msc .msc-yatch-club {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 50px;
}
#msc .msc-yatch-club img {
  width: 225px;
}
#msc .msc-yatch-club h1 {
  font-style: italic;
}
#msc .one-image,
#msc .quote img {
  width: 80%;
  border-radius: 30px;
}
#msc #one h1 {
  font-weight: bolder;
}
@media (max-width: 767px) {
  #msc .msc-yatch-club {
    flex-direction: column;
  }
  #msc #one {
    justify-content: flex-end;
    padding-bottom: 25px;
    min-height: 125vh;
  }
  #msc .msc-yatch-club img {
    width: 200px;
  }
}

/*** --- TWO --- ***/
#msc #two {
  padding-bottom: 100px;
}
@media (max-width: 767px) {
  #msc .text-box {
    padding: 15px 25px;
  }
}

/*** THREE ***/
#msc section#three {
  padding-top: 0 !important;
}
#msc .three-container {
  padding: 40px;
}
@media (max-width: 767px) {
  #msc .three-container {
    padding: 15px;
  }
}

/*** -- FOUR -- ***/
#msc .msc-img {
  max-width: 60%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 0 0 100px 0;
}
#msc .msc-img:nth-child(even) {
  align-self: flex-end;
}
#msc .msc-img:nth-child(3) {
  z-index: -1;
}
#msc #four h2 {
  color: var(--griso);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 50px;
  font-family: 'Oswald';
  font-weight: 700;
}
#msc #four.quote .vidrio {
  transform: translateY(-50%);
}
@media (max-width: 767px) {
  #msc .msc-img {
    max-width: 80%;
  }
  #msc .msc-img:nth-child(even),
  #msc .msc-img:nth-child(3) {
    margin-top: -25px !important;
  }
}

/*** -- FIVE ---***/

/*** --- SIX --- ***/
#six h2 {
  font-style: italic;
}
#six h3 span {
  color: var(--color2);
}

/*** IMAGENES ***/
#msc .full-image {
  min-height: 100vh;
  width: 100%;
  object-fit: cover;
}

/*** DAY BOX ***/
#msc .days-container {
  display: flex;
  justify-content: center;
  gap: 30px;
}
#msc .day-box {
  display: flex;
  flex-direction: column;
  padding: 0 10px 10px;
  width: 125px;
  border-radius: 0 0 25px 0;
}
#msc .day-box .day-num {
  line-height: 60px !important;
}
@media (max-width: 767px) {
  #msc .days-container {
    flex-wrap: wrap;
  }
}

/*** RESERVA ***/
#msc .reserva-container {
  display: flex;
  justify-content: center;
  gap: 50px;
}
#msc .reserva-title {
  font-style: italic;
  font-weight: bold;
  text-align: right;
  width: 250px;
}
#msc .reserva-list {
  width: calc(100% - 250px - 50px);
}
@media (max-width: 767px) {
  #msc .reserva-container {
    flex-direction: column;
  }
  #msc .reserva-title {
    text-align: left;
  }
  #msc .reserva-title,
  #msc .reserva-list {
    width: 100%;
  }
}

/*** FOOTER ***/
#msc .footer-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
}
#msc .footer-img {
  width: 200px;
}
#msc footer {
  padding-bottom: 50vh;
}
@media (max-width: 767px) {
  #msc .footer-container {
    flex-direction: column;
  }
}

/*** VIDEO ***/
#msc .video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 ratio = 9/16 = 0.5625 */
  height: 0;
  overflow: hidden;
}

#msc .video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 30px;
}

#msc section.mt-negative {
  background: var(--color1);
  background: -webkit-linear-gradient(0deg, var(--color2) 50%, var(--color1) 50%);
  background: -moz-linear-gradient(0deg, var(--color2) 50%, var(--color1) 50%);
  background: linear-gradient(0deg, var(--color2) 50%, var(--color1) 50%);
  filter: progid:DXImageTransform.Microsoft.gradient(
  startColorstr="#A19B8C",
  endColorstr="#A3896C4D",
  GradientType=0
);
}

/*** BARCO FONDO ***/
/* #msc .barco{
  height: 575px;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: visible;
  position:sticky;
}
#msc .barco-olas{
  width: 110%;
  position: absolute;
  bottom: 0;
}
#msc .barco-crucero{
  position: absolute;
  left: 260px;
  bottom:75px;
} */
/* 1. Contenedor Base */
.barco {
  /* Mantenemos el aside en el flujo del documento inicialmente */
  position: relative;
  height: 500px; /* **Importante:** Dale una altura para que reserve espacio en el flujo */
  overflow: hidden;
  z-index: 100; /* Asegura que el barco esté sobre otras secciones */
  margin-top: -50px; /* Ajusta este valor para acercar el barco a la sección anterior si es necesario */
  opacity: 0;
  transition: 0.5s all ease-in-out;
}

/* 2. Estilos de Olas */
.barco-olas {
  width: 120%;
  height: auto;
  position: absolute;
  bottom: 0;
  left: -10%;
  z-index: 1; /* Olas en el fondo del aside */
}

/* 3. Estilos del Barco (la imagen que escalará) */
.barco-crucero {
  position: absolute;
  left: 350px;
  bottom: 110px;
  /* Posición inicial y escala */
  transform: translateX(-50%) scale(1);
  width: 250px; /* Define el tamaño inicial del barco */
  height: auto;
  z-index: 2; /* Barco sobre las olas */
  /* Transición suave para evitar saltos al inicio/fin */
  transition: transform 0.1s ease-out;
}

/* 4. Estado Fijo (Sticky) */
.barco.fixed {
  position: fixed;
  top: auto; /* Deshacer cualquier 'top' heredado */
  bottom: 0; /* **Fijar el aside en la parte inferior de la ventana** */
  left: 0;
  width: 100%;
  height: auto;
  /* La altura no es necesaria en fixed, pero puedes ponerle un min-height
       si quieres asegurar que las olas siempre se vean */
  min-height: 500px;
  opacity: 1;
  transition: 0.5s all ease-in-out;
  z-index: -1;
}

/*** BACKGROUND ***/
#msc .background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-size: cover;
  overflow: hidden;
  z-index: 0;
}
#msc .background img {
  position: absolute;
}
#msc .background .hex1 {
  right: 50px;
  top: 50px;
  width: auto;
}
#msc .background .hex2 {
  left: 50px;
  top: -50px;
  width: auto;
}
#msc .background .hex3 {
  left: 50px;
  bottom: 50px;
  width: auto;
}
#msc .background .cir1 {
  right: 250px;
  top: 550px;
  width: 150px;
}
#msc .background .cir2 {
  right: 25%;
  bottom: 100px;
  width: auto;
}
#msc .background .cir3 {
  right: 25px;
  bottom: 25px;
  width: auto;
}
@media (max-width: 767px) {
  #msc .background img {
    opacity: 0.25;
  }
  #msc .background .hex1 {
    right: -50px;
  }
  #msc .background .hex2 {
    left: -50px;
    top: -100px;
    width: 50%;
  }
  #msc .background .hex3 {
    left: -50px;
  }
  #msc .background .cir1 {
    display: none;
  }
  #msc .background .cir2 {
    width: 100px;
    right: -50px;
  }
  #msc .background .cir3 {
    bottom: -75px;
  }
}
