/* Global CSS — Gigantix Porta Potty Rental Wichita — Modern Redesign */
:root {
  --navy: #0F2044;
  --navy-light: #1A3360;
  --gold: #C4A24E;
  --gold-dark: #A8872E;
  --gold-light: #D4B86A;
  --dark: #091530;
  --bg: #FAFAF8;
  --bg-alt: #F4F1EB;
  --text: #2D3142;
  --text-light: #6B7280;
}

body.nav-open { overflow: hidden; }

/* ============ HEADER ============ */
.g-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(250,250,248,.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15,32,68,.06);
  transition: background .3s;
}
.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: 68px; 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: var(--text);
  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: var(--bg-alt); color: var(--navy); }
.g-nav-item.active .g-nav-btn { color: var(--gold); }
.g-chevron { transition: transform .2s; flex-shrink: 0; }
.g-header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff !important; font-weight: 700; padding: 10px 22px;
  border-radius: 10px; font-size: 14px; text-decoration: none;
  box-shadow: 0 4px 20px rgba(196,162,78,.35), 0 0 12px rgba(196,162,78,.15);
  transition: all .25s; margin-left: 12px; white-space: nowrap; flex-shrink: 0;
}
.g-header-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(196,162,78,.5), 0 0 20px rgba(196,162,78,.2);
}

/* ============ MEGA DROPDOWN ============ */
.g-mega {
  display: none; position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%);
  background: #fff; border-radius: 16px; padding: 24px;
  box-shadow: 0 20px 60px rgba(15,32,68,.12), 0 0 0 1px rgba(15,32,68,.06);
  z-index: 100; min-width: 280px;
  opacity: 0; transition: opacity .15s, transform .15s;
  transform: translateX(-50%) translateY(4px);
}
.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-heading {
  font-size: 11px; font-weight: 700; color: var(--navy); text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 10px; padding-bottom: 6px;
  border-bottom: 2px solid var(--gold-light);
}
.g-mega-link {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 12px; border-radius: 10px; text-decoration: none; transition: background .15s;
}
.g-mega-link:hover { background: var(--bg-alt); }
.g-mega-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.g-mega-link strong { display: block; font-size: 13.5px; color: var(--text); font-weight: 600; }
.g-mega-link small { display: block; font-size: 12px; color: var(--text-light); margin-top: 2px; line-height: 1.4; }
.g-mega-link:hover strong { color: var(--gold-dark); }
.g-mega-viewall {
  display: inline-block; font-size: 13px; font-weight: 700;
  color: var(--gold) !important; text-decoration: none; padding: 4px 0;
}
.g-mega-viewall:hover { color: var(--gold-dark) !important; }

/* Hamburger */
.g-hamburger {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; z-index: 1002; flex-direction: column; gap: 5px;
}
.g-hamburger span {
  display: block; width: 24px; height: 2.5px; background: var(--navy);
  border-radius: 2px; transition: all .3s;
}
.g-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.g-hamburger.active span:nth-child(2) { opacity: 0; }
.g-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============ MOBILE NAV ============ */
@media (max-width: 960px) {
  .g-hamburger { display: flex; }
  .g-nav {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100vh; height: 100dvh;
    background: rgba(250,250,248,.98); backdrop-filter: blur(20px);
    flex-direction: column; z-index: 1001;
    padding: 80px 0 100px; overflow-y: auto; align-items: stretch;
  }
  .g-nav.open { display: flex; }
  .g-nav-inner { flex-direction: column; align-items: stretch; width: 100%; padding: 0 20px; }
  .g-nav-item { border-bottom: 1px solid rgba(15,32,68,.06); }
  .g-nav-btn { width: 100%; justify-content: space-between; padding: 18px 4px; font-size: 18px; font-weight: 700; border-radius: 0; }
  .g-nav-btn:hover { background: none; }
  .g-mega {
    position: static !important; left: auto !important; transform: none !important;
    box-shadow: none; border: none; border-radius: 0;
    padding: 0 0 12px 8px; min-width: 0 !important; width: 100%; opacity: 1;
  }
  .g-mega-grid { display: block !important; }
  .g-mega-grid.cols-2 { min-width: 0 !important; }
  .g-mega-section { margin-bottom: 8px; }
  .g-mega-link { padding: 8px 4px; }
  .g-nav-item .g-mega { display: none; }
  .g-nav-item.mob-open .g-mega { display: block; }
  .g-nav-item.mob-open .g-chevron { transform: rotate(180deg); }
  .g-header-cta {
    margin: 20px 20px 0; text-align: center; justify-content: center;
    padding: 16px 24px; font-size: 16px;
  }
}

