/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* PALETA DE COLOR */
:root {
    --bg-light: var(--accent-crema);
    --text-main: #151515;
    --accent-verde: #037172;
    --accent-verde-claro: #B3D296;
    --accent-terracota: #C45E38;
    --accent-naranja: #F5A847;
    --accent-crema: #FFF6F2;
    --white: #ffffff;
}

/*TIPOGRAFÍAS*/
  /*CARGAR TIPOS*/
  @font-face { 
    font-family: "Dazzle Unicase";
    src: url('fonts/Dazzle_Unicase_Medium.woff') format('woff');
    src: url('fonts/fonnts.com-Dazzle_Unicase_Medium.otf') format('opentype');
    font-style: medium;
  }

  @font-face {
    font-family: "Dazzle Unicase";
    src: url('fonts/fonnts.com-Dazzle_Unicase_Light.otf') format('opentype');
    font-weight: 400;
    font-style: light;
  }

  @font-face {
    font-family: "Century Gothic";
    src: url(fonts/GOTHIC.TTF) format('truetype');
  }

  @font-face {
    font-family: "Beyond Infinity";
    src: url('fonts/Beyond Infinity.ttf') format('truetype');
    font-weight: 400;
    font-style: light;
  }

  /*APLICAR TIPOS*/
  h1{
    font-family: 'Dazzle Unicase', sans-serif;
    font-size: 30px;
    text-align: center;
  }

  h2{
    font-family: "Century Gothic";
    font-style: light;
    font-size: 40px;
    text-align: center;
  }

  h3{
    font-family: "Dazzle Unicase";
    font-style: light;
    font-size:25px;
    color: var(--accent-verde);
  }

  h4{
    font-family: "Century Gothic";
    font-style: light;
    font-size: 25px;
    text-align: center;
    color: var(--accent-terracota);
  }

  .manuscrita-verde{
    font-family: "Beyond Infinity";
    font-style: light;
    font-size:100px;
    color: var(--accent-verde);
    text-align: center;
  }
    .manuscrita-naranja{
    font-family: "Beyond Infinity";
    font-style: light;
    font-size:70px;
    color: var(--accent-naranja);
  }

        @media screen and (max-width: 650px){
          h2{
            font-size: 30px;
          }
          .manuscrita-verde, .manuscrita-naranja{
            font-size: 90px;
          }
        }

  body {
    font-family: "Century Gothic";
    font-style: light;
    color: var(--text-main);
    line-height: 1.6;
  }

    /*LINKS*/
    a:link,
    a:visited {
      color: var(--accent-naranja);
    }
    a:hover {
      color: var(--accent-verde-claro);
    }
    a:visited {
      text-decoration: none !important;
    }

    /*ESPACIADO ENTRE PÁRRAFOS*/
    .spaced-paragraph {
      margin-bottom: 1.5em;
    }

/*BOTONES*/
.button{
  font-family: "Century Gothic", sans-serif;
  font-size: 16px;
  font-weight: 200;
  letter-spacing: 1px;
  padding: 13px 20px 13px;
  outline: 0;
  border: 1px solid black;
  cursor: pointer;
  position: relative;
  z-index: 0;
  background-color: rgba(0, 0, 0, 0);
  color: var(--text-main);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: fit-content;
  text-decoration: none;
  appearance: none;
  -webkit-appearance: none;
  overflow: visible;
}

          .button:after {
            content: "";
            background-color: var(--accent-verde);
            width: 100%;
            z-index: -1;
            position: absolute;
            height: 100%;
            top: 7px;
            left: 7px;
            transition: 0.2s;
          }

          .button:hover:after {
            top: 0px;
            left: 0px;
          }
          .button:visited {
            color: var(--accent-verde-claro) !important;
            text-decoration: none !important;
          }

          @media screen and (max-width: 650px) {
            .button {
              padding: 13px 50px 13px;
            }
          }
        
      


