/* ═══════════════════════════════════════════════════════
   OFPIC — Home Page v2.0 — Premium Gallery Redesign
   Editorial elegance: neutral palette, photography-first
   Overrides ofpic-home.css — load AFTER it
   ═══════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════
   1. HERO SECTION — Neutral & Editorial
   ══════════════════════════════════════════ */
.hero-section {
  background: #0a0a0a;
}

.hero-bg {
  opacity: 0.50;
}

.hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.30) 50%,
    rgba(0, 0, 0, 0.60) 100%
  ) !important;
}

.hero-content {
  max-width: 780px;
}

.hero-title {
  font-family: var(--font-editorial, 'Playfair Display', Georgia, serif);
  font-weight: 700;
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  letter-spacing: -0.025em;
  line-height: 1.06;
  color: #fff;
}

.hero-title .highlight {
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #fff !important;
  background-clip: unset !important;
  font-style: italic;
  text-decoration: underline;
  text-decoration-color: var(--accent-warm, #B89A5B);
  text-underline-offset: 8px;
  text-decoration-thickness: 3px;
}

.hero-subtitle {
  font-family: var(--font-ui, 'DM Sans', sans-serif);
  color: rgba(255, 255, 255, 0.70);
  max-width: 580px;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
}

/* CTA Buttons — Premium feel */
.btn-hero-primary {
  background: var(--accent-warm, #B89A5B) !important;
  box-shadow: 0 8px 32px var(--accent-warm-shadow, rgba(184, 154, 91, 0.35));
  border-radius: 6px;
  padding: 16px 40px;
  font-family: var(--font-ui, 'DM Sans', sans-serif);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn-hero-primary:hover {
  background: var(--accent-warm-hover, #A07D3F) !important;
  box-shadow: 0 12px 44px rgba(184, 154, 91, 0.45);
  transform: translateY(-2px);
  color: #fff;
}

.btn-hero-secondary {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.30);
  border-radius: 6px;
  padding: 15px 40px;
  font-family: var(--font-ui, 'DM Sans', sans-serif);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.50);
  transform: translateY(-2px);
  color: #fff;
}

/* Stats — More understated */
.hero-stats {
  margin-top: 4rem;
  gap: clamp(36px, 5vw, 64px);
}

.hero-stat .number {
  font-family: var(--font-editorial, 'Playfair Display', serif);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero-stat .label {
  font-family: var(--font-ui, 'DM Sans', sans-serif);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 6px;
}

/* Scroll indicator */
.scroll-indicator span {
  font-family: var(--font-ui, 'DM Sans', sans-serif);
  font-size: 10px;
  letter-spacing: 4px;
}

/* ══════════════════════════════════════════
   2. SEARCH SECTION — Light & Breathable
   ══════════════════════════════════════════ */
.search-section {
  background: var(--color-surface-soft, #FAFAFA) !important;
  padding: clamp(80px, 10vw, 140px) 0;
}

/* Remove the decorative red orb */
.search-section::before {
  display: none !important;
}

.search-header h2 {
  font-family: var(--font-editorial, 'Playfair Display', serif);
  color: var(--color-text, #1a1a1a);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.search-header p {
  color: var(--color-text-muted, #6B6B6B);
}

.search-form-card {
  background: #fff;
  border: 1px solid var(--color-border, #E5E5E5);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.search-field label {
  font-family: var(--font-ui, 'DM Sans', sans-serif);
  color: var(--color-text-muted, #6B6B6B);
  font-weight: 600;
}

.search-field select,
.search-field input[type="text"] {
  border: 1.5px solid var(--color-border, #E5E5E5);
  border-radius: 8px;
  font-family: var(--font-ui, 'DM Sans', sans-serif);
  color: var(--color-text, #1a1a1a);
}

.search-field select:focus,
.search-field input[type="text"]:focus {
  border-color: var(--accent-warm, #B89A5B);
  box-shadow: 0 0 0 3px var(--accent-warm-light, rgba(184, 154, 91, 0.12));
}

.btn-search {
  background: var(--color-text, #1a1a1a) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  font-family: var(--font-ui, 'DM Sans', sans-serif);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 44px;
}

.btn-search:hover {
  background: #333 !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

.advanced-search-link {
  color: var(--accent-warm, #B89A5B);
  font-family: var(--font-ui, 'DM Sans', sans-serif);
  font-weight: 600;
}

.advanced-search-link:hover {
  color: var(--accent-warm-hover, #A07D3F);
}

/* Quick filters — Light background */
.quick-filter {
  background: #fff;
  color: var(--color-text, #1a1a1a);
  border: 1px solid var(--color-border, #E5E5E5);
  border-radius: 6px;
  font-family: var(--font-ui, 'DM Sans', sans-serif);
  font-weight: 500;
  font-size: 13px;
  padding: 10px 24px;
}

.quick-filter:hover {
  background: var(--color-text, #1a1a1a);
  color: #fff;
  border-color: var(--color-text, #1a1a1a);
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════
   3. GALLERY / BENTO GRID — White & Airy
   ══════════════════════════════════════════ */
.gallery-section {
  background: #fff !important;
  padding: clamp(80px, 10vw, 140px) 0;
}

/* Remove decorative radials */
.gallery-section::before {
  display: none !important;
}

.gallery-header h2 {
  font-family: var(--font-editorial, 'Playfair Display', serif);
  color: var(--color-text, #1a1a1a);
  font-weight: 600;
}

.gallery-header h2 .highlight {
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: var(--color-text, #1a1a1a) !important;
  background-clip: unset !important;
  font-style: italic;
  text-decoration: underline;
  text-decoration-color: var(--accent-warm, #B89A5B);
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

.gallery-header p {
  color: var(--color-text-muted, #6B6B6B);
}

/* Grid — More breathing room */
.bento-grid {
  gap: 10px;
}

.bento-item {
  border-radius: 8px;
}

/* Neutral overlays — no red tint */
.bento-item::before {
  background: linear-gradient(180deg,
    transparent 0%,
    transparent 50%,
    rgba(0, 0, 0, 0.65) 100%
  );
}

.bento-item:hover::before {
  background: linear-gradient(180deg,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.80) 100%
  );
}

.bento-item:hover img {
  transform: scale(1.04);
}

/* Badges — Elegant neutral */
.badge-type.deportivo {
  background: rgba(26, 26, 26, 0.80);
  color: #fff;
  backdrop-filter: blur(12px);
}

.badge-type.social {
  background: rgba(184, 154, 91, 0.85);
  color: #fff;
  backdrop-filter: blur(12px);
}

.badge-fotos {
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
}

/* Content metadata — warm accents instead of red */
.bento-content .meta i {
  color: var(--accent-warm, #B89A5B) !important;
}

.bento-info-basic .location i {
  color: var(--accent-warm, #B89A5B) !important;
}

/* CTA Button — Black, minimal */
.btn-ver-todos {
  background: var(--color-text, #1a1a1a) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  font-family: var(--font-ui, 'DM Sans', sans-serif);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 16px 44px;
}

.btn-ver-todos:hover {
  background: #333 !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
  color: #fff;
}

/* Empty state */
.no-eventos-modern {
  background: var(--color-surface-soft, #FAFAFA);
  border-radius: 16px;
}

.no-eventos-modern h3 {
  color: var(--color-text, #1a1a1a);
}

.no-eventos-modern p {
  color: var(--color-text-muted, #6B6B6B);
}

.no-eventos-modern .icon-wrapper {
  background: var(--accent-warm-light, rgba(184, 154, 91, 0.12));
}

.no-eventos-modern .icon-wrapper i {
  color: var(--accent-warm, #B89A5B);
}

/* ══════════════════════════════════════════
   4. BANNERS BOTTOM — Neutral
   ══════════════════════════════════════════ */
.lower-banners.ad-banner {
  padding: 40px 0;
}

/* ══════════════════════════════════════════
   5. RESPONSIVE OVERRIDES
   ══════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero-title {
    font-size: clamp(2.2rem, 8vw, 2.8rem);
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    border-radius: 6px;
    font-size: 13px;
    padding: 14px 32px;
  }

  .bento-item {
    border-radius: 6px;
  }

  .bento-grid {
    gap: 6px;
  }

  .search-form-card {
    border-radius: 12px;
  }

  .btn-search {
    border-radius: 6px;
  }

  .quick-filter {
    border-radius: 6px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
  }
}

/* ══════════════════════════════════════════
   6. FORM FIELD CLASSES (replace inline styles)
   ══════════════════════════════════════════ */
.search-select {
  width: 100%;
  padding: 14px 40px 14px 16px;
  border: 1.5px solid var(--color-border, #E5E5E5);
  border-radius: 8px;
  font-family: var(--font-ui, 'DM Sans', sans-serif);
  font-size: 15px;
  background: #fff;
  color: var(--color-text, #1a1a1a);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239ca3af' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-select:focus {
  outline: none;
  border-color: var(--accent-warm, #B89A5B);
  box-shadow: 0 0 0 3px var(--accent-warm-light, rgba(184, 154, 91, 0.12));
}

.search-input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--color-border, #E5E5E5);
  border-radius: 8px;
  font-family: var(--font-ui, 'DM Sans', sans-serif);
  font-size: 15px;
  color: var(--color-text, #1a1a1a);
  background: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--accent-warm, #B89A5B);
  box-shadow: 0 0 0 3px var(--accent-warm-light, rgba(184, 154, 91, 0.12));
}

.search-input-icon {
  padding-left: 50px;
}
