/* Global CSS — Pristify Porta Potty Rentals Atlanta */
:root {
  --primary: #1565c0;
  --primary-dark: #0d47a1;
  --secondary: #2e7d32;
  --secondary-light: #43a047;
  --accent: #E8833A;
  --accent-dark: #d06e28;
  --dark: #0F1A2E;
  --dark-mid: #1B2D4F;
  --light: #F0F6FA;
  --bg: #FAFCFE;
  --text: #1a1a1a;
  --text-light: #64748b;
  --border: #e2e8f0;
  --gradient: linear-gradient(135deg, #1565c0 0%, #2e7d32 100%);
}
body.nav-open { overflow: hidden; }

/* ============ HEADER ============ */
.g-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.g-container {
  max-width: 1260px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.g-logo { text-decoration: none; display: flex; align-items: center; flex-shrink: 0; }
.g-logo-img { height: 62px; width: auto; display: block; }
.g-nav { display: flex; align-items: center; gap: 4px; }
.g-nav-inner { display: flex; align-items: center; gap: 0; }
.g-nav-item { position: relative; }
.g-nav-btn {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 14px; font-size: 14px; font-weight: 600; color: #334155;
  text-decoration: none; background: none; border: none; cursor: pointer;
  font-family: inherit; border-radius: 8px; transition: all .2s; white-space: nowrap;
}
.g-nav-btn:hover { background: #f1f5f9; color: var(--primary); }
.g-nav-item.active .g-nav-btn { color: var(--primary); }
.g-chevron { transition: transform .2s; flex-shrink: 0; }
.g-header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff !important; font-weight: 700;
  padding: 10px 22px; border-radius: 10px; font-size: 14px;
  text-decoration: none; box-shadow: 0 4px 14px rgba(232,131,58,.3);
  transition: all .25s; margin-left: 12px; white-space: nowrap; flex-shrink: 0;
}
.g-header-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,131,58,.4); }

/* ============ MEGA DROPDOWN ============ */
.g-mega {
  display: none; position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #fff; border-radius: 16px; padding: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,.1), 0 0 0 1px rgba(0,0,0,.05);
  z-index: 100; min-width: 280px;
  opacity: 0; transition: opacity .15s, transform .15s;
}
.g-nav-item:hover > .g-mega {
  display: block; opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.g-nav-item:hover > .g-nav-btn .g-chevron { transform: rotate(180deg); }
.g-mega-grid { display: grid; gap: 0; }
.g-mega-grid.cols-2 { grid-template-columns: 1fr 1fr; gap: 24px; min-width: 520px; }
.g-mega-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; gap: 20px; min-width: 640px; }
.g-mega-heading {
  font-size: 11px; font-weight: 700; color: var(--dark); text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 10px; padding-bottom: 6px;
  border-bottom: 2px solid #eef2f7;
}
.g-mega-link {
  display: flex; align-items: flex-start; gap: 12px; padding: 8px 10px;
  border-radius: 10px; text-decoration: none; color: var(--text);
  transition: background .15s; font-size: 14px;
}
.g-mega-link:hover { background: #f1f5f9; }
.g-mega-link strong { display: block; font-weight: 600; font-size: 14px; color: var(--dark); }
.g-mega-link small { display: block; font-size: 12px; color: var(--text-light); margin-top: 2px; line-height: 1.4; }
.g-mega-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.g-mega-viewall { color: var(--accent); font-weight: 700; font-size: 14px; text-decoration: none; }
.g-mega-viewall:hover { color: var(--accent-dark); }

/* ============ HAMBURGER ============ */
.g-hamburger {
  display: none; background: none; border: none; cursor: pointer;
  width: 32px; height: 24px; position: relative; z-index: 1001;
}
.g-hamburger span {
  display: block; position: absolute; height: 2.5px; width: 100%;
  background: var(--dark); border-radius: 2px; left: 0;
  transition: all .25s;
}
.g-hamburger span:nth-child(1) { top: 0; }
.g-hamburger span:nth-child(2) { top: 10px; }
.g-hamburger span:nth-child(3) { top: 20px; }
.g-hamburger.active span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.g-hamburger.active span:nth-child(2) { opacity: 0; }
.g-hamburger.active span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

/* ============ FOOTER ============ */
.g-footer { background: var(--dark); color: #fff; }
.g-footer-top { padding: 60px 0 40px; max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.g-footer-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.g-footer-brand { font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.g-footer-brand span { display: block; font-size: 14px; font-weight: 400; color: rgba(255,255,255,.5); margin-top: 4px; }
.g-footer-tagline { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.7; margin-bottom: 20px; }
.g-footer-col h4 { font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 700; margin-bottom: 16px; color: var(--accent); }
.g-footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,.6); padding: 5px 0; text-decoration: none; transition: color .2s; }
.g-footer-col a:hover { color: #fff; }
.g-footer-phone-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff !important; padding: 10px 22px;
  border-radius: 8px; font-weight: 700; font-size: 15px; text-decoration: none;
  transition: all .2s;
}
.g-footer-phone-badge:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,131,58,.4); }

