@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700&family=Cinzel:wght@400;600;700&family=IM+Fell+English:ital@0;1&display=swap');

:root {
  /* Paleta Siglo de Oro / Carta Cervantina */
  --bg-main: #fcf5e4;           /* Amarillo ocre suave estilo pergamino */
  --text-main: #861802;         /* Terracota / Teja profundo para textos principales */
  --text-muted: #A04A38;        /* Terracota suave para detalles secundarios */
  --border-color: #8C311E;      /* Borde terracota para enmarcar */
  
  /* Fuentes Cervantinas */
  --font-title: 'Cinzel', serif;
  --font-decorative: 'Cinzel Decorative', serif;
  --font-body: 'IM Fell English', serif;
}

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

html { 
  scroll-behavior: smooth; 
}

body {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.8;
  text-align: center;
  margin: 0;
  background-color: var(--bg-main);
  color: var(--text-main);
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-main);
}

p {
  font-family: var(--font-body);
}

a { 
  text-decoration: none; 
  color: inherit; 
}

.container { 
  max-width: 1100px; 
  margin: 0 auto; 
  padding: 0 20px; 
}

section { 
  padding: 40px 20px; 
  background-color: var(--bg-main); 
  color: var(--text-main); 
}

.divider {
  border: 0;
  height: 1px;
  background-image: linear-gradient(to right, rgba(124, 40, 24, 0), rgba(55, 9, 0, 0.4), rgba(124, 40, 24, 0));
  margin: 40px auto;
  max-width: 600px;
  width: 80%;
}

/* ==========================================
   SEPARADOR CON IMAGEN DECORATIVA (MÁS DISCRETO)
   ========================================== */
.separador-imagen-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1px auto 0 auto;     /* Espaciado superior mínimo (5px) y 0 abajo */
  width: 100%;
}

.separador-img {
  max-width: 300px;            /* Tamaño más contenido y elegante */
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: sepia(50%) hue-rotate(320deg) contrast(105%); 
}

/* Reducimos también el espaciado superior de las tarjetas que vienen justo después */
#ubicaciones {
  padding-top: 1px;           /* Reduce el espacio que deja la propia sección */
}

/* Ajuste para móviles */
@media (max-width: 768px) {
  .separador-img {
    max-width: 170px;
  }
  .separador-imagen-container {
    margin: 5px auto 0 auto;
  }
  
} 

.section-title {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 20px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* ==========================================
   HERO / CABECERA
   ========================================== */
.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  background-image: url("img/pareja-cogidos-mano.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding: 0;
}

.hero-overlay {
  position: absolute;
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%;
  background-color: rgba(49, 26, 26, 0.5);
  z-index: 1;
}

.hero-content { 
  position: relative; 
  z-index: 2; 
  max-width: 900px; 
  padding: 0 20px; 
}

.hero-title {
  font-family: var(--font-decorative);
  font-size: 4.5rem;
  font-weight: 700;
  color: #F3E9D2;
  margin-bottom: 15px;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-title .ampersand-hero {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 5rem;
  color: #F3E9D2;
  text-transform: lowercase;
  line-height: 1;
}

.nos-casamos {
  font-family: var(--font-title);
  font-size: 1.8rem;
  letter-spacing: 6px;
  color: #F3E9D2;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8);
  margin-top: 10px;
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #F3E9D2;
  font-size: 1.8rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -10px); }
  60% { transform: translate(-50%, -5px); }
}

/* ==========================================
   SECCIÓN FECHA & DESCRIPCIÓN
   ========================================== */
.date-section { 
  font-size: 2.1rem; 
  line-height: 1.8; 
}

#la-fecha .descripcion,
.descripcion {
  font-family: var(--font-body);
  font-size: 1.4rem;
  color: var(--text-main);
  max-width: 680px;
  margin: 0 auto 20px auto;
  line-height: 1.8;
  text-transform: none;
}

/* ==========================================
   TARJETAS DE UBICACIÓN
   ========================================== */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 50px;
  justify-content: center;
  max-width: 1100px;
  margin: 30px auto 0 auto;
}

