/* ============================================================
   Pearl Portable Porta Potty — Main Stylesheet
   ============================================================ */

:root {
  --navy: #0d2b4e;
  --navy-light: #1a3f6f;
  --orange: #e85d04;
  --orange-hover: #c44c03;
  --green: #2d7d46;
  --light-bg: #f4f7fb;
  --gray: #6b7280;
  --border: #dde3ed;
  --white: #ffffff;
  --text: #1a1a2e;
  --shadow: 0 4px 20px rgba(13,43,78,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--orange); }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== TOP BAR ===== */
.topbar {
  background: var(--navy);
  color: var(--white);
  padding: 8px 0;
  font-size: 14px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar a { color: #a8c7f0; }
.topbar a:hover { color: var(--white); }

/* ===== HEADER ===== */
header {
  background: var(--white);
  border-bottom: 2px solid var(--orange);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  flex-wrap: wrap;
  gap: 12px;
}
.logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}
.logo span { color: var(--orange); }
.logo small { display: block; font-size: 12px; font-weight: 400; color: var(--gray); }

nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
nav a {
  padding: 7px 13px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  border-radius: 4px;
  transition: background 0.2s;
}
nav a:hover, nav a.active { background: var(--light-bg); color: var(--orange); }

.btn-call-header {
  background: var(--orange);
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: 6px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  transition: background 0.2s !important;
  white-space: nowrap;
}
.btn-call-header:hover { background: var(--orange-hover) !important; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50px; right: -80px;
  width: 500px; height: 500px;
  background: rgba(232,93,4,0.12);
  border-radius: 50%;
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-badge {
  display: inline-block;
  background: rgba(232,93,4,0.2);
  border: 1px solid var(--orange);
  color: #fca963;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
}
.hero h1 span { color: var(--orange); }
.hero p {
  font-size: 18px;
  color: #c8d9ee;
  margin-bottom: 32px;
  max-width: 600px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 800;
  transition: background 0.2s, transform 0.1s;
}
.btn-primary:hover { background: var(--orange-hover); color: var(--white); transform: translateY(-1px); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.08); color: var(--white); }

.hero-trust {
  margin-top: 36px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #a8c7f0;
}
.trust-item .icon { font-size: 20px; }

/* ===== SECTION COMMONS ===== */
section { padding: 70px 0; }
.section-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--orange);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.25;
}
.section-sub {
  color: var(--gray);
  font-size: 17px;
  max-width: 620px;
  margin-bottom: 40px;
}
.bg-light { background: var(--light-bg); }

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 10px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service-icon {
  font-size: 42px;
  margin-bottom: 16px;
}
.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-card p { color: var(--gray); font-size: 15px; margin-bottom: 18px; }
.service-card a.learn-more {
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== LOCATIONS GRID ===== */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 10px;
}
.location-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px 22px;
  transition: box-shadow 0.2s;
}
.location-card:hover { box-shadow: var(--shadow); }
.location-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.location-card .address { font-size: 14px; color: var(--gray); margin-bottom: 10px; }
.location-card .phone { font-size: 17px; font-weight: 700; color: var(--orange); display: block; margin-bottom: 12px; }
.location-card .btn-loc {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.2s;
}
.location-card .btn-loc:hover { background: var(--orange); }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--orange) 0%, #c44c03 100%);
  color: var(--white);
  padding: 70px 0;
  text-align: center;
}
.cta-section h2 { font-size: clamp(24px, 4vw, 38px); font-weight: 800; margin-bottom: 14px; }
.cta-section p { font-size: 18px; color: rgba(255,255,255,0.88); margin-bottom: 30px; }
.btn-call-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--orange);
  padding: 18px 40px;
  border-radius: 8px;
  font-size: 22px;
  font-weight: 900;
  transition: transform 0.2s;
}
.btn-call-white:hover { transform: scale(1.03); color: var(--orange-hover); }

/* ===== FAQ ===== */
.faq-list { max-width: 820px; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.faq-item h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  cursor: pointer;
}
.faq-item p { color: var(--gray); font-size: 15px; line-height: 1.7; }

/* ===== TRUST BADGES ===== */
.trust-section { padding: 50px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-badge { text-align: center; }
.trust-badge .num { font-size: 36px; font-weight: 900; color: var(--navy); }
.trust-badge .label { font-size: 14px; color: var(--gray); }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  background: var(--light-bg);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  list-style: none;
}
.breadcrumb li { font-size: 13px; color: var(--gray); }
.breadcrumb li a { color: var(--navy); }
.breadcrumb li + li::before { content: '›'; margin-right: 6px; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 60px 0 50px;
}
.page-hero h1 { font-size: clamp(24px, 4vw, 42px); font-weight: 800; margin-bottom: 12px; }
.page-hero p { font-size: 17px; color: #b8d0e8; max-width: 680px; }

/* ===== MAP EMBED ===== */
.map-embed { border-radius: 10px; overflow: hidden; border: 2px solid var(--border); }
.map-embed iframe { width: 100%; height: 420px; border: none; }

/* ===== CITATIONS ===== */
.citations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.citation-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 18px;
  text-align: center;
}
.citation-item a { font-weight: 600; color: var(--navy); font-size: 15px; }
.citation-item a:hover { color: var(--orange); }

/* ===== CONTENT PAGE ===== */
.content-area { max-width: 860px; }
.content-area h2 { font-size: 26px; font-weight: 700; color: var(--navy); margin: 36px 0 12px; }
.content-area h3 { font-size: 20px; font-weight: 700; color: var(--navy-light); margin: 28px 0 10px; }
.content-area p { color: var(--gray); margin-bottom: 16px; line-height: 1.8; }
.content-area ul { margin: 12px 0 20px 20px; }
.content-area ul li { list-style: disc; color: var(--gray); margin-bottom: 8px; }
.content-area a { color: var(--navy); text-decoration: underline; }
.content-area a:hover { color: var(--orange); }

/* ===== SIDEBAR CTA ===== */
.sidebar-cta {
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
  padding: 30px 24px;
  text-align: center;
  position: sticky;
  top: 90px;
}
.sidebar-cta h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.sidebar-cta p { font-size: 14px; color: #a8c7f0; margin-bottom: 20px; }
.sidebar-phone {
  display: block;
  background: var(--orange);
  color: var(--white);
  padding: 16px 10px;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 12px;
  transition: background 0.2s;
}
.sidebar-phone:hover { background: var(--orange-hover); color: var(--white); }
.sidebar-cta .hours { font-size: 13px; color: #7fa8d0; margin-top: 14px; }

/* ===== TWO-COL LAYOUT ===== */
.two-col { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  color: #a8c7f0;
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo-foot { font-size: 20px; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.footer-brand .logo-foot span { color: var(--orange); }
.footer-brand p { font-size: 14px; line-height: 1.7; color: #7fa8d0; }
.footer-col h4 { color: var(--white); font-size: 15px; font-weight: 700; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #7fa8d0; font-size: 14px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #5d7fa0;
}
.footer-bottom a { color: #7fa8d0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  nav { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-badges { gap: 24px; }
  .hero { padding: 50px 0; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  nav a { font-size: 13px; padding: 6px 10px; }
}

/* ===== STICKY CALL BAR (mobile) ===== */
.sticky-call {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--orange);
  color: var(--white);
  text-align: center;
  padding: 14px;
  font-size: 18px;
  font-weight: 800;
  z-index: 9999;
  text-decoration: none;
}
.sticky-call:hover { background: var(--orange-hover); color: var(--white); }
@media (max-width: 768px) { .sticky-call { display: block; } body { padding-bottom: 54px; } }
