/*
Theme Name: CONMAC Disposal
Theme URI: https://conmacdisposal.com
Author: CONMAC Disposal
Description: Custom theme for CONMAC Disposal
Version: 2.4
*/

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

:root {
  --navy: #000435;
  --crimson: #BA0C2F;
  --section-bg: #D6DADB;
  --white: #ffffff;
  --text: #1a1a1a;
}

html { scroll-behavior: smooth; }
body { font-family: 'Barlow', sans-serif; font-size: 17px; color: var(--text); background: var(--white); line-height: 1.65; }
h1,h2,h3,h4,h5,h6 { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; line-height: 1.15; }
a { color: var(--crimson); text-decoration: none; }
a:hover { color: var(--crimson); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

/* ============================================================
   TOP BAR
============================================================ */
.top-bar { background: var(--navy); color: var(--white); font-size: 14px; padding: 8px 0; }
.top-bar .container { display: flex; justify-content: flex-end; align-items: center; gap: 28px; }
.top-bar a { color: var(--white); text-decoration: none; }
.top-bar a:hover { color: #e8c0c8; }
.top-bar-item { display: flex; align-items: center; gap: 7px; }

/* ============================================================
   HEADER
============================================================ */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--crimson);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  min-height: 0;
}



/* Logo — large enough to be visible */
.site-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.site-logo img { height: 100px; width: 100px; object-fit: contain; border-radius: 8px; }
.site-logo:hover { opacity: 0.85; text-decoration: none; }

/* Desktop nav */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; }
.main-nav li { list-style: none; }
.main-nav li a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 4px;
  display: block;
  text-decoration: none;
  transition: color 0.2s;
}
.main-nav li a:hover { color: var(--crimson); text-decoration: none; }
.main-nav li.current-menu-item > a { color: var(--crimson); }

/* Get a Quote — always visible in desktop nav */
.nav-quote-btn {
  display: inline-block;
  background: var(--crimson);
  color: var(--white) !important;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 11px 22px;
  border-radius: 4px;
  text-decoration: none !important;
  margin-left: 10px;
  transition: background 0.2s;
  white-space: nowrap;
}
.nav-quote-btn:hover { background: #950a26 !important; color: var(--white) !important; text-decoration: none !important; }

/* Hamburger — mobile only, RIGHT side */
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--navy);
  border-radius: 4px;
  padding: 9px 11px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 2px solid var(--crimson);
  padding: 12px 16px 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--navy);
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
}
.mobile-menu a:hover { color: var(--crimson); }
.mobile-quote-btn {
  display: block !important;
  background: var(--crimson) !important;
  color: var(--white) !important;
  text-align: center !important;
  padding: 13px !important;
  border-radius: 4px !important;
  margin-top: 12px !important;
  border-bottom: none !important;
  font-weight: 700 !important;
}
.mobile-quote-btn:hover { background: #950a26 !important; text-decoration: none !important; }

/* ============================================================
   HERO — two column
============================================================ */
.conmac-hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--navy);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://conmacdisposal.com/wp-content/uploads/2024/06/conmachome.jpg');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.22;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 48px 72px 60px;
}
.hero-aside {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  padding: 72px 60px 72px 40px;
  gap: 20px;
}
.hero-stat-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-left: 4px solid var(--crimson);
  border-radius: 8px;
  padding: 20px 28px;
  width: 260px;
}
.hsc-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  display: block;
}
.hsc-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
  display: block;
}

/* Hero badge — compact, text-only width */
.hero-badge {
  display: inline-block;
  background: rgba(186,12,47,0.18);
  border: 1px solid rgba(186,12,47,0.6);
  color: rgba(255,255,255,0.9);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 3px;
  margin-bottom: 22px;
  width: fit-content; /* never stretch full width */
  max-width: fit-content;
}
.hero-content h1 {
  font-size: clamp(52px, 6vw, 82px);
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  line-height: 0.98;
  margin-bottom: 20px;
}
.hero-content h1 em { font-style: normal; color: var(--crimson); display: block; }
.hero-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 32px;
  max-width: 500px;
  line-height: 1.6;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   BUTTONS