.location-card {
  background-color: var(--bg-main);
  border: 2px solid var(--border-color);
  padding: 25px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  position: relative;
  min-height: 420px;
  box-shadow: 0 4px 15px rgba(124, 40, 24, 0.08);
}

.card-title-overlapped {
  position: absolute;
  top: -24px; 
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--bg-main);
  border: none;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  width: max-content;
  max-width: 90%;
}

.card-prefix {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  color: var(--text-main);
  margin-bottom: -2px;
  line-height: 1;
}

.card-main-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 20px;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin: 0;
  line-height: 1.1;
}

.reveal-area {
  position: relative;
  width: 100%;
  height: 100%;
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-grow: 1;
}

.reveal-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-main);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  
}

.illustration-cover {
  max-width: 95%;
  max-height: 260px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: sepia(60%) hue-rotate(320deg) contrast(110%);
}

.click-hint {
  margin-top: 20px;
  background-color: var(--text-main);
  color: var(--bg-main);
  padding: 6px 18px;
  border-radius: 20px;
  font-family: var(--font-title);
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.reveal-area:hover .click-hint {
  transform: scale(1.05);
  background-color: var(--border-color);
}

.card-hidden-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.location-illustration {
  max-width: 320px;
  height: 190px;
  object-fit: contain;
  margin-bottom: 15px;
  filter: sepia(60%) hue-rotate(320deg) contrast(110%);
}

.location-description {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-main);
  letter-spacing: 0.5px;
}

.reveal-area.revealed .reveal-cover {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.reveal-area.revealed .card-hidden-content {
  opacity: 1;
}

/* ==========================================
   TEMPORIZADOR (COUNTDOWN)
   ========================================== */
.countdown-container { 
  display: flex; 
  justify-content: center; 
  gap: 35px; 
  margin-top: 25px; 
}

.time-box {
  background: transparent;
  padding: 0;
  min-width: 60px;
  border: none;
}

.time-box span { 
  display: block; 
}

.time-value {
  font-family: var(--font-title);
  font-size: 3.5rem;
  color: var(--text-main);
  font-weight: 700;
  line-height: 1;
}

.time-label {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 20px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ==========================================
   SECCIÓN "¿Y DÓNDE OS LLEVAMOS?" CON IMAGEN MAPA
   ========================================== */
.detalles-mapa-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.texto-detalles {
  font-family: var(--font-body);
  font-size: 1.3rem;
  color: var(--text-main);
}

.btn-img-mapa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.btn-img-mapa:hover {
  transform: scale(1.15) rotate(4deg);
}

.img-mapa-link {
  width: 42px;
  height: 42px;
  object-fit: scale-down;
  border-radius: 50%;
  filter: sepia(40%);
  transition: filter 0.3s ease, box-shadow 0.3s ease;
}

.btn-img-mapa:hover .img-mapa-link {
  filter: sepia(0%);
  box-shadow: 0 4px 10px rgba(124, 40, 24, 0.4);
}

/* ==========================================
   HOTELES & ALOJAMIENTOS
   ========================================== */
.hotels-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 20px;
  max-width: 1100px;
}

.hotel-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  margin: 0;
  padding: 25px;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  box-shadow: 0 6px 20px rgba(124, 40, 24, 0.08);
  border-radius: 4px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: inherit;
}

.hotel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(124, 40, 24, 0.15);
}

.hotel-info { 
  margin-bottom: 15px; 
}

.hotel-card h3 {
  font-family: var(--font-title);
  margin-bottom: 10px;
  color: var(--text-main);
  font-size: 1.15rem;
}

.hotel-dates {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--text-muted);
}

.leer-mas-details {
  margin-top: 10px;
  text-align: center;
}

.leer-mas-btn {
  font-family: var(--font-title);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  transition: all 0.3s ease;
  user-select: none;
}

.leer-mas-btn::-webkit-details-marker {
  display: none;
}

.leer-mas-btn:hover {
  background-color: var(--text-main);
  color: var(--bg-main);
}

.leer-mas-details[open] .leer-mas-btn {
  margin-bottom: 12px;
  background-color: var(--border-color);
  color: var(--bg-main);
}

