/* cafe-y-cultura.css - Modern Cream Theme Redesign */

/* === 1. FORCE LIGHT THEME & BASE === */
:root {
  --bg-page-creamy: #fdfbf7;
  --bg-white: #ffffff;
  --color-coffee-dark: #3e2723;
  --color-gold-accent: #c5a059;
  --text-primary: #333333;
  --text-muted: #666666;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
}

body.cultura-page {
  background-color: var(--bg-page-creamy) !important;
  background-image: none !important;
  color: var(--text-primary) !important;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}

.cultura-page .encabezado {
  background-color: rgba(62, 39, 35, 0.95) !important;
}

.contenedor-cultura {
  padding-top: 100px;
}

/* === 2. HERO IMMERSIVE === */
.hero-cultura {
  position: relative;
  height: 80vh;
  min-height: 550px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 0;
}

.hero-overlay-dark {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(62, 39, 35, 0.85) 100%);
  z-index: 1;
}

.hero-content-cultura {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  max-width: 900px;
  padding: 20px;
  margin-top: 60px;
}

.hero-badge-cultura {
  background: rgba(197, 160, 89, 0.2);
  border: 1px solid var(--color-gold-accent);
  color: #fff;
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  display: inline-block;
  margin-bottom: 25px;
}

.hero-title-cultura {
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem;
  line-height: 1.1;
  color: #ffffff;
  margin: 0 0 25px;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.hero-subtitle-cultura {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 650px;
  margin: 0 auto;
  font-weight: 300;
}

/* === 3. INTRO SECTION === */
.cultura-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
  align-items: center;
}

.intro-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--color-coffee-dark);
  margin-bottom: 20px;
}

.intro-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.intro-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: var(--shadow-soft);
}

/* === 4. CULTURA CARDS === */
.cultura-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

.cultura-card {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
  border: 1px solid rgba(197, 160, 89, 0.1);
}

.cultura-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(197, 160, 89, 0.15);
}

.card-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

.cultura-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--color-coffee-dark);
  margin-bottom: 15px;
}

.cultura-card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === 5. GALERÍA GRID === */
.galeria-cultura {
  padding: 80px 20px;
  background: #ffffff;
}

.galeria-cultura.secondary {
  background: var(--bg-page-creamy);
}

.galeria-cultura h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--color-coffee-dark);
  text-align: center;
  margin-bottom: 50px;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.galeria-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.galeria-grid img:hover {
  transform: scale(1.05);
}

.galeria-grid-small {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  max-width: 1000px;
  margin: 0 auto;
}

.galeria-grid-small img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.galeria-grid-small img:hover {
  transform: scale(1.05);
}

/* === 6. FRASE DESTACADA === */
.frase-cultura {
  padding: 100px 20px;
  background: linear-gradient(135deg, #fdfbf7 0%, #f5f0e8 100%);
}

.frase-container {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  padding: 60px 50px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(62, 39, 35, 0.1);
  text-align: center;
  border: 1px solid rgba(197, 160, 89, 0.2);
}

.quote-icon-lg {
  font-size: 5rem;
  color: rgba(197, 160, 89, 0.2);
  margin-bottom: 20px;
}

.frase-texto {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  line-height: 1.7;
  color: var(--color-coffee-dark);
  font-style: italic;
  margin: 0 0 30px;
}

.frase-autor {
  display: block;
  font-size: 1.1rem;
  color: var(--color-gold-accent);
  font-weight: 600;
}

/* === 7. RESPONSIVE === */
@media (max-width: 768px) {
  .hero-title-cultura {
    font-size: 2.5rem;
  }

  .hero-cultura {
    height: auto;
    padding: 120px 20px 60px;
  }

  .cultura-intro {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .intro-content h3 {
    font-size: 2rem;
  }

  .cultura-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .galeria-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .galeria-grid img {
    height: 250px;
  }

  .frase-container {
    padding: 40px 30px;
  }

  .frase-texto {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .hero-cultura {
    padding: 100px 15px 50px;
    height: 65vh;
  }

  .hero-title-cultura {
    font-size: 2rem;
  }

  .intro-content h3 {
    font-size: 1.8rem;
  }

  .frase-texto {
    font-size: 1.2rem;
  }

  .frase-container {
    padding: 30px 20px;
  }

  /* Prevent horizontal overflow */
  body,
  html {
    overflow-x: hidden;
  }

  img {
    max-width: 100%;
    height: auto;
  }
}