/* ============ FOOTER ============ */
.g-footer { background: linear-gradient(180deg, var(--dark) 0%, var(--navy) 100%); color: rgba(255,255,255,.8); }
.g-footer a { color: rgba(255,255,255,.65); text-decoration: none; transition: color .2s; }
.g-footer a:hover { color: var(--gold); }
.g-footer-top { max-width: 1260px; margin: 0 auto; padding: 64px 24px 44px; }
.g-footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
.g-footer-col h4 {
  color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 18px;
  text-transform: uppercase; letter-spacing: 1.2px;
}
.g-footer-col a { display: block; font-size: 13.5px; padding: 5px 0; }
.g-footer-brand { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.g-footer-brand span { color: var(--gold-light); }
.g-footer-tagline { font-size: 13.5px; line-height: 1.7; margin-bottom: 20px; }
.g-footer-social { display: flex; gap: 12px; align-items: center; margin-top: 16px; }
.g-footer-social-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; transition: all .2s; color: rgba(255,255,255,.6);
}
.g-footer-social-icon:hover { background: rgba(196,162,78,.15); color: var(--gold); border-color: var(--gold); }
.g-footer-phone-badge {
  display: inline-block; background: rgba(196,162,78,.12); border: 1px solid rgba(196,162,78,.25);
  padding: 8px 16px; border-radius: 8px; font-size: 14px; font-weight: 600;
  color: var(--gold-light) !important; transition: background .2s;
}
.g-footer-phone-badge:hover { background: rgba(196,162,78,.2); }
.g-footer-nap {
  max-width: 1260px; margin: 0 auto; padding: 40px 24px;
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start;
  border-top: 1px solid rgba(255,255,255,.06);
}
.g-nap-info h4 { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.g-nap-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 15px; }
.g-nap-row svg { flex-shrink: 0; }
.g-nap-cta {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 16px; background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff !important; font-weight: 700; padding: 14px 30px; border-radius: 12px;
  font-size: 16px; text-decoration: none;
  box-shadow: 0 6px 20px rgba(196,162,78,.35); transition: all .3s;
}
.g-nap-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 30px rgba(196,162,78,.5); color: #fff !important;
}
.g-footer-copy {
  max-width: 1260px; margin: 0 auto;
  text-align: center; padding: 20px 24px; font-size: 13px;
  border-top: 1px solid rgba(255,255,255,.06); color: rgba(255,255,255,.3);
}
@media (max-width: 900px) {
  .g-footer-cols { grid-template-columns: 1fr 1fr; }
  .g-footer-nap { grid-template-columns: 1fr; }
  .brand-col { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .g-footer-cols { grid-template-columns: 1fr; }
}

/* ============ FLOAT CTA ============ */
.g-float-cta {
  position: fixed; bottom: 28px; right: 28px; z-index: 9999;
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff !important; font-size: 16px; font-weight: 800;
  padding: 16px 28px; border-radius: 60px; text-decoration: none;
  box-shadow: 0 8px 30px rgba(196,162,78,.45), 0 2px 8px rgba(0,0,0,.15);
  transition: all .3s; animation: gFloatPulse 2.5s ease-in-out infinite;
}
.g-float-cta:hover {
  transform: translateY(-3px) scale(1.03); color: #fff !important;
  box-shadow: 0 12px 40px rgba(196,162,78,.6);
}
.g-float-cta svg { flex-shrink: 0; }
.g-float-cta .cta-full { display: inline; }
.g-float-cta .cta-short { display: none; }
@keyframes gFloatPulse {
  0%,100% { box-shadow: 0 8px 30px rgba(196,162,78,.45); }
  50% { box-shadow: 0 8px 40px rgba(196,162,78,.7); }
}
@media (max-width: 600px) {
  .g-float-cta { bottom: 20px; right: 20px; padding: 14px 20px; font-size: 14px; }
  .g-float-cta .cta-full { display: none; }
  .g-float-cta .cta-short { display: inline; }
}

/* ============ BLOG FEATURED IMAGE ============ */
.blog-hero-img, .article-featured-img {
  width: 100%; height: auto; object-fit: contain;
  border-radius: 16px; margin: 0 0 32px; display: block;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.article-wrap img {
  max-width: 100%; height: auto; border-radius: 16px;
  margin: 24px 0; display: block;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
/* Featured thumbnail images (YouTube style) in blog/project hubs */
.blog-card img, .project-card img, .blog-featured img, .blog-side img {
  width: 100%; height: auto; object-fit: cover; display: block; border-radius: 12px;
}

/* ============ TESTIMONIALS / REVIEWS ============ */
.rev-slider {
  overflow: hidden; max-width: 100%; position: relative;
}
.rev-track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; padding: 8px 0 20px;
  scrollbar-width: none;
}
.rev-track::-webkit-scrollbar { display: none; }
.rev-card {
  flex: 0 0 340px; scroll-snap-align: start;
  background: #fff; border-radius: 16px; padding: 32px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06); border: 1px solid rgba(15,32,68,.06);
}
.rev-stars { color: var(--gold); font-size: 18px; margin-bottom: 14px; letter-spacing: 2px; }
.rev-card p { font-size: 15px; line-height: 1.7; color: var(--text); margin-bottom: 16px; }
.rev-author { font-weight: 700; color: var(--navy); font-size: 15px; }
.rev-role { font-size: 13px; color: var(--text-light); margin-top: 2px; }
@media (max-width: 768px) {
  .rev-card { flex: 0 0 calc(100vw - 64px); padding: 24px 20px; }
  .rev-track { gap: 16px; padding: 8px 4px 20px; }
}
@media (max-width: 480px) {
  .rev-card { flex: 0 0 calc(100vw - 48px); }
}

/* Dark section background fixes */
.hero { background: linear-gradient(135deg, var(--navy) 0%, var(--dark) 50%, var(--navy-light) 100%) !important; color: #fff !important; }
.svc-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--dark) 100%) !important; color: #fff !important; }
.cta-banner { background: linear-gradient(135deg, var(--navy), var(--navy-light)) !important; color: #fff !important; }
.contact-dark { background: var(--dark) !important; color: #fff !important; }
.contact-dark .cta-btn, .contact-dark a.cta-btn { background: linear-gradient(135deg, var(--gold), var(--gold-dark)) !important; color: #fff !important; display: inline-block; padding: 16px 32px; border-radius: 50px; font-weight: 700; font-size: 16px; text-decoration: none; }

/* Grid overflow fix */
.hero-grid > div, .svc-hero-grid > div, .founder-grid > div, .nap-grid > div,
.contact-grid > div { min-width: 0; overflow-wrap: break-word; word-wrap: break-word; }

@media (max-width: 960px) {
  .svc-hero-img { max-width: 100% !important; width: 100% !important; height: auto; }
}
