/*
Theme Name: Greenway V1
Theme URI: https://greenwaydumpsters.com
Author: Code With Power
Author URI: https://codewithpower.com
Description: Custom theme for Greenway Dumpsters — black v1 chrome with locked design templates and ACF-driven editable content per page. Replaces the mu-plugin overlay with a real WordPress theme. Header menu and footer widgets are editable via WP admin.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: greenway-v1
*/

/* ============================================================
 * Greenway V1 — black chrome (ported from gw_v1wrap_css)
 * Scoped under .gwwrap-* so it can't bleed into legacy content.
 * ============================================================ */

/* --- Body reset (kills 8px white strip around content) --- */
html, body { margin: 0 !important; padding: 0 !important; background: #fff; }
body { overflow-x: hidden; }

/* --- Hide native GT3 / Elementor / WPDA chrome we don't render --- */
[data-elementor-type="wpda-header"],
[data-elementor-type="wpda-footer"] { display: none !important; }
#back_to_top, .back_to_top_container, .gt3_back2top { display: none !important; }
.sidebar-container, aside.sidebar, #custom_html-2, #custom_html-3 { display: none !important; }
.content-container, .span9, .row.template-content { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
.gt3-page-title, .page-title_wrapper, .gt3-page-title__inner, .gt3-page-title__content,
.gt3_breadcrumb, .page_title, .gt3-page-title_default { display: none !important; height: 0 !important; overflow: hidden !important; }
.wpda-builder-header, .wpda-builder-footer, .site-header, .site-footer,
.ewebot-header, .ewebot-footer, #header, #footer:not(.gwwrap-footer), #top-bar { display: none !important; }
.wpda-content-area { padding-top: 0 !important; }
.rev_slider_wrapper, .rev_slider, [id^="rev_slider_"], [class^="rev_slider_"] { display: none !important; }

/* --- Reset within wrap chrome only --- */
.gwwrap-header, .gwwrap-header *, .gwwrap-footer, .gwwrap-footer *,
.gwwrap-stop, .gwwrap-fab { box-sizing: border-box; }
.gwwrap-header, .gwwrap-footer, .gwwrap-stop, .gwwrap-fab {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.gwwrap-header h1, .gwwrap-header h2, .gwwrap-header h3, .gwwrap-header h4,
.gwwrap-header p, .gwwrap-header ul, .gwwrap-header ol, .gwwrap-header li,
.gwwrap-footer h1, .gwwrap-footer h2, .gwwrap-footer h3, .gwwrap-footer h4,
.gwwrap-footer p, .gwwrap-footer ul, .gwwrap-footer ol, .gwwrap-footer li {
  margin: 0; padding: 0; list-style: none;
}
.gwwrap-header img, .gwwrap-footer img { max-width: 100%; display: block; border: 0; height: auto; }
.gwwrap-header a, .gwwrap-footer a, .gwwrap-stop, .gwwrap-fab { text-decoration: none; }
.gwwrap-btn, .gwwrap-fab { line-height: 1; }
.gwwrap-hamb { margin: 0; }

/* === HEADER — black v1 chrome === */
.gwwrap-header { position: sticky; top: 0; z-index: 99990; background: #0c0d0c; box-shadow: 0 2px 14px rgba(0, 0, 0, .4); }
.gwwrap-nav { display: flex; align-items: center; justify-content: space-between; padding: 15px 24px; max-width: 1280px; margin: 0 auto; gap: 18px; }
.gwwrap-logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 18px; color: #fff; letter-spacing: .4px; }
.gwwrap-logo > div { white-space: nowrap; line-height: 1.1; }
.gwwrap-logo img { height: 58px; width: 58px; border-radius: 50%; display: block; object-fit: cover; box-shadow: 0 4px 12px rgba(0, 0, 0, .4); background: #fff; }
.gwwrap-g { color: #6cf042; }
.gwwrap-w { color: #fff; }
.gwwrap-menu { display: flex; gap: 22px; font-weight: 700; font-size: 14px; letter-spacing: .4px; color: #e9ede6; }
/* wp_nav_menu wraps items in <li> — style them like the bare-<a> fallback */
.gwwrap-menu li { list-style: none !important; margin: 0 !important; padding: 0 !important; display: flex; align-items: center; }
.gwwrap-menu li::before, .gwwrap-menu li::marker { display: none !important; content: none !important; }
.gwwrap-footer .gwwrap-fcol ul,
.gwwrap-footer .gwwrap-fcol li { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.gwwrap-footer .gwwrap-fcol li > a { display: block; color: #a8b0a3; font-size: 13.5px; padding: 5px 0; transition: .15s; text-decoration: none; }
.gwwrap-footer .gwwrap-fcol li > a:hover { color: #6cf042; }
@media (max-width: 980px) {
  .gwwrap-menu li { width: 100%; }
  .gwwrap-menu li > a { width: 100%; padding: 14px 24px; border-bottom: 1px solid #1f2521; color: #e9ede6; }
}
.gwwrap-menu a { position: relative; padding: 6px 0; color: #e9ede6; white-space: nowrap; transition: .18s; }
.gwwrap-menu a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: #6cf042; transition: .25s; }
.gwwrap-menu a:hover { color: #6cf042; }
.gwwrap-menu a:hover::after { width: 100%; }
.gwwrap-menu a.gwwrap-active,
.gwwrap-menu .current-menu-item > a,
.gwwrap-menu .current_page_item > a { color: #4999ff; }
.gwwrap-menu a.gwwrap-active::after,
.gwwrap-menu .current-menu-item > a::after,
.gwwrap-menu .current_page_item > a::after { width: 100%; background: #4999ff; }
.gwwrap-menu a.gwwrap-active:hover,
.gwwrap-menu .current-menu-item > a:hover,
.gwwrap-menu .current_page_item > a:hover { color: #4999ff; }
.gwwrap-right { display: flex; align-items: center; gap: 18px; }
.gwwrap-phone { font-weight: 800; font-size: 17px; color: #fff; white-space: nowrap; }
.gwwrap-phone small { display: block; font-size: 11px; color: #4999ff; letter-spacing: 1.2px; font-weight: 700; margin-top: 2px; text-transform: uppercase; }
.gwwrap-btn { display: inline-flex; flex-direction: column; align-items: center; background: #6cf042; color: #082b00; font-weight: 800; padding: 9px 18px; font-size: 14px; border-radius: 6px; letter-spacing: .4px; transition: .18s; min-width: 160px; }
.gwwrap-btn:hover { background: #7dff52; color: #082b00; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(108, 240, 66, .35); }
.gwwrap-btn-sub { display: block; font-size: 9.5px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; opacity: .72; margin-top: 2px; line-height: 1; }
.gwwrap-hamb { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.gwwrap-hamb span { width: 26px; height: 3px; background: #fff; border-radius: 2px; }

/* === FOOTER === */
.gwwrap-footer { background: linear-gradient(180deg, #0c0d0c 0%, #070807 100%); color: #a8b0a3; padding: 60px 0 30px; font-size: 14px; margin-top: 0; }
.gwwrap-fwrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.gwwrap-ftop { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid #2a2e29; }
.gwwrap-fbrand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.gwwrap-flogo { width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .4); flex-shrink: 0; object-fit: cover; }
.gwwrap-fbrand > div { display: flex; flex-direction: column; line-height: 1; }
.gwwrap-fg { font-size: 18px; font-weight: 900; color: #6cf042; letter-spacing: 1px; }
.gwwrap-fb { font-size: 11px; font-weight: 700; color: #4999ff; letter-spacing: 2.5px; margin-top: 3px; text-transform: uppercase; }
.gwwrap-fp { max-width: 340px; font-size: 13.5px; color: #a8b0a3; }
.gwwrap-fcount { color: #6cf042; font-weight: 800; }
.gwwrap-fphonewrap { margin-top: 14px; }
.gwwrap-fphone { color: #fff !important; font-weight: 900; font-size: 18px; }
.gwwrap-fcol h4 { font-size: 14px; font-weight: 900; color: #fff; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.gwwrap-fcol a { display: block; color: #a8b0a3; font-size: 13.5px; padding: 5px 0; transition: .15s; text-decoration: none; }
.gwwrap-fcol a:hover { color: #6cf042; }
.gwwrap-fbot { text-align: center; color: #6c7266; font-size: 11px; padding-top: 24px; letter-spacing: .5px; }
.gwwrap-fcwp { display: block; margin-top: 8px; font-size: 12px; opacity: .85; }
.gwwrap-fcwp a { color: #4999ff; font-weight: 800; text-decoration: none; }
.gwwrap-fcwp a:hover { color: #5fa8ff; }

/* === Floating fixtures === */
.gwwrap-stop { position: fixed; bottom: 86px; right: 18px; z-index: 9991; width: 44px; height: 44px; border-radius: 50%; background: rgba(15, 18, 15, .92); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; border: 1px solid #2a2e29; box-shadow: 0 8px 20px rgba(0, 0, 0, .4); opacity: 0; pointer-events: none; transition: .25s, transform 0s; }
.gwwrap-stop.on { opacity: 1; pointer-events: auto; }
.gwwrap-stop:hover { background: #4999ff; border-color: #4999ff; }
.gwwrap-fab { position: fixed; bottom: 20px; right: 18px; z-index: 9992; background: #6cf042; color: #082b00; font-weight: 900; padding: 13px 22px; border-radius: 6px; box-shadow: 0 12px 30px rgba(0, 0, 0, .35); font-size: 15px; display: flex; align-items: center; gap: 8px; letter-spacing: .4px; transition: transform .15s; }
.gwwrap-fab:hover { background: #7dff52; transform: translateY(-2px); color: #082b00; }

/* === MOBILE === */
@media (max-width: 980px) {
  .gwwrap-fab { opacity: .78; transition: opacity .2s, transform 0s; }
  .gwwrap-fab:hover, .gwwrap-fab:active, .gwwrap-fab:focus { opacity: 1 !important; }
  .gwwrap-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #0c0d0c; flex-direction: column; gap: 0; padding: 8px 0; border-bottom: 1px solid #1f2521; box-shadow: 0 12px 24px rgba(0, 0, 0, .5); }
  .gwwrap-menu.open { display: flex; }
  .gwwrap-menu a { padding: 14px 24px; border-bottom: 1px solid #1f2521; color: #e9ede6; }
  .gwwrap-hamb { display: flex; }
  .gwwrap-nav { padding: 10px 10px; position: relative; flex-wrap: nowrap; gap: 8px; align-items: center; }
  .gwwrap-phone small { display: none; }
  .gwwrap-right { display: grid; grid-template-columns: auto auto; grid-template-areas: "btn hamb" "phone hamb"; column-gap: 8px; row-gap: 4px; align-items: center; justify-content: end; gap: 4px; margin-left: auto; }
  .gwwrap-phone { grid-area: phone; min-width: 108px; text-align: center; font-size: 12px; font-weight: 900; padding: 4px 8px; white-space: nowrap; color: #fff; background: #1a1c1d; border: 1px solid #2a2e29; border-radius: 6px; letter-spacing: .2px; }
  .gwwrap-btn { grid-area: btn; min-width: 108px; padding: 5px 10px; font-size: 12.5px; justify-self: end; align-items: center; gap: 1px; line-height: 1.05; }
  .gwwrap-btn-sub { font-size: 8px; letter-spacing: .9px; }
  .gwwrap-hamb { grid-area: hamb; align-self: center; padding: 8px 4px 8px 10px; gap: 5px; margin-left: 8px; margin-right: -2px; }
  .gwwrap-hamb span { width: 30px; height: 4px; }
  .gwwrap-logo { gap: 8px; flex-shrink: 1; min-width: 0; }
  .gwwrap-logo > div { white-space: normal; font-size: 13.5px; line-height: 1.05; overflow: hidden; }
  .gwwrap-logo > div .gwwrap-g { display: block; font-size: 15.5px; line-height: 1.05; }
  .gwwrap-logo > div .gwwrap-w { font-size: 13.5px; }
  .gwwrap-logo img { height: 58px; width: 58px; flex-shrink: 0; }
  .gwwrap-fwrap { padding: 0 14px; }
  .gwwrap-ftop { grid-template-columns: 1fr 1fr; gap: 24px 18px; grid-template-areas: "brand brand" "explore area" "contact contact"; }
  .gwwrap-ftop > div:nth-child(1) { grid-area: brand; }
  .gwwrap-ftop > div:nth-child(2) { grid-area: explore; }
  .gwwrap-ftop > div:nth-child(3) { grid-area: area; }
  .gwwrap-ftop > div:nth-child(4) { grid-area: contact; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
  .gwwrap-ftop > div:nth-child(4) h4 { grid-column: 1/-1; margin-bottom: 0; }
}