============================================================ */
.btn-primary { display: inline-block; background: var(--crimson); color: var(--white); font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 16px; letter-spacing: 1px; text-transform: uppercase; padding: 16px 36px; border-radius: 4px; text-decoration: none; transition: background 0.2s; text-align: center; }
.btn-primary:hover { background: #950a26; color: var(--white); text-decoration: none; }
.btn-outline { display: inline-block; background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.55); font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 16px; letter-spacing: 1px; text-transform: uppercase; padding: 14px 36px; border-radius: 4px; text-decoration: none; transition: border-color 0.2s; text-align: center; }
.btn-outline:hover { border-color: var(--white); color: var(--white); text-decoration: none; }
.btn-navy { display: inline-block; background: var(--navy); color: var(--white); font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 16px; letter-spacing: 1px; text-transform: uppercase; padding: 16px 36px; border-radius: 4px; text-decoration: none; transition: background 0.2s; text-align: center; }
.btn-navy:hover { background: #000118; color: var(--white); text-decoration: none; }
.btn-outline-dark { display: inline-block; background: transparent; color: var(--navy); border: 2px solid var(--navy); font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 16px; letter-spacing: 1px; text-transform: uppercase; padding: 14px 36px; border-radius: 4px; text-decoration: none; transition: all 0.2s; text-align: center; }
.btn-outline-dark:hover { background: var(--navy); color: var(--white); text-decoration: none; }

/* ============================================================
   STATS STRIP — reordered: 100%, 3, 2, 24/7
============================================================ */
.stats-strip { background: var(--crimson); padding: 26px 0; }
.stats-inner { display: flex; justify-content: space-around; align-items: center; flex-wrap: nowrap; gap: 8px; }
.stat-item { text-align: center; color: var(--white); }
.stat-number { font-family: 'Barlow Condensed', sans-serif; font-size: 38px; font-weight: 800; display: block; line-height: 1; }
.stat-label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; opacity: 0.88; margin-top: 4px; display: block; }

/* ============================================================
   SECTIONS
============================================================ */
.section { padding: 88px 0; }
.section-alt { background: var(--section-bg); }
.section-dark { background: var(--navy); }

.section-eyebrow { font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--crimson); display: block; margin-bottom: 12px; }
.section-title { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(36px, 4vw, 52px); font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.section-dark .section-title { color: var(--white); }
.section-sub { font-size: 18px; color: #5a5a5a; max-width: 580px; line-height: 1.6; margin-bottom: 52px; }
.section-dark .section-sub { color: rgba(255,255,255,0.72); }
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ============================================================
   HOW IT WORKS
============================================================ */
.steps-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.step-card { text-align: center; padding: 8px; }
.step-number { width: 56px; height: 56px; background: var(--crimson); color: var(--white); font-family: 'Barlow Condensed', sans-serif; font-size: 26px; font-weight: 800; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.step-card h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.step-card p { font-size: 15px; color: #666; line-height: 1.55; }

/* ============================================================
   DUMPSTER OPTIONS
============================================================ */
.dumpsters-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.dumpster-card { background: var(--white); border-radius: 12px; border: 2px solid #e0e0e0; overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; }
.dumpster-card:hover { border-color: var(--crimson); box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
.dumpster-img { width: 100%; background: #f5f5f5; display: flex; align-items: center; justify-content: center; padding: 28px 24px; border-bottom: 1px solid #e8e8e8; }
.dumpster-img img { width: 100%; max-height: 200px; object-fit: contain; }
.dumpster-body { padding: 28px 28px 32px; flex: 1; display: flex; flex-direction: column; }
.dumpster-body h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 28px; font-weight: 800; color: var(--navy); margin-bottom: 18px; }
.dumpster-specs { list-style: none; margin-bottom: 26px; flex: 1; }
.dumpster-specs li { padding: 10px 0; border-bottom: 1px solid #f0f0f0; font-size: 16px; color: #444; }
.dumpster-specs li:last-child { border-bottom: none; }
.dumpster-specs strong { color: var(--navy); }

/* ============================================================
   WHY CONMAC
============================================================ */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 32px 24px; }
.feature-icon { display: flex; align-items: center; width: 32px; height: 32px; margin-bottom: 18px; }
.feature-icon svg { display: block; flex-shrink: 0; }
.feature-card h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.feature-card p { font-size: 15px; color: rgba(255,255,255,0.72); line-height: 1.6; }

/* ============================================================
   CTA
============================================================ */
.cta-section { background: var(--section-bg); padding: 88px 0; text-align: center; }
.cta-section h2 { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(34px, 4vw, 54px); font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.cta-section p { font-size: 18px; color: #555; max-width: 580px; margin: 0 auto 36px; line-height: 1.6; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
============================================================ */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.65); padding: 56px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo-wrap { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; text-decoration: none; }
.footer-logo-wrap img { height: 48px; width: 48px; object-fit: contain; border-radius: 6px; }
.footer-logo-wrap span { font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 800; color: var(--white); text-transform: uppercase; letter-spacing: 1px; }
.footer-brand p { font-size: 15px; line-height: 1.65; max-width: 280px; }
.footer-col h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.footer-col a { display: block; color: rgba(255,255,255,0.6); font-size: 15px; margin-bottom: 10px; text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--crimson); }
.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: 10px; font-size: 14px; }


/* ============================================================
   INNER PAGE CONTENT — polished typography and spacing
============================================================ */
.page-content { padding: 72px 0 88px; }
.page-content .container { max-width: 960px; }

/* Article base */
.page-content article { font-size: 17px; line-height: 1.75; color: #2a2a2a; }

/* Headings */
.page-content h1.wp-block-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 800;
  color: #000435;
  margin-bottom: 20px;
  line-height: 1.1;
}
.page-content h2.wp-block-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  color: #000435;
  margin: 48px 0 16px;
  padding-bottom: 10px;
  border-bottom: 3px solid #BA0C2F;
  line-height: 1.15;
}
.page-content h3.wp-block-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #000435;
  margin: 24px 0 10px;
}
.page-content .has-text-align-center { text-align: center; }
.page-content .has-text-align-center h2.wp-block-heading { border-bottom: none; }
.page-content .has-text-align-center h2.wp-block-heading::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #BA0C2F;
  margin: 10px auto 0;
}

/* Paragraphs */
.page-content p.has-text-align-center { text-align: center; }
.page-content .wp-block-paragraph { font-size: 17px; margin-bottom: 20px; color: #2a2a2a; }

/* Columns — add visual separation */
.page-content .wp-block-columns {
  gap: 32px;
  margin: 32px 0 8px;
}
.page-content .wp-block-column {
  background: #f8f8f8;
  border-radius: 8px;
  padding: 24px 22px;
  border-left: 4px solid #BA0C2F;
}
.page-content .wp-block-column h3.wp-block-heading {
  margin-top: 0;
  font-size: 19px;
  color: #000435;
}
.page-content .wp-block-column p { font-size: 15px; color: #444; margin-bottom: 0; }

/* Lists */
.page-content .wp-block-list {
  padding-left: 20px;
  margin: 16px 0 24px;
}
.page-content .wp-block-list li {
  font-size: 16px;
  margin-bottom: 10px;
  color: #2a2a2a;
  line-height: 1.6;
}
.page-content .wp-block-list li strong { color: #000435; }

/* Ordered list */
.page-content ol.wp-block-list { list-style: decimal; }
.page-content ol.wp-block-list li { padding-left: 6px; }

/* Separators */
.page-content .wp-block-separator {
  margin: 48px 0;
  border: none;
  border-top: 1px solid #e0e0e0;
}

/* Buttons */
.page-content .wp-block-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 32px 0;
}
.page-content .wp-block-buttons.are-vertically-aligned-top { align-items: flex-start; }
.page-content .wp-block-button__link {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  padding: 14px 32px !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  display: inline-block !important;
}
.page-content .wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background: #BA0C2F !important;
  color: #ffffff !important;
}
.page-content .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
  background: #950a26 !important;
}
.page-content .wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent !important;
  color: #000435 !important;
  border: 2px solid #000435 !important;
}
.page-content .wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: #000435 !important;
  color: #ffffff !important;
}

