/* ======================================
   Variables y Reset
   ====================================== */
:root {
  --orange: #ff6600;
  --dark-bg: #0a0a0a;
  --dark-section: #1a1a1a;
  --light-bg: #f8f8f8;
  --text-light: #ffffff;
  --text-dark: #333333;
  --text-muted: #666666;
  --border-radius: 6px;
  --transition: 0.3s ease;
  --max-width: 1200px;
  --gutter: 1rem;
  --font-sans: 'Helvetica Neue', Arial, sans-serif;
  --font-size-base: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--light-bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

/* ======================================
   Contenedor central
   ====================================== */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--gutter) 0;
}

/* ======================================
   Encabezado y Navegación
   ====================================== */
header {
  background: var(--dark-bg);
  color: var(--text-light);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--gutter) 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-light);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}

nav a:hover {
  color: var(--orange);
}

.btn-reservar {
  background: var(--orange);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: background var(--transition);
  font-weight: 600;
}

.btn-reservar:hover {
  background: darken(var(--orange), 10%);
}

/* ======================================
   Sección Hero (slider cross-fade)
   ====================================== */
.hero {
  background: none;        /* eliminamos el fondo estático */
  color: var(--text-light);
  padding: 4rem 0;
  text-align: center;
  position: relative;      /* ya la tenías, pero asegúrate de que esté aquí */
  overflow: hidden;        /* idem */
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: var(--orange);
  background: rgba(0, 0, 0, 0.6);
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: bold;    /* ¡texto en negrita! */
}

.hero form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.hero form input[type="date"],
.hero form select {
  padding: 0.6rem 0.8rem;
  border: none;
  border-radius: var(--border-radius);
  width: 180px;
}

.hero form .btn-submit {
  background: var(--orange);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: background var(--transition);
}

.hero form .btn-submit:hover {
  background: darken(var(--orange), 10%);
}

.hero .quick-links {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.hero .quick-links .btn {
  background: var(--dark-section);
  color: var(--text-light);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-size: 0.9rem;
  transition: background var(--transition);
}

.hero .quick-links .btn:hover {
  background: var(--orange);
}










/* ======================================
   Iconos de servicios
   ====================================== */
.services {
  background: #fff;
  padding: 0rem 0;
}

.services .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 2rem;
  text-align: center;
}

.services .service-item svg {
  font-size: 2rem;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.services .service-item h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.services .service-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ======================================
   Selección de habitaciones
   ====================================== */
.rooms {
  background: #000;
  padding: 0rem 0;
}

.rooms h2 {
  color: var(--text-light); /* o color: #fff; */
  text-align: center;
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.rooms p.lead {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-light); /* o color: #fff; */
}

.room-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition);
}

.card:hover {
  transform: translateY(-4px);
}

.card .card-image {
  width: 100%;
  aspect-ratio: 4 / 3;          /* ancho:alto = 4:3 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-top-left-radius: var(--border-radius);
  border-top-right-radius: var(--border-radius);
}

.card .card-content {
  padding: 1rem;
  flex: 1;
}

.card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.card p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.card .price {
  font-weight: bold;
  margin-bottom: 0.8rem;
}

.card .btn-card {
  align-self: flex-start;
  background: var(--orange);
  color: #fff;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: background var(--transition);
  font-size: 0.9rem;
  text-decoration: none;
 
  
  
}

.card .btn-card:hover {
background: #ff0000;     /* rojo puro */;
}

/* ======================================
   Secciones intermedias
   ====================================== */
.info-sections {
  padding: 0rem 0;
}

.info-sections .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
  gap: 2rem;
}

