/* =========================
   SECCIÓN NUESTRA HISTORIA
   ========================= */

.historia-section {
  background-color: #001c04;
  padding: 8rem 6rem;
  color: #fdfbf7;
  position: relative;
}

.historia-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-bottom: 6rem;
}

/* Columna Izquierda: Contenido de Texto */
.historia-content {
  display: flex;
  position: relative;
  flex-direction: column;
  gap: 2rem;
}

.historia-label {
  font-family: "Metropolis", sans-serif;
  font-weight: 700;
  color: #aa750c;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 0.85rem;
}

.historia-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: #fdfbf7;
  line-height: 1.1;
  margin: 0;
}

.historia-line {
  width: 60px;
  height: 2px;
  background-color: #aa750c;
}

.historia-text {
  font-family: var(--font-body);
  font-weight: 300;
  color: rgba(253, 251, 247, 0.8);
  font-size: 1.1rem;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.historia-text p {
  margin: 0;
}

.historia-text span {
  color: #aa750c;
  font-style: italic;
}

/* Dato destacado */
.historia-highlight {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.historia-num {
  font-family: "Metropolis", sans-serif;
  font-weight: 900;
  color: #aa750c;
  font-size: clamp(5rem, 10vw, 9rem);
  line-height: 0.8;
}

.historia-num-desc {
  font-family: sans-serif;
  font-weight: 300;
  color: rgba(253, 251, 247, 0.8);
  font-size: 1.1rem;
  line-height: 1.3;
  max-width: 200px;
}

/* Frase Italiana */
.historia-phrase {
  font-family: var(--font-heading);
  letter-spacing: 2px;
  font-weight: 700;
  font-style: italic;
  color: rgba(170, 117, 12, 0.6);
  font-size: 1.8rem;
  margin-top: 0.5rem;
}

.historia-separator {
  height: 1px;
  background-color: rgba(170, 117, 12, 0.3);
  margin: 1rem 0;
}

/* Bloque de ubicación */
.historia-location {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.historia-location-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: "Metropolis", sans-serif;
  font-weight: 300;
  color: rgba(253, 251, 247, 0.7);
  font-size: 1rem;
}

.historia-location-item svg,
.historia-location-item i {
  width: 20px;
  height: auto;
  color: #aa750c;
  font-size: 1.15rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

/* Botón Reservación */
.btn-historia {
  position: relative;
  z-index: 10;
  display: inline-block;
  align-self: flex-start;
  margin-top: 1rem;
  padding: 1rem 2rem;
  font-family: "Metropolis", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  background: transparent;
  color: #aa750c;
  border: 1px solid #aa750c;
  border-radius: 0;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-historia:hover {
  background-color: #aa750c;
  color: #001c04;
}

/* Columna Derecha: Foto */
.historia-image-container {
  position: relative;
  height: 100%;
  min-height: 650px;
  border: 3px solid rgba(218, 150, 14, 0.8);
  border-radius: 0;
  overflow: hidden;
}

.historia-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transform: scale(1.05);
}

.historia-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 28, 4, 0.25);
  pointer-events: none;
}

/* Mapa Google Maps */
.historia-map-wrapper {
  position: relative;
  bottom: unset;
  left: unset;
  width: 100%;
}

.historia-map-container {
  width: 100%;
  height: 380px;
  border-top: 1px solid rgba(170, 117, 12, 0.3);
  border-radius: 0;
  overflow: hidden;
  background: #001c04;
  display: flex;
}

.historia-map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.historia-deco-uvas {
  position: absolute;
  bottom: -20px;
  right: -40px;
  rotate: -40deg;
  width: 400px;
  height: auto;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
  filter: drop-shadow(0 0 20px rgba(170, 117, 12, 0.3));
}

/* Responsive    */
@media (max-width: 1024px) {
  .historia-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-bottom: 4rem;
  }

  .historia-image-container {
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .historia-section {
    padding: 6rem 5% 0 5%;
  }

  .historia-container {
    padding-bottom: 2rem;
  }

  .historia-highlight {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .historia-map-container {
    height: 300px;
  }

  .historia-map-wrapper {
    position: relative;
    margin-top: 3rem;
    margin-left: -5%;
    margin-right: -5%;
    width: 110%;
  }
}
