body.light-mode {
  --background-main: #f7f6f3;
  --background-secondary: #eceae4;
  --background-card: #ffffff;
  --text-main: #222;
  --text-secondary: #555;
  --accent-gold: #bfa14a;
  --accent-gold-dark: #a87220;
}

.logo {
  display: flex;
  align-items: center;
  height: 60px;

}

/* Estilos exclusivos para index.html */
.hero {
  position: relative;
  background: url('/img/DSC_0183_1.jpg') center/cover no-repeat;
  height: 90vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.hero img {
  display: block;
  width: 100%;
  height: auto;
}
.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(30, 30, 30, 0.873) 60%, rgba(30,30,30,0.25) 100%);
  pointer-events: none;
  z-index: 2;
}
.hero > *:not(img) {
  position: relative;
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 2;
  border-radius: 24px;
  max-width: 600px;
  color: #fff;
}
.hero-content h1 {
  font-size: 3.8rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--accent-gold);
  text-shadow: 0 6px 24px rgba(0,0,0,0.55), 0 2px 8px #c9a227;
  margin-bottom: 18px;
  letter-spacing: 2px;
}
.hero-content h4 {
  font-size: 1.6rem;
  font-family: 'Poppins', sans-serif;
  color: var(--accent-gold-dark);
  margin-bottom: 32px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.35), 0 1px 4px #a87220;
}
.booking-form {
    top: 142px;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.85);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(201,162,39,0.18);
  padding: 28px 36px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  z-index: 3;
  background: var(--background-card);
  color: var(--text-main);
}
.booking-form {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  background: var(--background-card);
  color: var(--text-main);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(201,162,39,0.18);
  padding: 0px 0px;
  z-index: 3;
  max-width: 700px;
  margin-top: -60px;
  margin-right: auto;
  margin-left: auto;
}
.booking-form input,
.booking-form select,
.booking-form button {
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
}
.booking-form button {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}
.booking-form button:hover {
  background: linear-gradient(135deg, var(--accent-gold-dark), var(--accent-gold));
  transform: scale(1.05);
}
@media (max-width: 700px) {
  .hero-content {
    padding: 30px 10px 20px 10px;
    max-width: 95vw;
  }
  .booking-form {
    padding: 18px 10px;
    gap: 10px;
  }
  .hero {
    min-height: 400px;
    height: 70vh;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-content h4 {
    font-size: 1.1rem;
  }
}
@media (max-width: 900px) {
  .hero {
    min-height: 400px;
    height: 70vh;
    padding: 0 10px;
  }
  .hero-content {
    max-width: 95vw;
    padding: 24px 8px 16px 8px;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-content h4 {
    font-size: 1.1rem;
  }
  .booking-form {
    padding: 18px 10px;
    gap: 10px;
    max-width: 98vw;
    left: 50%;
    transform: translateX(-50%);
  }
}
@media (max-width: 600px) {
  .hero {
    min-height: 320px;
    height: 55vh;
    padding: 0 4px;
  }
  .hero-content {
    max-width: 99vw;
    padding: 16px 2px 10px 2px;
  }
  .hero-content h1 {
    font-size: 1.3rem;
  }
  .hero-content h4 {
    font-size: 0.9rem;
  }
  .booking-form {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 4px;
    gap: 8px;
    max-width: 99vw;
    left: 50%;
    transform: translateX(-50%);
  }
  .booking-form input,
  .booking-form select,
  .booking-form button {
    font-size: 0.95rem;
    padding: 8px;
    width: 100%;
    box-sizing: border-box;
  }
}
.explore-btn {
  margin-top: 30px;
  padding: 12px 25px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
  color: var(--text-main);
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
  opacity: 0;
  transform: scale(0.8);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.6s;
}
.explore-btn:hover {
  background: var(--background-secondary);
}
.booking-form {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  padding: 25px 30px;
  border-radius: 15px;
  position: absolute;
  bottom: 0px;
  left: 27%;
  transform: translateX(-50%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.booking-form input,
.booking-form select,
.booking-form button {
  padding: 10px;
  border: none;
  border-radius: 5px;
}

.facility-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 30px;
  max-width: 1100px;
  margin: 40px auto;
}

.facility-container > .facility-text,
.facility-container > .min-h-screen {
  flex: 1 1 0;
  min-width: 0;
}

.facility-container.reverse {
  flex-direction: row-reverse;
}

@media (max-width: 900px) {
  .facility-container,
  .facility-container.reverse {
    flex-direction: column !important;
    gap: 30px;
  }
}
.card-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 350px;
  height: 450px;
  margin: 0;
  animation: slideIn 0.6s ease-out;
}
.background-frame {
    position: absolute;
    top: 63px;
    left: 60px;
    width: 292px;
    height: 370px;
    background: linear-gradient(135deg, #000000 0%, #000000 100%);
    border: 5px solid #c2a679;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.05);
    z-index: 1;
}
.background-frame-inner {
    position: absolute;
    top: 68px;
    left: 76px;
    width: 304px;
    height: 354px;
    background: linear-gradient(135deg, #000000 0%, #000000 100%);
    border: 4px solid #c2a679;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.05);
    z-index: 2;
}
.tilted-image {
  position: absolute;
  top: 40px;
  left: 35px;
  width: 300px;
  height: 380px;
  transform: perspective(1000px) rotateY(-15deg);
  transform-origin: left center;
  z-index: 3;
  transition: transform 0.3s ease;
  border-radius: 0;
}
.tilted-image:hover {
  transform: perspective(1000px) rotateY(-10deg) scale(1.02);
}
.image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 8px 15px rgba(0, 0, 0, 0.1);
}
.image-frame {
  position: relative;
  border: 4px solid #c9a227;
  padding: 6px;
  display: inline-block;
}
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}
.facility-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: #111;
  color: #c9a227;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border-left: 4px solid #c9a227;
  border-radius: 6px;
}
.facility-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
  flex: 1;
  color: #fff;
  padding-left: 80px;
  color: var(--text-main);
}
/* Card 1 y 3: Imagen más a la derecha */
.facility-container:nth-of-type(1) .tilted-image,
.facility-container:nth-of-type(3) .tilted-image {
  left: 80px;
}
/* Card 2 y 4: Imagen más a la derecha */
.facility-container:nth-of-type(2) .tilted-image,
.facility-container:nth-of-type(4) .tilted-image {
  left: 80px;
}
.facility-subtitle {
  font-size: 2.5rem;
  font-weight: 600;
  color: #c9a227;
  text-shadow: 0 1px 4px rgba(0,0,0,0.12);
  margin-bottom: 2px;
  color: var(--accent-gold);
}
.facility-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #a87220;
  text-shadow: 0 2px 8px rgba(0,0,0,0.18);
  color: var(--accent-gold-dark);
}
.facility-text p {
  font-size: 1rem;
  color: #bbb;
  margin-bottom: 30px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.facility-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 14px;
  row-gap: 8px;
  align-items: start;
}
.facility-list li.amenity {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 4px 0;
  cursor: default;
}
.facility-list li .icon {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #c9a227;
  background: rgba(201,162,39,0.10);
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(201,162,39,0.15);
  font-size: 15px;
}
.facility-list li.amenity::after {
  content: attr(data-tip);
  position: absolute;
  top: 50%;
  left: calc(50% + 22px);
  transform: translate(10px, -50%);
  background: rgba(0,0,0,0.9);
  color: #fff;
  font-size: 0.85rem;
  line-height: 1.25;
  letter-spacing: .2px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
  white-space: normal;
  max-width: 220px;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease .12s, transform .22s ease .12s;
  z-index: 30;
}
.facility-list li.amenity::before {
  content: '';
  position: absolute;
  top: 50%;
  left: calc(50% + 22px);
  width: 10px;
  height: 10px;
  background: rgba(0,0,0,0.9);
  transform: translate(1px, -50%) rotate(45deg);
  opacity: 0;
  transition: opacity .22s ease .12s;
  z-index: 25;
  border-radius: 2px;
}
.facility-list li.amenity:hover::after {
  opacity: 1;
  transform: translate(0, -50%);
}
.facility-list li.amenity:hover::before {
  opacity: 1;
}
@media (max-width: 700px) {
  .facility-list { grid-template-columns: 1fr; }
}
.facility-manager {
  display: flex;
  align-items: center;
  gap: 15px;
}
.facility-manager img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #c9a227;
}
.signature {
  margin-left: 0;
  margin-right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Dancing Script', cursive;
  font-size: 1.3rem;
  color: #fff;
  background: linear-gradient(135deg, #c9a227, #a87220);
  padding: 10px 32px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.18);
  border: none;
  transition: background 0.3s, transform 0.2s;
  cursor: pointer;
}
.signature:hover {
  background: linear-gradient(135deg, #a87220, #c9a227);
  transform: scale(1.07);
}
.signature:active {
  background: linear-gradient(135deg, #8a5c13, #c9a227);
  transform: scale(0.97);
}
.rooms {
  padding: 50px 20px;
  text-align: center;
}
.slider-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}
.slider {
  display: flex;
  transition: transform 0.8s ease-in-out;
  will-change: transform;
  gap: 20px;
}
.room-card {
  flex: 0 0 calc((100% / 3) - (20px * 2 / 3));
  border-radius: 12px;
  overflow: hidden;
  height: 220px;
  width: 100%;
  max-width: 320px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
  margin: 0 auto;
}
.room-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #c9a227, #a87220);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  z-index: 10;
  transition: background 0.3s, transform 0.2s;
}
.slider-btn-left {
  left: 10px;
}
.slider-btn-right {
  right: 10px;
}
.slider-btn:hover {
  background: linear-gradient(135deg, #a87220, #c9a227);
  transform: scale(1.08);
}
@media (max-width: 900px) {
  .room-card {
    flex: 0 0 48%;
    height: 180px;
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  .room-card {
    flex: 0 0 100%;
    height: 140px;
    max-width: 100%;
  }
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.facility-list {
  list-style: none;
  padding-left: 0;
}
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.show {
  opacity: 1;
  transform: translateY(0);
}
body.light-mode .footer, body.light-mode .footer * {
  color: #222 !important;
}