.info-box {
  border-radius: var(--border-radius);
  padding: 1.5rem;
  background: var(--orange);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.info-box h4 {
  color: #fff;
  margin-bottom: 0.8rem;
}

.info-box p {
  color: #fff;	
  margin-bottom: 1.2rem;
  
}

.info-box .btn {
  background: #000;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  transition: background var(--transition);
}

.info-box .btn:hover {
  background: red;
}

.info-box .card-image {
  width: 100%;
  aspect-ratio: 16 / 9;        /* fuerza ancho:alto = 16:9 */
  background-size: cover;
  background-position: center;
}



/* ======================================
   Testimonios
   ====================================== */
.testimonials {
  background: #000;/*var(--light-bg);*/
  padding: 0rem 0;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: #fff;
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 1rem;
}

.testimonial {
  background: #ff6600;
  border-radius: var(--border-radius);
  padding: 1rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  text-align: center;
}

.testimonial p {
  font-size: 0.9rem;
  margin: 0.5rem 0;
  color: #fff; /*var(--text-muted);*/
}

.testimonial .author {
  font-weight: 700;
  margin-top: 0.5rem;
  color: #000;
}

/* ======================================
   Ubicación y Contacto
   ====================================== */
.contact {
  padding: 0.5rem 0;
  background: #fff;
}

.contact .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact .info {
  background: #ff6600;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  color: #fff;
  
}

.contact .info h4 {
  margin-bottom: 1rem;
  color: #fff;
}

.contact .info p,
.contact .info a {
  font-size: 0.9rem;
  color: var(--text-dark);
  text-decoration: none;
  margin-bottom: 0.6rem;
  display: block;
  color: #fff;
}

.contact .actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.contact .actions .btn {
  text-align: center;
}

.card-image2 {
  width: 100%;
  aspect-ratio: 4 / 3;          /* ancho:alto = 4:3 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-top-left-radius: var(--border-radius);
  border-top-right-radius: var(--border-radius);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}



/* ======================================
   Pie de página
   ====================================== */
footer {
  background: var(--dark-bg);
  color: var(--text-light);
  padding: 2rem 0;
}

footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

footer .footer-col {
  flex: 1;
  min-width: 200px;
}

footer .footer-col h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

footer .footer-col ul {
  list-style: none;
}

footer .footer-col ul li {
  margin-bottom: 0.5rem;
}

footer .footer-col ul li a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition);
}

footer .footer-col ul li a:hover {
  color: var(--orange);
}

footer .social-icons {
  display: flex;
  gap: 1rem;
}

footer .social-icons a {
  font-size: 1.2rem;
  color: var(--text-light);
  transition: color var(--transition);
}

footer .social-icons a:hover {
  color: var(--orange);
}

footer p {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* ======================================
   Responsive tweaks
   ====================================== */
@media (max-width: 768px) {
  header .container,
  .info-sections .container,
  .contact .container,
  footer .container {
    flex-direction: column;
    align-items: center;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .hero form {
    flex-direction: column;
  }

  .contact .container {
    grid-template-columns: 1fr;
  }
}

/* Ajustes para el logo */
.logo {
  /* si antes tenías display:flex o similares, mantenlos */
  display: flex;
  align-items: center;
}

.logo-img {
  max-height: 50px;    /* o el valor que te encaje */
  width: auto;
  object-fit: contain;
}


/* --------------------------------------------------
   Slider con cross-fade en .hero
   -------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
}

.hero::before {
  /* overlay oscuro */
  content: "";
  position: absolute;
  top:0; left:0;
  width:100%; height:100%;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

.hero-slider .slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation-duration: 15s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

/* Cada slide con su animación offset para cross-fade */
.hero-slider .slide:nth-child(1) { animation-name: fade1; }
.hero-slider .slide:nth-child(2) { animation-name: fade2; }
.hero-slider .slide:nth-child(3) { animation-name: fade3; }

/* Keyframes para cross-fade */
/* Slide 1: visible 0–30%, fundido out 30–33.33% */
@keyframes fade1 {
  0%      { opacity: 1; }
  30%     { opacity: 1; }
  33.33%  { opacity: 0; }
  100%    { opacity: 0; }
}

/* Slide 2: in 33.33–36.66%, visible 36.66–60%, out 60–66.66% */
@keyframes fade2 {
  0%      { opacity: 0; }
  30%     { opacity: 0; }
  33.33%  { opacity: 1; }
  60%     { opacity: 1; }
  66.66%  { opacity: 0; }
  100%    { opacity: 0; }
}

/* Slide 3: in 66.66–70%, visible 70–96.66%, out 96.66–100% */
@keyframes fade3 {
  0%       { opacity: 0; }
  60%      { opacity: 0; }
  66.66%   { opacity: 1; }
  96.66%   { opacity: 1; }
  100%     { opacity: 0; }
}

/* Aseguramos que el contenido (.hero > * excepto .hero-slider) quede por encima */
.hero > *:not(.hero-slider) {
  position: relative;
  z-index: 2;
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 20px;       /* separación inferior */
  right: 20px;        /* separación lateral */
  width: 60px;        /* ancho del icono */
  height: 60px;       /* alto del icono */
  z-index: 9999;      /* por encima de todo */
  cursor: pointer;
  transition: transform 0.2s ease;
}
.whatsapp-float img {
  width: 100%;
  height: 100%;
  display: block;
}
.whatsapp-float:hover {
  transform: scale(1.1);
}



.services .service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.services .service-item .service-icon {
  width: 60px;               /* tamaño de ejemplo; ajústalo a lo que necesites */
  aspect-ratio: 1 / 1;       /* fuerza proporción cuadrada */
  object-fit: contain;       /* para respetar transparencia y no recortar */
  margin-bottom: 0.75rem;    /* espacio bajo el icono */
}

/* ======================================
   Contact – placeholder “mapa”
   ====================================== */
.contact .card-image {
  width: 100%;
  aspect-ratio: 16 / 9;           /* relación ancho:alto 16:9 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--border-radius);
  margin-top: 1rem;               /* si quieres un pequeño espacio */
  
  
  
  
  
}









/* 1) Por defecto el toggle siempre oculto */
.menu-toggle {
  display: none;
}

/* 2) Si el nav recibe .collapsed, aparecerá */
.nav-menu.collapsed + .menu-toggle,
.menu-toggle + .nav-menu.collapsed {
  display: flex;
}

/* 3) Cuando esté collapsed, ocultamos el nav */
.nav-menu.collapsed {
  display: none;
}

/* 4) Y si además tiene .open, lo volvemos a mostrar */
.nav-menu.collapsed.open {
  display: block;
}

/* 5) Estilos básicos del toggle (flechas) */
.menu-toggle {
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--text-light);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(4px,4px);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4px,-4px);
}