/* Shortcode / form area */
.page-content .wp-block-shortcode { margin: 32px 0; }

/* Remove WordPress "Like" and social sharing UI from posts */
.sharedaddy, .jp-relatedposts, .wpl-likebox,
.post-likes-widget-wrapper, .sd-like,
.jetpack-likes-widget-wrapper { display: none !important; }

@media (max-width: 768px) {
  .page-content { padding: 48px 0 64px; }
  .page-content .wp-block-columns { flex-direction: column; gap: 16px; }
  .page-content .wp-block-buttons { flex-direction: column; }
}


/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .conmac-hero { grid-template-columns: 1fr; }
  .hero-aside { display: none; }
  .hero-content { padding: 64px 40px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Show hamburger on RIGHT, hide desktop nav */
  .nav-toggle { display: flex; }
  .desktop-nav { display: none; }
  .site-logo img { height: 76px; width: 76px; }
  .header-inner { padding: 8px 0; }

  .site-header { position: relative; }
  .conmac-hero { min-height: auto; }
  .hero-content { padding: 52px 24px; margin: 0; }
  .hero-badge { width: fit-content; max-width: fit-content; }

  /* Steps: 2-2-1, last centered */
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .steps-grid .step-card:last-child { grid-column: 1 / -1; max-width: 200px; margin: 0 auto; }

  .dumpsters-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .stats-strip { padding: 18px 8px; }
  .stat-number { font-size: 22px; }
  .stat-label { font-size: 9px; letter-spacing: 0; }
  .hero-buttons { flex-direction: column; }
  .stats-inner { gap: 4px; }
  .stat-number { font-size: 26px; }
  .stat-label { font-size: 10px; letter-spacing: 0.5px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid .step-card:last-child { grid-column: auto; max-width: none; }
}
