@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&family=Montserrat:wght@400;500;700&display=swap");

:root {
  --color-primary: #6adaee;
  --color-background: #cee6f0;
  --color-surface: #ffffff;
  --color-text-primary: #6d6875;
  --color-text-secondary: #6298b7;
  --color-border: #e0e0e0;

  --font-heading: "Roboto", sans-serif;
  --font-body: "Montserrat", sans-serif;

  --shadow: 0 15px 35px rgba(109, 104, 117, 0.1);
  --border-radius: 12px;
}

/* Base y Estilos globales */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}

/*Amenites*/
body {
  font-family: var(--font-body);
  line-height: 1.8;
  background-color: var(--color-background);
  color: var(--color-text-primary);
  font-size: 16px;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/*Bienvenida*/
h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-text-primary);
}
p {
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
}
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}
section {
  padding: 100px 0;
  scroll-margin-top: 90px;
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}
section > .container > p {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4rem;
}

.btn {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 0px;
  font-weight: 550;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}
.btn-primary {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-primary:hover {
  background-color: #fff;
  color: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(181, 131, 141, 0.2);
}
.btn-secondary {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--color-text-primary);
}
.btn-secondary:hover {
  background-color: #fff;
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

/* HEADER & NAVIGATION */

header {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.486) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}
header.scrolled {
  background-color: rgba(44, 43, 43, 0.315);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0);
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
}
.nav-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
}

.nav-brand:hover {
  color: #fff;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 40px;
  align-items: center;
}
nav a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-family: var(--font-body);
  font-size: 1rem;
  position: relative;
  padding-bottom: 5px;
}
nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}
nav a:hover::after {
  width: 100%;
}

.nav-btn {
  background-color: rgba(255, 255, 255, 0);
  border-color: rgba(255, 255, 255, 0.9);
  font-weight: 2500;
  padding: 10px 25px;
  border-radius: 0px;
}

/* HERO SECTION */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding-bottom: 10vh;
  position: relative;
  color: #fff;
}
.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(33, 41, 44, 0.822), transparent 50%);
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 6.5rem;
  color: #fff;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.hero h2 {
  font-size: 1.5rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 auto 2.5rem auto;
  font-family: var(--font-body);
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* ABOUT SECTION */

#about {
  scroll-margin-top: 90px;
  background-color: var(--color-surface);
}
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text .section-title,
.about-text p {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}
.about-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

/* AMENITIES SECTION */

#amenities {
  scroll-margin-top: 90px;
}
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

#amenities .section-title {
  color: #ffffff;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.15);
}

.amenity-item {
  background: var(--color-surface);
  padding: 30px;
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
  border: 0px solid var(--color-border);
}
.amenity-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-left: 5px solid var(--color-primary);
}
.amenity-item i {
  color: var(--color-primary);
  font-size: 1.8rem;
}

/* GALLERY SLIDER SECTION */

#gallery {
  scroll-margin-top: 90px;
  background-color: var(--color-surface);
}
.swiper {
  width: 100%;
  height: 75vh;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}
.swiper-slide {
  background: var(--color-surface);
}
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.swiper-button-next,
.swiper-button-prev {
  color: var(--color-primary) !important;
}
.swiper-pagination-bullet-active {
  background: var(--color-primary) !important;
}

/* LOCATION SECTION */

#location {
  scroll-margin-top: 90px;
  background-color: #ffffff;
  border: 2px solid #5ac4dd;
}

#location .section-title {
  color: var(--color-text-primary);
  text-shadow: none;
}

.location-image-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: block;
}

.location-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-map-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background-color: var(--color-primary);
  color: #ffffff;
  border: 2px solid var(--color-primary);
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
  transition: all 0.3s ease;
}

.location-map-btn:hover {
  background-color: #5ac4dd;
  border-color: #5ac4dd;
  color: #ffffff;
  transform: translate(-1%, -1%) translateY(-1px);
}

/* REVIEWS SECTION */