/* 6) En escritorio (cuando quepa), forzamos nav visible y toggle oculto */
@media (min-width: 769px) {
  .menu-toggle {
    display: none !important;
  }
  .nav-menu {
    display: block !important;
  }
  .nav-menu ul {
    display: flex;
    gap: 1.5rem;
  }
}


/* === Menú colapsable: movil (<768px) === */
.menu-toggle { display: none; }
.nav-menu { display: flex; }
.nav-menu ul { display: flex; gap: 1.5rem; }

@media (max-width: 768px) {
  .menu-toggle { display: flex; flex-direction: column; gap: 5px; cursor: pointer; }
  .menu-toggle span { width: 25px; height: 3px; background: var(--text-light); }
  .nav-menu { display: none; flex-direction: column; background: var(--dark-bg); }
  .nav-menu.open { display: flex; }
  .nav-menu ul { flex-direction: column; padding: 1rem 0; }
  .nav-menu ul li a { padding: 0.5rem 1rem; }
}



/* ======================================
   Restaurante (info-sections)
   ====================================== */
.info-sections .card-image {
  width: 100%;
  height: 200px;                        /* fija la altura */
  background-image: url('4.png');
  background-size: cover;               /* escala sin distorsión */
  background-position: center;          /* centra la imagen */
  background-repeat: no-repeat;         /* no repitas */
  display: block;                       /* garantiza que no colapse */
}

.info-sections .card-image2 {
  width: 100%;
  height: 200px;                        /* fija la altura */
  background-image: url('14.png');
  background-size: cover;               /* escala sin distorsión */
  background-position: center;          /* centra la imagen */
  background-repeat: no-repeat;         /* no repitas */
  display: block;                       /* garantiza que no colapse */
}

.info-sections .card-image3 {
  width: 100%;
  height: 200px;                        /* fija la altura */
  background-image: url('15.png');
  background-size: cover;               /* escala sin distorsión */
  background-position: center;          /* centra la imagen */
  background-repeat: no-repeat;         /* no repitas */
  display: block;                       /* garantiza que no colapse */
}