.leer-mas-details[open] .leer-mas-btn span::after {
  content: ' ▲';
}

.leer-mas-btn span::after {
  content: ' ▼';
  font-size: 0.65rem;
}

.hotel-texto-detallado {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-main);
  line-height: 1.6;
  text-align: justify;
  text-justify: inter-word;
  padding: 5px 10px 0 10px;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.hotel-map-link {
  display: block;
  text-decoration: none;
}

.hotel-map {
  width: 100%;
  height: 280px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  margin-top: 15px;
  filter: sepia(40%);
  transition: filter 0.3s ease;
  position: relative;
  z-index: 2;
}

.hotel-map:hover { 
  filter: sepia(0%); 
}

/* ==========================================
   ITINERARIO DE BODA Y LISTA DE APAREJOS
   ========================================== */
.itinerary-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.itinerary-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 450px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.itinerary-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto;
  cursor: pointer;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.itinerary-img:hover {
  transform: scale(1.02);
  filter: brightness(0.95);
}

.itinerary-caption {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 10px;
  text-align: center;
}

/* ==========================================
   SECCIÓN NUEVAS AVENTURAS / EXCURSIONES
   ========================================== */
.descripcion-aventuras {
  font-family: var(--font-body);
  font-size: 1.3rem;
  color: var(--text-main);
  max-width: 650px;
  margin: 15px auto 25px auto;
  line-height: 1.8;
}

.aventuras-link-wrapper {
  margin-top: 15px;
}

.aventuras-btn {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-main);
  border: 1.5px solid var(--border-color);
  padding: 12px 28px;
  border-radius: 25px;
  background-color: transparent;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(124, 40, 24, 0.08);
}

.aventuras-btn:hover {
  background-color: var(--text-main);
  color: var(--bg-main);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(124, 40, 24, 0.2);
}

/* ==========================================
   MODAL / OVERLAY LIGHTBOX
   ========================================== */
.modal-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 30, 30, 0.92); /* Fondo gris oscuro neutro */
  backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
  padding: 10px;
  overflow: auto;
}

