@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&family=Italiana&display=swap");
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Italiana&display=swap");

/* ==========================
RESET
========================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;

  background: #ffffff;

  color: #222;

  overflow-x: hidden;

  overflow-y: auto;
}

/* ==========================
SECCIONES
========================== */

.panel {
  position: sticky;

  top: 0;

  width: 100%;

  min-height: 100svh;

  display: flex;

  justify-content: center;

  align-items: center;

  overflow: hidden;
}

/*======================================================
HERO
======================================================*/

#hero {
  position: sticky;

  top: 0;

  min-height: 120svh;

  background: url("../img/hero.webp") center center / cover no-repeat;
}

.hero-overlay {
  position: absolute;

  inset: 0;

  background: linear-gradient(
    rgba(0, 0, 0, 0.664),
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.849)
  );
}

.hero-content {
  position: relative;

  z-index: 2;

  width: calc(100% - 40px);

  max-width: 460px;

  color: #fff;

  text-align: center;

  margin: 0 auto;
}

.hero-logo {
  position: absolute;

  top: 25px;

  left: 50%;

  transform: translateX(-50%);

  z-index: 3;

  display: block;
}

.hero-logo img {
  width: 140px;

  height: auto;

  transition: 0.35s ease;

  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.35));
}

.hero-logo:hover img {
  transform: scale(1.06);
}

.hero-title {
  font-family: "Italiana", serif;

  font-size: 46px;

  line-height: 1.1;

  font-weight: 400;

  margin-bottom: 28px;
}

.hero-subtitle {
  font-size: 20px;

  line-height: 1.7;

  opacity: 0.95;
}

.hero-scroll {
  margin-top: 70px;

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 18px;
}

.hero-scroll span {
  font-family: "Inter", sans-serif;

  font-size: 14px;

  letter-spacing: 0.6px;

  opacity: 0.85;
}

/*=====================================
GALERIA
=====================================*/

#galeria {
  position: sticky;
  top: 0;

  width: 100%;
  height: 100svh;
  min-height: 100svh;

  background: #111;
  color: white;

  overflow: hidden;

  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-container {
  width: 100%;
  max-width: 100%;
  text-align: center;

  padding-top: 15px;
  padding-bottom: 15px;
}

.gallery-title {
  font-family: "Italiana", serif;
  font-size: 34px;
  margin-bottom: 5px;
}

/*=====================================
EMBLA
=====================================*/

.embla {
  width: 100%;

  overflow: hidden;
}

.embla__container {
  display: flex;

  align-items: center;
}

/*=====================================
SLIDES
=====================================*/

.embla__slide {
  flex: 0 0 380px;

  width: 380px;

  padding: 0 10px;

  display: flex;

  justify-content: center;

  align-items: center;

  opacity: 0.8;

  transition: opacity 0.5s ease;
}

/*=====================================
TARJETA
=====================================*/

.gallery-card {
  width: 100%;

  aspect-ratio: 4 / 5;

  overflow: hidden;

  border-radius: 24px;

  transform: scale(0.82);

  transition: transform 0.5s ease;

  background: #181818;
}

/*=====================================
IMAGEN
=====================================*/

.gallery-card img {
  display: block;

  width: 100%;

  height: 100%;

  object-fit: cover;
}

/*=====================================
SLIDE ACTIVO
=====================================*/

.embla__slide.is-selected {
  opacity: 1;
}

.embla__slide.is-selected .gallery-card {
  transform: scale(1);
}

/*=====================================
INFORMACION
=====================================*/

.gallery-info {
  margin-top: 5px;
  min-height: 65px;
}

.gallery-info h3 {
  font-family: "Inter", sans-serif;

  font-weight: 400;

  font-size: 24px;

  letter-spacing: 2px;
}

.gallery-info p {
  font-family: "Inter", sans-serif;
  margin-top: 8px;
  font-size: 16px;
  opacity: 0.8;
}

/*=====================================
DOTS
=====================================*/

.gallery-dots {
  margin-top: 15px;

  display: flex;

  justify-content: center;

  gap: 8px;
}

