/* ===============================
   SITE-WIDE STYLES – style.css
   =============================== */
html, body {
  height: 100%;
}


/* Variables globales */
:root {
  --color-principal: #1d2a36;
  --color-acento: #e2ddc7;
  --color-texto: #333;
  --fondo: #f9f9f9;
  --radio: 10px;
  --fuente-base: 'Segoe UI', sans-serif;
}

/* Reset base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: var(--fuente-base);
  background-color: var(--fondo);
  color: var(--color-texto);
  scroll-behavior: smooth;
}

/* NAVBAR */
.navbar {
  background-color: var(--color-principal);
  padding: 1rem 2rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  z-index: 2;
}

.navbar a {
  color: white;
  text-decoration: none;
  margin-left: 2rem;
  font-weight: bold;
  letter-spacing: 1px;
  transition: color 0.3s;
}

.navbar a:hover {
  color: #e0e0e0;
}

.navbar-buttons {
  display: flex;
  gap: 1rem;
}

.navbar-buttons a {
  background-color: var(--color-acento);
  padding: 0.5rem 1rem;
  border-radius: var(--radio);
  color: rgb(68, 68, 68);
  text-decoration: none;
  transition: background-color 0.3s;
}

.navbar-buttons a:hover {
  background-color: #aa958c;
}

/* HERO */
/* HERO */
.hero-banner {
  position: relative;
  background: url('../img/arch.png') center center / cover no-repeat;
  height: calc(100vh - 53px); /* 100% del viewport menos el navbar */
  display: flex;
  justify-content: center;
  align-items: center;
}


.hero-logo {
  position: absolute;
  top: 30%;
  transform: translateY(-50%);
  z-index: 1;
  text-align: center;
}

.hero-logo img {
  max-width: 250px;
}

/* FOOTER */
footer {
  padding: 2rem 1rem;
  text-align: center;
  background-color: #f3f3f3;
  color: #555;
  font-size: 0.9rem;
}

footer a {
  color: var(--color-principal);
  text-decoration: none;
}

/* BOTONES */
.btn {
  background-color: var(--color-principal);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radio);
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: inline-block;
  text-align: center;
  text-decoration: none;
}

.btn:hover {
  background-color: #2c3e50;
}

/* UTILITARIOS */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 2rem 1rem;
}

.section-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--color-principal);
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
  }

  .navbar a {
    margin: 0;
  }

  .hero-logo img {
    max-width: 180px;
  }

  ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

li {
  padding: 0.5rem 0;
  border-bottom: 1px dashed #ccc;
  font-size: 1rem;
}


}

/* REEMPLAZA card-grid por una fila flexible tipo Bootstrap */
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0 -0.5rem;
}

.col {
  flex: 1 1 calc(33.333% - 1rem); /* 3 columnas */
  max-width: calc(33.333% - 1rem);
  padding: 0.5rem;
  box-sizing: border-box;
}

/* Responsivo como col-md-6 y col-sm-12 en Bootstrap */
@media (max-width: 768px) {
  .col {
    flex: 1 1 calc(50% - 1rem);
    max-width: calc(50% - 1rem);
  }
}

@media (max-width: 480px) {
  .col {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* Tarjeta individual */
.hotel-card {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: var(--radio);
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
  height: 100%;
}

.hotel-card:hover {
  transform: scale(1.02);
}

.hotel-name {
  font-size: 1rem;
  font-weight: bold;
  color: var(--color-principal);
  margin-bottom: 0.5rem;
}

.hotel-tarifa {
  font-size: 2rem;
  color: #adadac;
}

.section-description {
  font-size: 2.1rem;
  color: #666;
  margin-bottom: 2rem;
  text-align: center;
}

.zone-section {
  background-image: url('../img/logo-dark.png'); /* Ruta a tu imagen */
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: 330px auto; /* Puedes ajustar el tamaño aquí */
  padding: 6cqmin 2rem;
  position: relative;
}

.zone-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
}

.zone-section .section-title,
.zone-section .hotel-name,
.zone-section .hotel-tarifa,
.zone-section ul,
.zone-section li {
  position: relative;
  z-index: 2; /* Para que se vea encima del fondo */
}

.founder-section {
  padding: 2rem;
}

.founder-section h2 {
  color: #88553F;
  text-align: center;
  margin-bottom: 1.5rem;
}

.founder-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.founder-text {
  flex: 1 1 50%;
  max-width: 600px;
  align-self: center;
}

.founder-image-container {
  flex: 1 1 40%;
  text-align: right;
}

.founder-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.founder-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #222222;
  margin-top: 1rem;
  text-align: center;
}

@media (max-width: 768px) {
  .founder-content {
    flex-direction: column;
    text-align: center;
  }

  .founder-image-container {
    text-align: center;
  }
}

/* ===== Galería ===== */
.gallery-section { margin-top: 4rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  grid-column: span 12;
  overflow: hidden;
  border-radius: 14px;
  background: #0b0b0b;
  aspect-ratio: 3 / 2; /* mantiene proporción */
  display: block;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  display: block;
}
.gallery-item::after {
  /* overlay suave */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.4));
  pointer-events: none;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-caption {
  position: absolute;
  left: 12px;
  bottom: 10px;
  color: #fff;
  font-size: .95rem;
  letter-spacing: .02em;
  text-shadow: 0 1px 2px rgba(0,0,0,.5);
}

/* responsive */
@media (min-width: 640px) { .gallery-item { grid-column: span 6; } }
@media (min-width: 1024px) { .gallery-item { grid-column: span 4; } }

/* ===== Lightbox ===== */
.lightbox[hidden] { display: none !important; }
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.8);
  display: grid;
  place-items: center;
  z-index: 9999;
  padding: 24px;
}
.lightbox-figure {
  margin: 0;
  max-width: min(1200px, 95vw);
  max-height: 90vh;
  display: grid;
  gap: 10px;
}
#lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 10px;
  background: #000;
}
#lightbox-caption {
  color: #fff;
  text-align: center;
  font-size: .95rem;
  line-height: 1.4;
}
.lightbox-close {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,.22); }