.modal-content {
  width: auto;
  height: auto;
  max-width: 96vw;
  max-height: 94vh;
  object-fit: contain;
  background-color: var(--bg-main);
  padding: 15px;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  animation: zoomIn 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-close {
  position: fixed;
  top: 15px;
  right: 25px;
  color: #F3E9D2;
  font-size: 3rem;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  transition: transform 0.2s ease, color 0.2s ease;
  z-index: 10000;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.modal-close:hover {
  color: var(--text-muted);
  transform: scale(1.15);
}

@keyframes zoomIn {
  from { transform: scale(0.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}


/* ==========================================
   CARRUSEL PANORÁMICO (4 IMÁGENES & SIN CLIC)
   ========================================== */
.gallery-section-full {
  padding: 40px 0;
  overflow: hidden;
}

.carousel-full-wrapper {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  background-color: var(--bg-main);
}

.carousel-full-track {
  display: flex;
  width: 100%;
  will-change: transform;
}

/* CAMBIO SOLICITADO: Muestra exactamente 4 imágenes (25% cada una) */
.carousel-full-slide {
  flex: 0 0 25%;
  min-width: 25%;
  box-sizing: border-box;
  padding: 0;
}

/* CAMBIO SOLICITADO: Sin cursor de mano y clics desactivados */
.carousel-full-slide img {
  width: 100%;
  aspect-ratio: 1 / 1;          /* <-- Fuerza la proporción cuadrada (1:1) */
  height: auto;                 /* <-- Quitamos el height fijo (320px) para que no deforme */
  object-fit: cover;            /* <-- Recorta la imagen limpiamente sin estirarla */
  display: block;
  cursor: default;
  pointer-events: none;
  filter: grayscale(60%);
  transition: filter 0.3s ease, transform 0.3s ease;
}


.carousel-full-slide img:hover {
  filter: sepia(0%) contrast(100%);
}

.carousel-full-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 3rem;
  width: auto;
  height: auto;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.2s ease, color 0.2s ease;
  padding: 10px;
  
  outline: none;
  user-select: none;
}

.carousel-full-btn:hover {
  
}

.carousel-full-btn.prev { left: 15px; }
.carousel-full-btn.next { right: 15px; }


/* ==========================================
   SECCIÓN IMAGEN BANNER FINAL (FULL-WIDTH CON OVERLAY Y TEXTO CENTRADO)
   ========================================== */
.banner-imagen {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  
  background-image: url("img/imagen-pareja-panoramica.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  
  height: 50vw;
  max-height: 550px;
  min-height: 320px;
  
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 55px;
  margin-top: 20px;
  overflow: hidden;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.181);
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
  text-align: center;
  max-width: 800px;
}

.descripcion-banner {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 2.2rem;
  color: #F3E9D2;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.9);
  margin: 0;
  line-height: 1.5;
  text-align: center;
}

/* CAMBIO SOLICITADO: Zoom en las ilustraciones de La Ceremonia / La Celebración */

.location-illustration {
  max-width: 380px;
  height: 230px;
  object-fit: contain;
  margin-top: 5px;
  margin-bottom: 5px;
  filter: sepia(60%) hue-rotate(320deg) contrast(110%);
}

/* ==========================================
   FOOTER
   ========================================== */
footer { 
  padding: 30px 20px; 
  background-color: var(--bg-main); 
  border-top: none;
  color: var(--text-muted); 
  font-family: var(--font-body);
  font-size: 0.95rem; 
}

.pulse2 {
  display: inline-block;
  color: #a81c00;
  animation: heartbeat 1.2s infinite ease-in-out;
}

@keyframes heartbeat {
  0% { transform: scale(1); }
  14% { transform: scale(1.25); }
  28% { transform: scale(1); }
  42% { transform: scale(1.25); }
  70% { transform: scale(1); }
}

/* ===================================================
   RESPONSIVE MÓVILES (<= 768px)
   =================================================== */
@media (max-width: 768px) {
  
  .section-title { 
    font-size: 1.8rem !important; 
    letter-spacing: 2px !important;
    padding: 0 10px !important;
  }

  .hero-title { 
    font-size: 2.2rem !important; 
    gap: 5px !important; 
    letter-spacing: 2px !important;
  }

  .hero-title .ampersand-hero { 
    font-size: 2.6rem !important; 
  }

  .locations-grid { 
    grid-template-columns: 1fr; 
    gap: 40px;
    margin-top: 35px;
  }
  
  .location-card { 
    padding: 25px 12px 20px 12px !important; 
    min-height: 350px;
  }

  .illustration-cover {
    max-width: 95%;
    max-height: 220px;
  }

  .location-illustration { 
    max-width: 240px; 
    height: 140px; 
  }

  .countdown-container { 
    gap: 10px; 
  }
  
  .time-value { 
    font-size: 2rem !important; 
  }
  
  .time-label {
    font-size: 16px !important;
  }

  .hotels-grid { 
    grid-template-columns: 1fr; 
    gap: 20px;
  }

  .hotel-map { 
    height: 220px; 
  }

  .itinerary-grid {
    flex-direction: column;
    align-items: center;
  }

  .banner-imagen {
    height: 65vw;
    min-height: 260px;
    padding-top: 30px;
  }
  
  .descripcion-banner {
    font-size: 1.5rem;
  }

  /* Muestra 2 imágenes en móvil en lugar de 4 para que se vean bien cuadradas */
  .carousel-full-slide {
    flex: 0 0 50%;
    min-width: 50%;
  }
}

 /* ==========================================
   ESTADO DESACTIVADO PARA BOTONES (.disabled)
   ========================================== */
.aventuras-btn.disabled,
.donde-btn.disabled {
  opacity: 0.55;             /* Apariencia atenuada */
  cursor: not-allowed;       /* Cursor de no permitido */
  pointer-events: none;      /* Inhabilita la acción de clic y hover */
  filter: grayscale(40%);    /* Tono apagado acorde a la estética */
  box-shadow: none;          /* Elimina elevación para dar sensación inactiva */
}

