@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap');

:root {
  --primary-color: #201515;     
  --primary-color-dark: #070606;
  --text-dark: #0c0a09;
  --text-light: #121311;
  --white: #ffffff;             
  --max-width: 1200px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html,
body {
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
}

/* =================================================== BOTONES ====================================== */
.btn {
  padding: 0.75rem 1.5rem;
  outline: none;
  border: none;
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  background-color: var(--primary-color);
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background-color: var(--primary-color-dark);
}

/* ===== IMAGENES ===== */
img {
  width: 100%;
  display: flex;
}

a {
  text-decoration: none;
}

.logo {
  max-width: 120px;
}

/* ======================================== NAVEGACION ============================================ */
nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: var(--max-width);
  margin: auto;
  z-index: 1000;
  background: transparent;
}

.nav__bar {
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__menu__btn {
  font-size: 1.8rem;
  color: var(--white);
  cursor: pointer;
  display: none; /* oculto en escritorio */
  z-index: 1001;
  transition: transform 0.3s ease;
}

.nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links .btn {
  background-color: var(--primary-color);
  color: var(--white);
}

.nav__links .btn:hover {
  background-color: var(--primary-color-dark);
}


.nav__links a {
  padding: 0.5rem 1rem;
  border-radius: 5px;
  background: var(--primary-color);
  color: #ffffff;
  font-weight: 500;
  transition: 0.3s ease;
}

.nav__links a:hover {
  background: var(--primary-color-dark);
}

.nav__btn {
  display: none;
}

/* ============================================ HEADER + CARRUSEL =============================================== */
.header {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Carrusel */
.header__carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.header__carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.header__carousel img.active {
  opacity: 1;
}

/* Texto sobre carrusel */
.header__container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: 0 10px;
  position: relative;
  z-index: 2;
  color: #fff;
}

/* Animación infinita tipo "flotante" */
@keyframes floatUpDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Hotel title con animación constante */
.hotel-title {
  font-family: 'Dancing Script', cursive;
  font-size: 5rem;
  font-weight: 700;
  color: #fcee2c;
  text-shadow: 2px 2px 12px rgba(216, 200, 200, 0.8);
  margin-bottom: 20px;
  animation: floatUpDown 2s ease-in-out infinite;
}

/* Subtítulo principal */
.header-subtitle {
  font-size: 3rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
  max-width: 800px;
  text-align: center;
  margin: 0 auto 30px;
  animation: floatUpDown 4s ease-in-out infinite;
}

/* Segunda línea del subtítulo */
.header-subtitle span {
  display: block;
  font-weight: 700;
  color: #ffffff;
  font-size: 3.5rem;
  animation: floatUpDown 5s ease-in-out infinite;
}


@media (max-width: 768px) {
  .hotel-title {
    font-size: 3.5rem;
  }

  .header-subtitle {
    font-size: 2rem;
  }

  .header-subtitle span {
    font-size: 2.3rem;
  }
}


/* =========================================== RESPONSIVE ============================================ */
@media (max-width: 768px){
  .nav__menu__btn {
    display: block;
  }

  .nav__links {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(131, 195, 206, 0.97);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: top 0.4s ease;
    z-index: 999;
  }

  .nav__links.active {
    top: 0;
  }

  .nav__links a {
    font-size: 1.5rem;
    background: none;
    color: #070706;
  }

    .nav__links a:not(.btn) {
    font-size: 1.5rem;
    background: none;
    color: #070706;
  }

  .nav__links a:not(.btn):hover {
    color: var(--primary-color-dark);
  }

  .nav__links a:hover {
    color: var(--primary-color-dark);
  }

  .header__container h1 {
    font-size: 2.5rem;
    line-height: 3rem;
  }

  .header__container p {
    font-size: 1rem;
  }
}