.dot {
  width: 8px;

  height: 8px;

  background: #777;

  border-radius: 50%;
}

.dot.active {
  background: white;
}

/*========================================
INFORMACION PARA RESERVAR
========================================*/

#informacion {
  position: relative;

  min-height: 100svh;

  background: url("../img/info.jpeg") center center / cover no-repeat;

  color: white;

  display: flex;

  justify-content: center;

  align-items: flex-start;

  padding: 70px 20px;

  z-index: 3;

  overflow: hidden;
}

/* CAPA OSCURA SOBRE LA IMAGEN */

#informacion::before {
  content: "";

  position: absolute;

  inset: 0;

  background: rgba(0, 0, 0, 0.65);

  z-index: 0;
}

#informacion .info-container {
  position: relative;

  z-index: 1;
}

.info-container {
  width: 100%;

  max-width: 520px;

  text-align: center;

  margin: 0 auto;
}

.info-title {
  font-family: "Italiana", serif;

  font-size: 34px;

  font-weight: 600;

  letter-spacing: 0.5px;

  margin-bottom: 15px;
}

.info-subtitle {
  font-family: "Inter", sans-serif;

  font-size: 16px;

  line-height: 1.6;

  color: rgba(255, 255, 255, 0.75);

  margin-bottom: 35px;
}

/* CONTENEDOR TARJETAS */

.info-cards {
  display: flex;

  flex-direction: column;

  gap: 22px;
}

/* TARJETAS */

.info-card {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.03)
  );

  border: 1px solid rgba(255, 255, 255, 0.12);

  border-radius: 26px;

  padding: 25px 22px;

  text-align: center;

  backdrop-filter: blur(12px);

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.info-card:hover {
  transform: translateY(-6px);

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
}

/* ICONOS */

.info-icon {
  width: 65px;

  height: 65px;

  margin: 0 auto 20px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.08);

  font-size: 27px;

  color: #e1be95;
}

.info-icon i {
  line-height: 1;
}

.info-card h3 {
  font-family: "Italiana", sans-serif;

  font-size: 21px;

  letter-spacing: 1.2px;

  font-weight: 600;

  margin-bottom: 15px;
}

.info-card p {
  font-family: "Inter", sans-serif;

  font-size: 15px;

  line-height: 1.7;

  color: rgba(255, 255, 255, 0.8);
}

/* LISTAS */

.info-card ul {
  list-style: none;

  padding: 0;

  margin: 0;

  text-align: left;
}

.info-card li {
  position: relative;

  padding-left: 22px;

  margin-bottom: 12px;

  font-size: 15px;

  line-height: 1.5;

  color: rgba(255, 255, 255, 0.8);
}

.info-card li::before {
  content: "";

  width: 7px;

  height: 7px;

  background: #e1be95;

  border-radius: 50%;

  position: absolute;

  left: 0;

  top: 8px;
}

/* TARJETA IMPORTANTE */

.info-important {
  border-color: rgba(216, 179, 106, 0.35);

  background: linear-gradient(
    145deg,
    rgba(216, 179, 106, 0.12),
    rgba(255, 255, 255, 0.03)
  );
}

/*========================================
EXCEPCION INFORMACION
========================================*/

#informacion.panel {
  position: relative;

  height: auto;

  min-height: 100svh;

  overflow: hidden;

  display: block;

  padding-top: 70px;

  padding-bottom: 70px;
}

/*========================================*
CALENDARIO
*========================================*/

#calendario {
  position: sticky;
  top: 0;
  background: #111;

  color: #fff;

  display: flex;

  justify-content: center;

  align-items: center;

  padding: 60px 20px;
  z-index: 4;
}

.calendar-container {
  width: 100%;

  max-width: 520px;

  margin: 0 auto;

  text-align: center;
}

.calendar-title {
  font-family: "Italiana", sans-serif;

  font-size: 34px;

  font-weight: 600;

  margin-bottom: 15px;

  letter-spacing: 0.5px;
}

