/* style.css - MORENA Cuernavaca 2027 - Retro Newspaper Aesthetic */

/* Importación de fuentes con estética retro-periodística */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,700&family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,600;0,8..60,700;1,8..60,400&family=Special+Elite&display=swap');

:root {
  --logo-primary: #740923;
  --logo-dark: #323232;
  --accent: #979c5d;
  --bg-light: #f9f7f1;
  --text-dark: #2c2c2c;
  --border-retro: #3d3d3d;
  --paper: #fefdf9;
  --ink-light: #5a5a5a;
  --divider: #d9d3c7;
  --card-hover-bg: #f5f1e8;
}

/* Estilos base */
body {
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  background-color: #ece7dd;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d5cfc0' fill-opacity='0.3'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  color: var(--text-dark);
  line-height: 1.7;
}

/* Títulos principales con tipografía de periódico */
.newspaper-heading {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--logo-dark);
}

.newspaper-heading.accent {
  color: var(--logo-primary);
}

.subheading-decorated {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  font-style: italic;
  color: var(--logo-dark);
  border-bottom: 3px double var(--divider);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.subheading-decorated::after {
  content: '✦';
  position: absolute;
  right: 0;
  bottom: -12px;
  font-size: 0.8rem;
  color: var(--accent);
  font-style: normal;
}

/* Navbar retro */
.navbar-retro {
  background-color: var(--paper);
  border-bottom: 5px double var(--logo-dark);
  border-top: 3px solid var(--logo-primary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-family: 'Special Elite', 'Courier New', monospace;
}

.navbar-retro .navbar-brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: var(--logo-dark) !important;
}

.navbar-retro .nav-link {
  color: var(--logo-dark) !important;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  position: relative;
  margin: 0 0.3rem;
}

.navbar-retro .nav-link:hover {
  color: var(--logo-primary) !important;
}

.navbar-retro .nav-link::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 10%;
  width: 80%;
  height: 2px;
  background-color: var(--accent);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.navbar-retro .nav-link:hover::after {
  transform: scaleX(1);
}

.navbar-retro .navbar-toggler {
  border: 2px solid var(--logo-dark);
  border-radius: 0;
}

/* Hero / Cabecera principal */
.hero-masthead {
  background: linear-gradient(180deg, var(--paper) 0%, var(--bg-light) 100%);
  border-bottom: 8px double var(--logo-dark);
  border-top: 1px solid var(--divider);
  position: relative;
}

.hero-masthead::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border: 1px solid var(--divider);
  pointer-events: none;
}

/* Tarjetas/Retro cards */
.card-retro {
  background-color: var(--paper);
  border: 3px solid var(--border-retro);
  border-radius: 0;
  box-shadow: 8px 8px 0 rgba(0,0,0,0.08);
  transition: all 0.2s ease;
}

.card-retro:hover {
  transform: translate(-2px, -2px);
  box-shadow: 10px 10px 0 rgba(0,0,0,0.1);
  background-color: var(--card-hover-bg);
}

.card-retro .card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: var(--logo-dark);
}

.card-retro .card-text {
  font-family: 'Source Serif 4', Georgia, serif;
  color: var(--text-dark);
}

/* Bordes de imagen con estilo retro-moderno */
.img-retro-modern {
  border: 4px solid var(--paper);
  outline: 2px solid var(--border-retro);
  outline-offset: -8px;
  filter: sepia(0.15) contrast(1.03);
  transition: all 0.3s ease;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.img-retro-modern:hover {
  filter: sepia(0.05) contrast(1.1);
  outline-color: var(--logo-primary);
}

.img-retro-thumb {
  border: 2px solid var(--border-retro);
  border-radius: 0;
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: sepia(0.25);
  transition: filter 0.3s ease, box-shadow 0.3s ease;
}

.img-retro-thumb:hover {
  filter: sepia(0);
  box-shadow: 6px 6px 0 var(--accent);
}

/* Sección de división decorativa */
.section-ornament {
  text-align: center;
  margin: 2.5rem 0 2rem;
  font-size: 1.2rem;
  letter-spacing: 8px;
  color: var(--accent);
  font-family: 'Special Elite', monospace;
}

/* Botones retro */
.btn-retro {
  background-color: var(--paper);
  color: var(--logo-dark);
  border: 2px solid var(--logo-dark);
  border-radius: 0;
  font-family: 'Special Elite', monospace;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.2s;
  padding: 0.5rem 1.8rem;
}

.btn-retro:hover {
  background-color: var(--logo-dark);
  color: var(--paper);
  box-shadow: 4px 4px 0 var(--accent);
  border-color: var(--logo-dark);
}

.btn-retro-primary {
  background-color: var(--logo-primary);
  color: var(--paper);
  border: 2px solid var(--logo-primary);
}

.btn-retro-primary:hover {
  background-color: var(--paper);
  color: var(--logo-primary);
  box-shadow: 4px 4px 0 var(--logo-dark);
  border-color: var(--logo-primary);
}

/* Footer retro */
.footer-retro {
  background-color: var(--logo-dark);
  color: #d9d3c7;
  border-top: 6px double var(--accent);
  font-family: 'Special Elite', monospace;
}

.footer-retro a {
  color: var(--accent);
  text-decoration: none;
  font-weight: bold;
}

.footer-retro a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Cita decorativa */
.pull-quote {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--logo-primary);
  border-left: 4px solid var(--accent);
  padding-left: 1.5rem;
  margin: 2rem 0;
}

/* Ajustes responsivos */
@media (max-width: 768px) {
  .hero-masthead::before {
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
  
  .card-retro {
    margin-bottom: 1.5rem;
  }
}