#reviews {
  scroll-margin-top: 90px;
  background-color: #ffffff;
  padding-bottom: 60px;
}

.reviews-section .section-title {
  color: #ffffff;
  text-shadow: none;
}

.reviews-section > .container > p {
  margin-bottom: 3rem;
}

.view-more-reviews {
  text-align: center;
  margin-top: 40px;
}

.view-more-reviews .btn-secondary {
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 14px 30px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
}

.view-more-reviews .btn-secondary:hover {
  background-color: #5ac4dd;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* RESERVATION SECTION*/

.reservation-section {
  background-color: #e2eff5;
  text-align: center;
  padding: 100px 0;
}

.reservation-section .section-title {
  color: #495057;
}

.reservation-section p {
  color: #6c757d;
  margin-bottom: 2.5rem;
}

/* Contenedor del botón de Airbnb */
.airbnb-button-wrapper {
  margin-top: 30px;
  text-align: center;
}

/* ESTILOS DEL BOTÓN DE IMAGEN  */
.airbnb-button-image-link {
  display: inline-block;
  line-height: 0;
  padding: 0;
  border: none;
  background: transparent;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  margin-left: auto;
  margin-right: auto;
}

.airbnb-button-image-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.airbnb-custom-button {
  max-width: 350px;
  width: 100%;
  height: auto;
  display: block;
  border: none;
}

/* FOOTER */

footer {
  padding: 50px 0;
  background-color: #6d6875;
  text-align: center;
}
footer p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* MENÚ HAMBURGUESA MÓVIL */

.nav-toggle,
.nav-close {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: #fff;
}

.nav-menu-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1100;
  padding: 4rem 2rem;
  transition: right 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.nav-list-mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.nav-link-mobile {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

.nav-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}

.show-menu {
  right: 0;
}

/* Estilo responsivo */

/* TABLETS Y DISPOSITIVOS MEDIANOS (~992px) */

@media (max-width: 992px) {
  body {
    font-size: 16px;
  }
  section {
    padding: 80px 0;
  }
  .section-title {
    font-size: 2.5rem;
  }
  .about-container,
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-image {
    grid-row: 1;
  }
  .about-text .section-title,
  .about-text p {
    text-align: center;
  }
  .swiper {
    height: 60vh;
  }
}

/* MÓVILES Y DISPOSITIVOS PEQUEÑOS (~768px) */

@media (max-width: 768px) {
  header,
  nav {
    height: 70px;
  }
  .nav-brand {
    font-size: 1.2rem;
  }
  nav ul {
    display: none;
  }
  .hero {
    min-height: 85vh;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .hero h2 {
    font-size: 1.1rem;
  }
  .hero-actions {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;
  }
  section {
    padding: 60px 0;
    scroll-margin-top: 70px;
  }
  .section-title {
    font-size: 2rem;
  }
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .amenity-item {
    padding: 15px;
    font-size: 0.9rem;
    gap: 10px;
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  .amenity-item i {
    font-size: 1.5rem;
    margin-bottom: 5px;
  }

  .hero-actions .btn {
    padding: 15px 10px;
    font-size: 0.8rem;
    letter-spacing: 1px;
    flex-grow: 1;
    flex-basis: 0;
  }

  .hero-actions .btn-primary {
    flex-grow: 1.5;
  }

  .nav-menu-desktop {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .reviewsSwiper {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .review-slide {
    width: 300px;
    min-height: 380px;
  }

  .view-more-reviews .btn-secondary {
    padding: 12px 25px;
    font-size: 0.85rem;
  }

  .airbnb-custom-button {
    max-width: 280px;
  }

  .airbnb-button-wrapper {
    text-align: center;
  }

  .location-image-wrapper {
    padding-bottom: 75%;
  }

  .location-map-btn {
    bottom: 15px;
    right: 15px;
    padding: 8px 15px;
    font-size: 0.8rem;
    gap: 6px;
  }
}