/* NAVBAR */

  .center {
    width: 100%;
  }
  
  .menu {
    width: 100%;
    height: fit-content;
    box-sizing: border-box;
    background-image: linear-gradient(to top, rgba(255, 255, 255, 0.75),rgba(255, 255, 255, 0.95), rgb(255, 255, 255));
    box-shadow: 0 4px 8px 0 rgba(39, 39, 39, 0.2), 0 6px 20px 0 rgba(40, 40, 40, 0.19);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
  }
  
  .logo {
    width: fit-content;
    max-height: 100px;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .logo img {
    max-height: 70px;
    width: auto;
  }
  
  #menu {
    display: none;
  }
  
  .logo label {
    display: none;
  }
  
  .items {
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
  }
      .items-left {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        min-width: 0;
      }
      .items-right {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        text-align: right;
        min-width: 0;
      }
      .item {
        width: fit-content;
        padding: 10px 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: "Century Gothic";
        font-style: light;
        font-size: 20px;
        color: var(--text-main);
        text-decoration: none;
      }
      .item:link,
      .item:visited {
        color: var(--text-main);
      }
      .item--active,
      .item--active:link,
      .item--active:visited {
        color: var(--accent-verde) !important;
      }
      .item:hover {
        color: var(--accent-naranja);
      }
 
  /*OCULTAR NAVBAR AL BAJAR*/
  .navbar--hidden {
    transform: translateY(-100%);
  }

  /* RESPONSIVE MENÚ BURGER*/    
  @media screen and (max-width: 650px) {
    .menu {
      display:flex;
      flex-direction: column;
    }
    .menu .logo {
      width: 100%;
      order:-1;
      position: relative;
      z-index: 10;
    }
    .menu .logo label {
      display: block;
      cursor: pointer;
      position: relative;
      width: 44px;
      height: 44px;
      -webkit-tap-highlight-color: transparent;
      touch-action: manipulation;
    }
    .menu .logo label::before {
      position: absolute;
      content: "☰";
      font-family: sans-serif;
      top: 7px;
      left: 7px;
      font-size: 28px;
      line-height: 30px;
      color: var(--text-main);
      pointer-events: none;
    }
    .menu .items-left {
      order: 1;
      width: 100%;
      flex-direction: column;
      max-height: 0;
      overflow: hidden;
      transition: 0.5s ease-in-out;
      background: #fff;
    }
    .menu .items-right {
      order: 2;
      width: 100%;
      flex-direction: column;
      max-height: 0;
      overflow: hidden;
      transition: 0.5s ease-in-out;
      background: #fff;
    }
    .menu .item {
      width: 100%;
      padding: 15px 20px;
      border-radius: 0;
      border-top: 1px solid #f0e8e4;
      justify-content: flex-start;
    }
    #menu:checked ~ .items-left,
    #menu:checked ~ .items-right,
    .menu--open .items-left,
    .menu--open .items-right {
      max-height: 1000px;
    }
    #menu:checked ~ .logo label::before,
    .menu--open .logo label::before {
      content: "✕";
    }
  }

/* BURGER MODE — activo por JS también en pantallas medianas */
.menu.menu--burger { flex-direction: column; }
.menu.menu--burger .logo { width: 100%; order: -1; }
.burger-btn {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  padding: 8px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  color: var(--text-main);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  font-family: sans-serif;
}
.menu.menu--burger .burger-btn { display: block; }
.menu.menu--burger .items-left {
  order: 1; width: 100%; flex-direction: column;
  max-height: 0; overflow: hidden; transition: 0.5s ease-in-out; background: #fff;
}
.menu.menu--burger .items-right {
  order: 2; width: 100%; flex-direction: column;
  max-height: 0; overflow: hidden; transition: 0.5s ease-in-out; background: #fff;
}
.menu.menu--burger .item {
  width: 100%; padding: 15px 20px; border-radius: 0;
  border-top: 1px solid #f0e8e4; justify-content: flex-start;
}
.menu.menu--burger.menu--open .items-left,
.menu.menu--burger.menu--open .items-right { max-height: 1000px; }
.menu.menu--burger.menu--open .logo label::before { content: "✕"; }