.info-sections .card-image4 {
  width: 100%;
  height: 200px;                        /* fija la altura */
  background-image: url('16.png');
  background-size: cover;               /* escala sin distorsión */
  background-position: center;          /* centra la imagen */
  background-repeat: no-repeat;         /* no repitas */
  display: block;                       /* garantiza que no colapse */
}




.
/* ======================================
   Botón flotante “Subir arriba”
   ====================================== */
.back-to-top {
  position: fixed;
  bottom: 20px;                      /* separación inferior */
  left: 50%;                         /* centro horizontal */
  transform: translateX(-50%);       /* ajusta exactamente al centro */
  background: var(--orange);
  color: var(--text-light);
  text-decoration: none;
  font-size: 1.5rem;                 /* tamaño de la flecha */
  padding: 0.5rem 0.75rem;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 1000;                     /* por encima de todo */
  transition: background var(--transition), opacity var(--transition);
  opacity: 0.7;
}

.back-to-top:hover {
  background: #e65500;               /* oscuro sobre hover */
  opacity: 1;
}



/* Para los botones que son sólo iconos */
.btn-icon {
  padding: 0.4rem;           /* ajusta el padding al tamaño del icono */
  width: auto;
}

/* Ajusta el tamaño del icono */
.whatsapp-icon {
  display: block;
  width: 10%;               /* o el tamaño que prefieras */
  height: auto;
}


/* fila de iconos sociales */
.social-links {
  display: flex;
  flex-direction: row;
  justify-content: center;  /* opcional: centro horizontal */
  gap: 0rem;                /* espacio entre cada icono */
  margin-top: 1rem;
}

/* tamaño de los iconos */
.social-links .social-icon {
  display: block;           /* o inline-block */
  width: 32px;              /* un tamaño fijo en px para que no dependa del contenedor */
  height: auto;
}

/* Override: icons row en contacto */
.contact .actions {
  flex-direction: row;
  align-items: center;    /* opcional: verticalmente centrados */
  gap: 0.75rem;           /* ajusta el espaciado entre iconos */
}



/* ======================================
   Overlay negro para redes sociales
   ====================================== */
.social-overlay {
  background: rgba(0, 0, 0, 0.8);   /* fondo negro semi-transparente */
  /*width: 80%;                       /* ocupa el 75% del ancho de su contenedor */
  margin: 1rem auto;                /* centrado horizontal + separación arriba/abajo */
  padding: 0.1rem;                    /* algo de espacio interior */
  border-radius: var(--border-radius);
}

/* Aseguramos que los iconos sigan en fila */
.social-overlay .social-links {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

/* Tamaño de los iconos y color de texto dentro del overlay */
.social-overlay .social-icon {
  display: block;
  width: 32px;     /* ajústalo a tu gusto */
  height: auto;
}

.social-overlay .social-links a {
  color: var(--text-light);    /* texto en blanco */
  text-decoration: none;
  font-size: 0.9rem;
}




/* 1) Evita el scroll horizontal en toda la página */
html, body {
  overflow-x: hidden;
}

/* 2) Asegura que los iframes y fondos de .contact no se salgan */
.contact iframe,
.contact .card-image2 {
  width: 100%;
  max-width: 100%;
  height: auto;            /* el iframe ya no quiebra el contenedor */
  box-sizing: border-box;  /* para que padding/border no amplíen el ancho */
}

/* 3) Fuerza que el overlay de redes no crezca más allá */
.social-overlay {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* 4) Mejora el contenedor .info para meter todo dentro */
.contact .info {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* 5) Elimina cualquier width:100% inline que tengas en <h4> o <p> */
.contact .info h4[style],
.contact .info p[style] {
  width: auto !important;
}

/* 6) Refina el enlace del teléfono (h2) para que no meta ancho extra */
.contact .info a.phone-link {
  display: block;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}
.contact .info a.phone-link h2 {
  width: 70%;
  max-width: 70%;
  margin: 1rem auto 0;
  font-size: 2.5rem;
  line-height: 1.2;
}

/* 7) (Opcional) Asegúrate de que tu .container no sume padding fuera del 90% */
.container {
  box-sizing: border-box;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}



.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-overlay.show {
  display: flex;
}

.popup-box {
  max-width: 95vw;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-height: 90vh;
}

.popup-close {
  margin: 1rem 0;
  background: var(--orange);
  color: white;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
}