.calendar-subtitle {
  font-family: "Inter", sans-serif;

  font-size: 16px;

  line-height: 1.6;

  color: rgba(255, 255, 255, 0.75);

  margin-bottom: 40px;
}

.calendar-admin {
  display: inline-flex;

  align-items: center;

  gap: 10px;

  margin: 20px 0;

  padding: 10px 18px;

  border-radius: 30px;

  background: #558b80;

  color: white;

  font-size: 14px;

  font-weight: 600;
}

.calendar-admin i {
  color: #e1be95;
}

.logout-admin {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  margin-left: 15px;

  padding: 8px 14px;

  border-radius: 20px;

  background: rgba(255, 255, 255, 0.12);

  color: white;

  text-decoration: none;

  font-size: 13px;

  transition: 0.25s ease;
}

.logout-admin:hover {
  background: #d8b36a;

  color: #111;
}

/*========================================
NAVEGACION
========================================*/

.calendar-nav {
  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-bottom: 30px;
}

.calendar-nav h3 {
  font-family: "Inter", sans-serif;

  font-size: 24px;

  font-weight: 600;

  letter-spacing: 1px;
}

.calendar-arrow {
  width: 46px;

  height: 46px;

  border: none;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.08);

  color: #fff;

  cursor: pointer;

  transition: 0.25s;
}

.calendar-arrow:hover {
  background: #e1be95;

  color: #111;

  transform: scale(1.08);
}

/*========================================
DIAS SEMANA
========================================*/

.calendar-weekdays {
  display: grid;

  grid-template-columns: repeat(7, 1fr);

  margin-bottom: 18px;
}

.calendar-weekdays span {
  font-size: 14px;

  font-weight: 600;

  color: #e1be95;
}

/*========================================
GRILLA
========================================*/

.calendar-grid {
  display: grid;

  grid-template-columns: repeat(7, 1fr);

  gap: 10px;
}

/*========================================
DIAS
========================================*/

.day {
  width: 48px;

  height: 48px;

  margin: auto;

  border: none;

  border-radius: 50%;

  font-size: 15px;

  font-weight: 600;

  transition: 0.25s;
}

/* Disponible */

.day.available {
  background: rgba(255, 255, 255, 0.08);

  border: 1px solid rgba(255, 255, 255, 0.18);

  color: #fff;

  cursor: pointer;
}

.day.available:hover {
  background: #e1be95;

  color: #111;

  border-color: #e1be95;
  transform: scale(1.08);

  box-shadow: 0 0 18px rgba(255, 255, 255, 0.3);
}

/* Reservado */

.day.reserved {
  background: #d93b3b;

  color: #fff;

  cursor: not-allowed;
}

/* Dias vacios */

.day.empty {
  visibility: hidden;
}

/*========================================
LEYENDA
========================================*/

.calendar-legend {
  display: flex;

  justify-content: center;

  gap: 30px;

  margin-top: 35px;
}

.legend-item {
  display: flex;

  align-items: center;

  gap: 10px;

  font-size: 15px;
}

.legend {
  width: 14px;

  height: 14px;

  border-radius: 50%;
}

.legend.available {
  background: #fff;
}

.legend.reserved {
  background: #d93b3b;
}

/*========================================
FOOTER / FIRMA
========================================*/

.site-footer {
  width: 100%;

  margin-top: 15px;

  padding: 0 0 10px;

  text-align: center;

  color: rgba(255, 255, 255, 0.65);
}

.footer-line {
  width: 100%;

  height: 1px;

  margin: 0 auto 22px;

  background: rgba(255, 255, 255, 0.12);
}

.footer-content {
  display: flex;

  align-items: center;

  justify-content: center;

  flex-wrap: wrap;

  gap: 7px;

  font-family: "Inter", sans-serif;

  font-size: 12px;

  line-height: 1;
}

.footer-logo {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 1px 2px;

  text-decoration: none;

  transition: 0.3s ease;
}

.footer-logo img {
  display: block;

  width: 55px;

  height: auto;

  opacity: 0.75;

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.footer-logo:hover img {
  opacity: 1;

  transform: scale(1.06);
}