/* CARRUSELES */
* {box-sizing: border-box;}
.slideshow-container {
  height: 100svh;
  min-height: 100svh;
  max-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  margin-bottom: 60px;
  overflow: hidden;
}
.slider-img {
  vertical-align: middle;
}
.mySlides {
  display: none;
  width: 100%;
  height: 100%;
}
.mySlides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.active {
  background-color: #717171;
}

  /* Fading animation */
  .fade {
    animation-name: fade;
    animation-duration: 1.5s;
  }
  @keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
  }
  
  /*RESPONSIVE CARRUSEL*/
  @media screen and (max-width: 650px) {
    .slideshow-container {
      height: calc(100svh - 100px);
      min-height: calc(100svh - 100px);
      max-height: calc(100svh - 100px);
      margin-top: 100px;
      margin-bottom: 40px;
      padding: 0;
      align-items: stretch;
      justify-content: stretch;
    }
    .mySlides {
      height: 100%;
      width: 100vw;
      display: flex;
      align-items: stretch;
      justify-content: stretch;
    }
    .mySlides img {
      height: 100%;
      width: 100vw;
      object-fit: cover;
      display: block;
    }
  }

  /* STATIC BANNER (single image, not animated) */
  .static-banner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
    margin-bottom: 60px;
  }
  /* For desktop: image fills viewport height, keeps width 100% and aspect ratio */
  .static-banner-img {
    width: 100%;
    height: 100svh;
    object-fit: cover;
    display: block;
  }

  @media screen and (max-width: 650px) {
    .static-banner-img {
      width: 100vw;
      height: auto;
      object-fit: cover;
      display: block;
    }
  }

  @media screen and (max-width: 650px) {
    .static-banner {
      width: 100vw;
      margin-top: 100px;
      margin-bottom: 40px;
      padding: 0;
      align-items: stretch;
      justify-content: stretch;
    }
    .static-banner img {
      width: 100vw;
      height: auto;
      object-fit: cover;
      display: block;
    }
  }


/* GRID & CARDS */
.nombre-hotel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--accent-verde);
}
.container {
  margin: 0 auto;
  padding: 0 5%;
  position: relative;
  z-index: 1;
}

.accommodation-grid {
  padding-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 20px;
  justify-content: center;
  max-width: 1040px;
  margin: 0 auto;
}

