/* MudRock Rentals - Unified Header & Footer Styles */
/* Include this on every page for consistent branding */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ── Top Bar ── */
.mrr-topbar {
  background: #172e6e;
  color: rgba(255,255,255,.9);
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .3px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.mrr-topbar a { color: #f59e0b; text-decoration: none; font-weight: 600; }
.mrr-topbar a:hover { text-decoration: underline; }

/* ── Header ── */
.mrr-header {
  background: #1e3a8a;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.mrr-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}
.mrr-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: white;
}
.mrr-brand:hover { color: white; }
.mrr-brand img {
  height: 80px;
  width: auto;
}
.mrr-brand-text {
  line-height: 1.2;
}
.mrr-brand-name {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.3px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.mrr-brand-tag {
  font-size: 13px;
  font-weight: 500;
  opacity: .85;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.mrr-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.mrr-nav a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all .2s;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.mrr-nav a:hover,
.mrr-nav a.active {
  color: white;
  background: rgba(255,255,255,.12);
}
.mrr-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  background: rgba(255,255,255,.1);
  padding: 10px 20px;
  border-radius: 10px;
  transition: background .2s;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.mrr-phone:hover {
  background: rgba(255,255,255,.2);
  color: white;
}
.mrr-phone i { color: #f59e0b; }

/* Mobile menu */
.mrr-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
}
.mrr-mobile-nav {
  display: none;
  background: #172e6e;
  padding: 12px 24px 20px;
}
.mrr-mobile-nav.open { display: block; }
.mrr-mobile-nav a {
  display: block;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.mrr-mobile-nav a:hover { color: white; }

/* ── Footer ── */
.mrr-footer {
  background: #172e6e;
  color: rgba(255,255,255,.85);
  padding: 56px 0 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.mrr-footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}
.mrr-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.mrr-footer-brand img {
  height: 48px;
  margin-bottom: 16px;
}
.mrr-footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  opacity: .8;
  margin: 0 0 16px;
  max-width: 300px;
}
.mrr-footer-social {
  display: flex;
  gap: 12px;
}
.mrr-footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: background .2s;
  font-size: 16px;
}
.mrr-footer-social a:hover { background: #b8282e; }
.mrr-footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: 0 0 18px;
  color: white;
}
.mrr-footer-col a {
  display: block;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  font-size: 14px;
  padding: 4px 0;
  transition: color .2s;
}
.mrr-footer-col a:hover { color: white; }
.mrr-footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  opacity: .7;
}
.mrr-footer-bottom a {
  color: #f59e0b;
  text-decoration: none;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .mrr-nav { display: none; }
  .mrr-mobile-toggle { display: block; }
  .mrr-header-inner { height: 72px; }
  .mrr-brand img { height: 56px; }
  .mrr-brand-name { font-size: 18px; }
  .mrr-brand-tag { font-size: 11px; }
  .mrr-phone { padding: 8px 14px; font-size: 14px; }
  .mrr-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .mrr-footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .mrr-brand img { height: 48px; }
  .mrr-brand-name { font-size: 16px; }
  .mrr-brand-tag { display: none; }
  .mrr-header-inner { height: 64px; }
}
