/* ============================================================
   PROCOAT — Universal Header & Footer CSS
   Link on every page: <link rel="stylesheet" href="/assets/css/layout.css">
   ============================================================ */

/* ── SALE BANNER ── */
.sale-banner {
  background: #C0392B;
  padding: 10px 5%;
  text-align: center;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
}
.sale-banner p { font-family: 'Oswald', sans-serif; font-size: 14px; color: white; letter-spacing: 0.5px; }
.sale-banner a { color: #1A2332; text-decoration: none; font-weight: 700; background: rgba(255,255,255,0.2); padding: 2px 8px; border-radius: 2px; }

/* ── NAV ── */
nav#mainNav {
  position: fixed;
  top: 40px; left: 0; right: 0;
  z-index: 1000;
  background: #FFFFFF;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  border-bottom: 1px solid #E8E8E8;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.nav-logo-img { height: 38px; display: block; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: #1A2332;
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 13px;
  border-radius: 3px;
  transition: all 0.2s;
}
.nav-links a:hover { color: #C0392B; background: rgba(192,57,43,0.06); }
.nav-links a.nav-active { color: #C0392B; font-weight: 600; }
.nav-spring { color: #C0392B !important; }
.nav-phone { color: #C0392B !important; }
.nav-cta {
  background: #C0392B !important;
  color: white !important;
  padding: 10px 20px !important;
  margin-left: 8px;
  border-radius: 2px;
}
.nav-cta:hover { background: #E74C3C !important; }

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px; height: 20px;
  background: none; border: none;
  cursor: pointer; padding: 0; z-index: 1100;
}
.nav-hamburger span {
  display: block; height: 2px; width: 100%;
  background: #1A2332; border-radius: 2px; transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ── FOOTER ── */
footer {
  background: #FFFFFF;
  border-top: 1px solid #EFEFEF;
  padding: 64px 5% 28px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 48px;
}
.footer-logo img { height: 56px; margin-bottom: 16px; display: block; }
.footer-desc { font-size: 14px; color: #555; line-height: 1.75; margin-bottom: 20px; max-width: 280px; }
.footer-contact p { font-size: 14px; color: #555; margin-bottom: 6px; }
.footer-contact a { color: #C0392B; text-decoration: none; }
.footer-col h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 13px; color: #1A2332; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px;
}
.footer-col a { display: block; font-size: 14px; color: #666; text-decoration: none; margin-bottom: 8px; transition: color 0.2s; }
.footer-col a:hover { color: #C0392B; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid #EFEFEF;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; color: #999; }
.footer-badge { font-size: 13px; color: #999; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none !important;
    position: fixed; top: 112px; left: 0; right: 0;
    background: white; flex-direction: column; gap: 0;
    border-top: 1px solid #EFEFEF; border-bottom: 3px solid #C0392B;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12); z-index: 999; padding: 8px 0;
  }
  .nav-links.open { display: flex !important; }
  .nav-links a { padding: 14px 24px; font-size: 15px; border-bottom: 1px solid #F5F5F5; border-radius: 0; width: 100%; }
  .nav-links a:last-child { border-bottom: none; }
  .nav-cta { margin: 8px 16px !important; border-radius: 3px !important; text-align: center; display: block; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .sale-banner p { font-size: 12px; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-desc { max-width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
}
