/* ==========================================================
   uriangato.css — Estilos personalizados del sitio municipal
   Municipio de Uriangato, Guanajuato
   ========================================================== */

/* ── Variables de color institucional ── */
:root {
  --color-primary:       #0f6574;   /* Verde gobierno */
  --color-secondary:     #127788;   /* Verde claro */
  --color-accent:        #ffffff;   /* Blanco */
  --color-dark:          #000000;
  --color-light-bg:      #f4f6f8;
  --color-text:          #2c3e50;
  --color-muted:         #6c757d;
  --font-heading:        'Raleway', sans-serif;
  --font-body:           'Poppins', sans-serif;
  --bs-primary-rgb:		 15, 101, 116;
}

/* ── Body ── */
body {
  font-family: var(--font-body);
  color: var(--color-text);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
}

/* ── Header / Navbar ── */
.header {
  background: #000;
  border-bottom: 3px solid var(--color-primary);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 10px 0;
}

.header .sitename {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.5px;
}

/* ── Botón CTA del header ── */
.btn-getstarted {
  background: var(--color-primary);
  color: #fff !important;
  border-radius: 4px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: background 0.25s ease;
}

.btn-getstarted:hover {
  background: var(--color-secondary);
  color: #fff !important;
}

.text-getstarted {
    --bs-text-opacity: 1;
    color: rgba(var(--color-primary), var(--bs-text-opacity)) !important;
}

/* ── Accesos rápidos (cards debajo del hero) ── */
.service-quick-card {
  background: #fff;
  border-radius: 12px;
  border: 2px solid #e8edf2;
  text-decoration: none;
  color: var(--color-text);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.service-quick-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(26,82,118,0.15);
  transform: translateY(-4px);
  color: var(--color-primary);
}

.service-quick-card h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

/* ── Section Titles ── */
.section-title h2 {
  font-size: 2rem;
  color: var(--color-primary);
}

.section-title p {
  color: var(--color-muted);
  font-size: 1rem;
}

/* ── Accesos rápidos iconos ── */
.acceso-rapido-link {
  text-decoration: none;
  color: var(--color-text);
}

.acceso-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #dde3ea;
  transition: all 0.25s ease;
  cursor: pointer;
}

.acceso-card:hover {
  box-shadow: 0 6px 20px rgba(26,82,118,0.15);
  border-color: var(--color-primary);
  transform: translateY(-3px);
}

.acceso-card p {
  font-size: 0.78rem;
  color: var(--color-text);
}

/* ── Stats section ── */
.stats .purecounter {
  font-family: var(--font-heading);
  color: var(--color-primary);
}

/* ── Footer ── */
.footer {
  background: var(--color-dark);
}

.footer .sitename {
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
}

.footer h4 {
  color: var(--color-accent);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer .footer-contact p {
  color: #ffffff;
  font-size: 0.88rem;
}

.footer .footer-links ul li a {
  color: #ffffff;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer .footer-links ul li a:hover {
  color: #f9d491;
}

.footer .social-links a {
  background: rgba(255,255,255,0.08);
  color: #ccc;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
  font-size: 1rem;
  transition: all 0.25s;
}

.footer .social-links a:hover {
  background: var(--color-accent);
  color: #fff;
}

.footer .copyright {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
  color: #7f8c9b;
  font-size: 0.85rem;
}

.footer .credits {
  color: #5a6775;
  font-size: 0.8rem;
  margin-top: 4px;
}

/* ── Hero overrides ── */
.hero .carousel-container h2 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
}

.btn-get-started {
  background: var(--color-accent);
  color: #fff !important;
  border-radius: 4px;
  padding: 10px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-block;
  text-decoration: none;
  margin-top: 12px;
  transition: background 0.25s;
}

.btn-get-started:hover {
  background: #d68910;
}

/* ── Noticias cards ── */
.recent-posts article {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  background: #fff;
  transition: box-shadow 0.3s;
}

.recent-posts article:hover {
  box-shadow: 0 8px 28px rgba(26,82,118,0.15);
}

.recent-posts .post-img img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.recent-posts .post-category {
  background: var(--color-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
  display: inline-block;
  margin: 12px 16px 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.recent-posts .title {
  font-size: 1rem;
  font-weight: 700;
  padding: 0 16px;
  line-height: 1.4;
}

.recent-posts .title a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s;
}

.recent-posts .title a:hover {
  color: var(--color-primary);
}

.recent-posts .post-meta {
  padding: 8px 16px 14px;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.recent-posts .post-meta p {
  margin: 0;
  line-height: 1.5;
}

/* ── Responsive tweaks ── */
@media (max-width: 768px) {
  .hero .carousel-container h2 {
    font-size: 1.6rem;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }
}