/* ========================
   🔥 HIDDEN HOTELS - ESTILO PERFECTO
   Adaptado para diseño responsive + elegante desktop
   ======================== */

:root {
  --color-bg: #111;
  --color-light: #FDF8F3;
  --color-accent: #C9B4A5;
  --font-main: "PP Glare Sans", sans-serif;
}

.hh-header {
  background: var(--color-bg);
  color: white;
  font-family: var(--font-main);
  height: 104px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom:10%;
}

.hh-topbar-access {
  background: var(--color-light);
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 40px;
}

.hh-access-inner {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.hh-access-left {
  flex: 1;
}

.hh-access-right {
  display: flex;
  gap: 30px;
  align-items: center;
}

.hh-access-link {
  color: var(--color-bg);
  text-decoration: none;
  font-size: 14px;
  font-family: var(--font-main);
  font-weight: 400;
}

.hh-access-link:hover {
  text-decoration: underline;
}

.hh-topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 20px 40px;
  position: relative;
}

.hh-left { justify-self: start; }
.hh-center { justify-self: center; }
.hh-right { justify-self: end; position: relative; }

.hh-logo-img {
  height: 40px;
  display: block;
  width: 100%;
}

.sub-arrow {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 6px;
  vertical-align: middle;
  fill: currentColor;
}

.hh-menu {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.hh-menu a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  position: relative;
}

.hh-menu .has-submenu {
  position: relative;
}

.hh-menu .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-bg);
  padding: 10px 0;
  list-style: none;
  z-index: 999;
}

.hh-right .lang-switcher .submenu {
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  background-color: var(--color-bg);
  padding: 10px 0;
  min-width: 120px;
}

.hh-right .lang-switcher .submenu a {
  color: white !important;
  text-decoration: none !important;
  display: block;
  padding: 5px 20px;
  white-space: nowrap;
}

.hh-right .lang-switcher .submenu a:hover {
  opacity: 0.8;
}

.hh-lang, .lang-wrapper {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  font-size:16px;
}

.hh-lang-btn {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
}

.hh-lang-dropdown, .lang-wrapper .submenu, .hh-right .lang-switcher .submenu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background: var(--color-bg);
  list-style: none;
  padding: 10px 0;
  z-index: 9999;
  min-width: 120px;
}

.has-submenu.lang-switcher a {
    color: white !important;
    text-decoration: none;
}

ul.hh-footer-menu a {
    color: white;
    text-decoration: none;
}

.hh-topbar.hh-mobile {
  background: var(--color-bg);
  padding: 15px 20px;
}

.hh-mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
}

.hh-mobile-logo {
  flex-shrink: 1;
  max-width: 70%;
  overflow: hidden;
}

.hh-menu-toggle {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 400;
  background: none;
  border: none;
  color: white;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  line-height: 1;
  text-decoration: none;
}

.menu-section .section-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: block;
}

.hh-topbar.hh-mobile > * {
  min-width: 0;
}

.section-links {
  display: flex
  ;
  gap: 10px;
}

.section-links a {
  font-size: 18px!important;
  font-weight: 300;
  color: white;
  text-decoration: none;
}

.section-links a:hover {
  text-decoration: underline;
}

.hh-lang:hover .hh-lang-dropdown,
.lang-wrapper:hover .submenu,
.hh-right .lang-switcher:hover .submenu {
  display: block;
}

.hh-lang-dropdown a,
.lang-wrapper .submenu a,
.hh-right .lang-switcher .submenu a {
  color: white;
  text-decoration: none;
  display: block;
  padding: 5px 20px;
  white-space: nowrap;
}

.hh-footer {
  background-color: var(--color-bg);
  color: var(--color-light);
  font-family: var(--font-main);
  padding: 40px;
  margin-top: 20%;
  border-radius: 40px 40px 0 0;
  width: 100%;
  box-sizing: border-box;
}

.hh-footer-inner {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 160px;
}

.hh-footer-center { gap: 8px; }
.hh-footer-left { flex: 1 1 160px; text-align: center; }

.hh-footer-menu {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 8px;
  font-family: var(--font-main);
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
}

.hh-footer-hotels p { margin: 0 0 10px; }