.card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.03);
  transition: transform 0.4s ease;
}
.card-detalles {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

.card:hover {
  transform: translateY(-10px);
}

.card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.card-content {
  padding: 30px;
}

.card-content h3 {
  margin-bottom: 10px;
}

.tag {
  font-family: "Beyond Infinity";
  font-size: 40px;
  color:var(--accent-terracota);
  letter-spacing: 1px;
}

.price-box {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #eee;
  font-size: 0.9rem;
  color: #666;
}

.promo {
  background: #fdf2e9;
  padding: 2px 6px;
  color: var(--accent-naranja);
  transition: color 0.3s ease;
  cursor:pointer;
  transition:background 0.2s;
    
}
.promo.copied {
  background: var(--accent-naranja);
  color: var(--white);
}
.promo:hover {
  color: var(--accent-verde-claro);
  background: var(--accent-white);
}
  /*RESPONSIVE GRID & CARDS*/
  @media screen and (max-width: 650px) {
    .accommodation-grid {
      grid-template-columns: 1fr;
    }
    .card {
       margin-bottom: 20px;
    }
  }


/* HORARIO SECTION */
  .horario {
    --horario-row-gap: 24px;
    --horario-icon-gap: 16px;
    --horario-icon-size: 80px;
    --horario-text-width: 280px;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    gap: var(--horario-row-gap);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 60px;
  }

  .horario-row {
    display: grid;
    grid-template-columns: var(--horario-icon-size) var(--horario-text-width) var(--horario-icon-size);
    justify-content: center;
    align-items: center;
    column-gap: var(--horario-icon-gap);
  }
  .horario-row:not(.reverse) .horario-img { grid-column: 1; }
  .horario-row:not(.reverse) .horario-text { grid-column: 2; }
  .horario-row.reverse .horario-text { grid-column: 2; }
  .horario-row.reverse .horario-img { grid-column: 3; }
  .horario-img {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .horario-img img {
    width: var(--horario-icon-size);
    height: var(--horario-icon-size);
    object-fit: contain;
    background: var(--accent-verde-claro);
  }
  .horario-text {
    font-family: "Century Gothic";
    font-style: light;
    font-size: 1.5rem;
    color: black;
    text-align: center;
    padding: 0;
  }
  @media screen and (max-width: 650px) {
    .horario {
      --horario-row-gap: 16px;
      --horario-icon-gap: 10px;
      --horario-icon-size: 48px;
      --horario-text-width: 180px;
      max-width: 98vw;
      padding: 10px 0;
    }
    .horario-text {
      font-size: 1.1rem;
    }
  }





/*CONTACT*/
.contact-grid {
  height: 500px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  gap: 20px;
}

.contact-text {
  flex: 1;
  min-width: 0;
  padding: 100px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  box-sizing: border-box;
}

.contact-text h2 {
  text-align: center;
  margin-bottom: 18px;
}

/* Add spacing below title and between text and map */
.contact-text p, .contact-text ul, .contact-text ol {
  text-align: left;
  margin-bottom: 18px;
}

/* Use .contact-map (singular) for the right column */
.contact-map {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

  /*RESPONSIVE CONTACT*/
  @media screen and (max-width: 650px) {
    .contact-grid {
      flex-direction: column;
      height: auto;
      max-width: 95vw;
      margin-left: auto;
      margin-right: auto;
      padding: 0 2vw;
    }
    .contact-text {   
      width: 100%;
      max-width: 700px;
      margin-left: auto;
      margin-right: auto;
      padding: 20px 16px;
      box-sizing: border-box;
      position: static;
    }
    .contact-text h2 {
      font-size: 28px;
      margin-bottom: 12px;
    }
    .contact-map {
      width: 100%;
      max-width: 500px;
      margin-left: auto;
      margin-right: auto;
      height: 250px;
      margin-top: 24px;
      margin-bottom: 8px;
      position: static;
    }
    .contact-map iframe {
      height: 100%;
      min-height: 0;
    }
  }


.home-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding-bottom: 50px;
}
.home-text {
  width: 50%;
  padding: 0px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  box-sizing: border-box;
}
.home-button{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.home-image {
  max-width: 50%;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.home-image img{
  max-width:100%;
}

 /*RESPONSIVE HOME CONTAINER*/
  @media screen and (max-width: 650px) {
    .home-container {
      flex-direction: column;
      height: auto;
      max-width: 95vw;
      margin-left: auto;
      margin-right: auto;
      padding-bottom:90px;
    }
    .home-text {   
      width: 100%;
      max-width: 700px;
      margin-left: auto;
      margin-right: auto;
      padding: 0px 16px;
      box-sizing: border-box;
      position: static;
    }
    .home-image {
      width: 100%;
      max-width: 500px;
      margin-left: auto;
      margin-right: auto;
      height: 250px;
      margin-top: 20px;
      margin-bottom: 8px;
      position: static;
      overflow: hidden;
    }
    .home-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .home-container.reverse {
        display: flex;
        flex-direction: column; /* Asegura que se apilen */
    }

    .home-container.reverse .home-text {
        order: 1; /* El texto va primero */
    }

    .home-container.reverse .home-image {
        order: 2; /* La imagen va después */
  }
}

.asistencia-home {
  max-width: 700px;
  margin: 0 auto; /* 0 arriba/abajo, automático a los lados */
  text-align: center; /* Centra el título y el texto internamente */
}
      @media screen and (max-width:650px){
        .asistencia-home{
          max-width: 90%;
        }
      }

/* BACK TO TOP */  
#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 1000;
  font-size: 2rem;
  background: var(--accent-naranja);
  color: var(--accent-crema);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: opacity 0.3s, background 0.2s;
  opacity: 0.8;
}
#scrollTopBtn:hover {
  background: var(--accent-naranja);
  opacity: 1;
}

/*FOOTER*/
.main-footer {
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(245, 167, 66, 0.31));
  padding: 40px 60px;
  margin-top: 80px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  gap: 60px;
}

.footer-logo {
  width: 150px;
}

.footer-texto {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  font-family: "Century Gothic";
  font-style: light;
  color: var(--text-main); 
  text-decoration: none;
  font-size: 1rem;
  padding-right: 50px;
}
  /*RESPONSIVE FOOTER*/
  @media screen and (max-width: 650px) {
    .main-footer {
      flex-direction: column; /* Esto hace que se pongan una encima de otra */
      align-items: center;    /* Centra los elementos horizontalmente */
      text-align: center;     /* Centra el texto interno */
      padding: 40px 20px;     /* Reducimos padding lateral en móvil */
      gap: 30px;              /* Reducimos el espacio entre logo y texto */
    }

    .footer-texto {
      align-items: center;    /* Centra el contenido de la columna de texto */
      padding-right: 0;       /* Quitamos el padding lateral para que esté centrado real */
    }
  }