/* Footer NAP */
.g-footer-nap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  max-width: 1200px; margin: 0 auto; padding: 40px 24px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.g-footer-nap h4 { font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.g-nap-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; font-size: 15px; color: rgba(255,255,255,.7); }
.g-nap-row svg { flex-shrink: 0; margin-top: 3px; }
.g-nap-row a { color: var(--accent); font-weight: 700; text-decoration: none; }
.g-nap-row a:hover { color: #f5a152; }
.g-nap-cta {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 20px;
  background: var(--accent); color: #fff !important; padding: 14px 32px;
  border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 16px;
  transition: all .25s; box-shadow: 0 4px 16px rgba(232,131,58,.35);
}
.g-nap-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(232,131,58,.45); }
.g-nap-map iframe { width: 100%; height: 280px; border: 0; border-radius: 16px; }

/* Footer Copyright */
.g-footer-copy { text-align: center; padding: 20px 24px; border-top: 1px solid rgba(255,255,255,.06); font-size: 13px; color: rgba(255,255,255,.3); }

/* ============ FLOATING CTA ============ */
.g-float-cta {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #fff !important; padding: 14px 24px;
  border-radius: 50px; font-weight: 700; font-size: 15px; text-decoration: none;
  box-shadow: 0 8px 30px rgba(232,131,58,.45);
  transition: all .3s; animation: float-bounce 3s ease-in-out infinite;
}
.g-float-cta:hover { transform: scale(1.05); box-shadow: 0 12px 40px rgba(232,131,58,.55); }
.g-float-cta .cta-short { display: none; }
@keyframes float-bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .g-hamburger { display: block; }
  .g-nav {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: #fff; flex-direction: column; padding: 80px 24px 24px;
    overflow-y: auto; z-index: 1000;
  }
  .g-nav.open { display: flex; }
  .g-nav-inner { flex-direction: column; width: 100%; gap: 0; }
  .g-nav-btn { padding: 14px 0; font-size: 16px; width: 100%; justify-content: space-between; }
  .g-mega {
    position: static; transform: none; box-shadow: none; border-radius: 0;
    padding: 0 0 0 16px; min-width: 0; display: none; opacity: 1;
    border-left: 3px solid var(--primary);
  }
  .g-nav-item.mob-open > .g-mega { display: block; }
  .g-nav-item:hover > .g-mega { display: none; opacity: 0; }
  .g-nav-item.mob-open:hover > .g-mega { display: block; opacity: 1; }
  .g-mega-grid.cols-2, .g-mega-grid.cols-3 { grid-template-columns: 1fr; min-width: 0; gap: 8px; }
  .g-header-cta { margin: 20px 0 0; width: 100%; justify-content: center; padding: 14px; font-size: 16px; }
  .g-footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .g-footer-nap { grid-template-columns: 1fr; }
  .g-float-cta { padding: 12px 18px; font-size: 14px; bottom: 16px; right: 16px; }
  .g-float-cta .cta-full { display: none; }
  .g-float-cta .cta-short { display: inline; }
}
@media (max-width: 640px) {
  .g-footer-cols { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .g-footer-phone-badge { margin: 0 auto; }
}
