/* ============================================
   ENTRE LÍNEAS POLÍTICA - ESTILOS PRINCIPALES
   Infographic-centric layout con personalidad
   ============================================ */

/* --- Variables de diseño --- */
:root {
  --deep-blue: #112c7d;
  --accent: #dd1d72;
  --white-logo: #fefefe;
  --text-light: #f0f4ff;
  --text-muted: #cbd5e8;
  --bg-alt: #0f2668;
  --bg-card: rgba(255, 255, 255, 0.05);
  --border-subtle: rgba(254, 254, 254, 0.12);
  --font-heading: 'Space Grotesk', 'Outfit', sans-serif;
  --font-body: 'Outfit', 'Segoe UI', system-ui, sans-serif;
  --shadow-glow: 0 0 30px rgba(221, 29, 114, 0.25);
  --radius-lg: 2rem;
  --radius-md: 1.25rem;
  --radius-sm: 0.75rem;
}

/* --- Reset y base --- */
body {
  font-family: var(--font-body);
  background-color: var(--deep-blue);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
  padding-top: 80px;
}

h1, h2, h3, h4, .section-title, .hero-title, .brand-text {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
}

a {
  color: var(--text-light);
  transition: all 0.25s ease;
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
}

/* --- Barra de navegación fija --- */
#mainNav {
  background-color: rgba(17, 44, 125, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.6rem 0;
  transition: background 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.nav-logo-img {
  height: 42px;
  width: auto;
  filter: brightness(1.05);
}

.brand-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white-logo);
  letter-spacing: -0.01em;
}

.navbar-nav .nav-link {
  color: var(--text-muted) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 0.9rem !important;
  border-radius: 2rem;
  margin: 0 0.1rem;
  transition: 0.2s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--white-logo) !important;
  background: rgba(255, 255, 255, 0.08);
}

.navbar-toggler-icon-custom i {
  color: var(--white-logo);
}

/* Botones sociales en nav */
.social-btn, .contact-btn {
  border-radius: 2rem;
  font-weight: 500;
  transition: 0.25s;
}

.social-btn {
  border-color: var(--border-subtle);
  color: var(--white-logo);
}

.social-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.btn-accent {
  background-color: var(--accent);
  border: none;
  color: white;
  font-weight: 600;
  padding: 0.65rem 1.8rem;
  border-radius: 3rem;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 18px rgba(221, 29, 114, 0.35);
  transition: 0.25s;
}

.btn-accent:hover {
  background-color: #c41a63;
  box-shadow: 0 10px 24px rgba(221, 29, 114, 0.5);
  color: white;
  transform: translateY(-2px);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.5);
  border-radius: 3rem;
  font-weight: 500;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

/* --- Hero section --- */
.hero-section {
  min-height: 85vh;
  padding: 3rem 0 4rem;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 20% 30%, #15358a, var(--deep-blue));
}

.badge-accent {
  background: rgba(221, 29, 114, 0.18);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.4rem 1.2rem;
  border-radius: 2rem;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid var(--accent);
}

.hero-title {
  color: var(--white-logo);
  font-size: 3.5rem;
  line-height: 1.15;
}

.text-accent {
  color: var(--accent) !important;
}

.hero-text {
  color: var(--text-muted);
  font-size: 1.2rem;
}

.hero-graphic {
  position: relative;
}

.hero-img {
  border: 2px solid rgba(255, 255, 255, 0.15);
  filter: drop-shadow(0 20px 25px rgba(0,0,0,0.5));
  transition: transform 0.4s;
}

.hero-img:hover {
  transform: scale(1.02);
}

.floating-card {
  position: absolute;
  bottom: -15px;
  left: -10px;
  background: var(--accent);
  font-weight: 600;
  letter-spacing: 0.03em;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

/* --- Secciones generales --- */
.section-block {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.alt-bg {
  background-color: var(--bg-alt);
}

.section-tag {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(221, 29, 114, 0.12);
  padding: 0.25rem 1rem;
  border-radius: 2rem;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.6rem;
  color: var(--white-logo);
  margin-bottom: 1.2rem;
}

.section-text {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 90%;
}

/* --- Imágenes modernas con estilo infográfico --- */
.image-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.4);
  transition: 0.3s;
}

.section-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  filter: brightness(0.95) contrast(1.1);
  transition: transform 0.4s ease, filter 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.image-frame:hover .section-img {
  transform: scale(1.04);
  filter: brightness(1.05) contrast(1.15);
}

/* --- Comunidad / cierre --- */
.community-section {
  padding: 5rem 0;
  background: linear-gradient(145deg, #0f2668, #0a1d4f);
}

.small-text {
  color: var(--text-muted);
  font-style: italic;
}

/* --- Footer --- */
.footer-bar {
  background: #091a42;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--border-subtle);
}

.footer-logo {
  height: 28px;
  opacity: 0.8;
}

/* --- Responsive adjustments --- */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-text {
    max-width: 100%;
  }

  .hero-section {
    text-align: center;
  }

  .floating-card {
    left: 5px;
  }
}

@media (max-width: 576px) {
  .navbar-brand .brand-text {
    font-size: 1.1rem;
  }

  .section-block {
    padding: 3rem 0;
  }
}