/*
 * site.css — estilos compartidos por TODAS las páginas de Harinas Guadalupe.
 *
 * Aquí vive una sola vez lo que antes estaba copiado (con pequeñas diferencias) en el
 * <style> de cada página: fondo y tipografía, menú superior, pie de página, botones,
 * botones flotantes y aviso de cookies. Si algo debe cambiar en todo el sitio, se cambia
 * aquí. Lo propio de cada página se queda en su <style>.
 */

:root {
  --hg-azul: #008fc0;
  --hg-turquesa: #31c4c0;
  --hg-degradado: linear-gradient(90deg, #008fc0, #31c4c0 85%);
  --hg-oro: #e2c177;
  --hg-fondo: #f9fafb;
}

/* ===== Base ===== */
html, body { height: 100%; }
body {
  background: var(--hg-fondo);
  min-height: 100vh;
  font-family: "Arial Rounded MT Bold", Arial, sans-serif !important;
}
main { flex: 1 0 auto; min-height: calc(100vh - 240px); }

/* Título de sección */
.section-title { color: var(--hg-azul); font-weight: 900; letter-spacing: 1.5px; }

/* ===== Menú superior ===== */
.navbar-custom {
  background: rgba(255, 255, 255, .45);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 143, 192, .04);
  transition: background .3s;
}
.navbar-custom.scrolled { background: rgba(255, 255, 255, .98) !important; }
.navbar-brand img { height: 52px; }
.navbar-nav .nav-link.active { color: var(--hg-azul) !important; font-weight: 700; }

/* ===== Botones ===== */
.btn, .btn:focus, .btn:active {
  border-radius: 22px;
  background: var(--hg-degradado) !important;
  color: #fff !important;
  font-weight: 600;
  border: none !important;
  box-shadow: none !important;
  transition: background .22s, transform .15s;
  font-family: "Arial Rounded MT Bold", Arial, sans-serif !important;
}
.btn:hover { background: var(--hg-azul) !important; transform: scale(1.05); color: #fff !important; }
.btn-sm { padding: 4px 14px; font-size: .85rem; border-radius: 16px; }
.btn-lg { font-size: 1.2rem; padding: .8em 2.2em; border-radius: 22px; }

/* ===== Pie de página ===== */
.footer { background: var(--hg-degradado); color: #fff; position: relative; z-index: 1; font-size: .95rem; }
.footer a { color: #fff; opacity: .9; }
.footer a:hover { color: #fff; opacity: 1; text-decoration: underline; }

/* ===== Botones flotantes (contacto, Messenger, WhatsApp) ===== */
.float-btn {
  position: fixed;
  z-index: 1200;
  right: 26px;
  width: 54px;
  height: 54px;
  line-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 143, 192, .16);
  color: #fff !important;
  border: none;
  outline: none;
  cursor: pointer;
  transition: transform .15s;
}
.float-btn.whatsapp { bottom: 60px; background: #25d366; }
.float-btn.messenger { bottom: 120px; background: #0084ff; }
.float-btn.contact { bottom: 180px; background: var(--hg-degradado); }
.float-btn:hover { filter: brightness(.93); transform: scale(1.07); }

/* ===== Aviso de cookies ===== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #232b2b;
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  z-index: 2200;
  font-size: 1rem;
  gap: 1.2rem;
}
.cookie-banner button {
  border-radius: 22px;
  background: var(--hg-degradado);
  color: #fff;
  font-weight: 600;
  border: none;
  padding: 6px 18px;
  cursor: pointer;
  transition: background .22s, transform .15s;
}
.cookie-banner button:hover { background: var(--hg-azul); transform: scale(1.05); }