.elementor-button-icon {
  display: inline-block;
  margin-left: 6px;
  vertical-align: middle;
}

.hh-footer-contact, .hh-footer-hotels {
  flex: 1 1 220px;
}

.hh-footer-contact p, .hh-footer-contact ul {
  margin: 0 0 12px;
  font-size:16px;
}

.hh-footer-contact ul {
  list-style: none;
  padding: 0;
}

.hh-footer-social {
  display: flex;
  gap: 18px;
  margin-top: 16px;
  justify-content: center;
}

/* Mostrar submenú en escritorio con hover */
.hh-desktop .has-submenu:hover > .submenu {
  display: block;
  position: absolute;
  right: 0;
  top: 100%;
  background: var(--color-bg);
  list-style: none;
  padding: 10px 0;
  z-index: 9999;
  min-width: 120px;
}

.hh-desktop .has-submenu:hover > .submenu li {
    padding: 10px;
}

.hh-footer-social a {
  color: var(--color-light);
  font-size: 22px;
  transition: opacity 0.2s;
}

.hh-footer-social a:hover {
  opacity: 0.7;
}

.hh-footer-logo {
  text-align: center;
  margin-top: 140px;
}

.hh-footer-logo img {
  width: 100%;
}

.hotel-block {
  margin-bottom: 20px;
}

.hotel-block strong, .hh-footer-contact strong {
  color: var(--color-accent);
  display: block;
  font-family: var(--font-main);
  font-weight: 400;
  font-size:16px;
  margin-bottom: 4px;
}

.hotel-block a {
  display: block;
  color: white;
  text-decoration: none;
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 4px;
}

/* ============ RESPONSIVE MAGIC ============ */
@media (max-width: 1024px) {
  .hh-footer-inner {
	flex-direction: column;
	gap: 60px;
	align-items: center;
  }

  .hh-footer-left,
  .hh-footer-center,
  .hh-footer-hotels,
  .hh-footer-contact {
	flex: 1 1 auto;
	text-align: center;
  }

  .hh-footer-menu {
	display: block;
	text-align: center;
  }

  .hotel-block strong,
  .hotel-block a {
	text-align: center;
  }

  .hh-footer-hotels {
	display: flex;
	flex-direction: column;
	gap: 30px;
  }

  .hh-footer-social {
	justify-content: center;
  }

  .hh-footer-logo {
	margin-top: 80px;
  }

  .hh-menu {
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
  }

  .hh-topbar {
	grid-template-columns: 1fr;
	text-align: center;
  }

  .hh-topbar-access {
	justify-content: center;
  }

  .hh-logo-img {
	margin: auto;
  }
}

/* Añade esto al final de tu CSS */
.hh-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #1C1A1A;
  color: white;
  z-index: 9999;
  padding: 40px 20px;
  display: none;
  flex-direction: column;
  font-family: var(--font-main);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.hh-mobile-menu.open {
  display: flex;
  transform: translateX(0);
}

.hh-mobile-nav {
  list-style: none;
  padding: 40px 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hh-mobile-nav a {
  color: white;
  font-size: 22px;
  text-decoration: none;
  display: block;
  padding: 10px 0;
}

.hh-mobile-nav .submenu {
  list-style: none;
  padding-left: 20px;
  margin-top: 10px;
  display: none;
}

.hh-mobile-nav .has-submenu.open > .submenu {
  display: block;
}

.menu-divider {
  color: var(--color-accent);
  font-weight: bold;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hh-menu-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hamburger-icon {
  font-size: 24px;
}

.hh-close-menu {
  position: absolute;
  top: 20px;
  right: 50px;
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  z-index: 10000;
}

/* Ocultar desktop en móvil */
@media (max-width: 768px) {
  .hh-desktop {
	display: none;
  }
  
  .hh-footer-logo img {
	  width: 200px;
  }
  
  .hh-mobile {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 20px;
  }
  .hh-footer {
    margin-top: 95%;
  }
}

/* Mostrar desktop en pantallas grandes */
@media (min-width: 769px) {
  .hh-mobile {
	display: none;
  }
  .hh-logo-img {
    width: 100%;
  }
}
