/* ==========================================================================
   CurbCycle — site styles
   Rebuilt from the original WordPress (Themify Ultra) theme.
   ========================================================================== */

:root {
  --green: #93d500;        /* headings, page bands */
  --green-alt: #95c93d;    /* home band, footer links, labels */
  --green-btn: #96c83d;    /* "Submit Request Now" button */
  --dark: #231f20;         /* footer background */
  --dark-hover: #222020;
  --red: #f55f5f;          /* "How it works" button */
  --text: #3d3d3d;
  --white: #ffffff;
  --page-width: 1160px;
  --font: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1em;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  /* keep the footer at the bottom of the window on short pages */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green); text-decoration: none; transition: color .2s, background-color .2s; }
a:hover { color: var(--dark); }

h1, h2, h3 { color: var(--green); line-height: 1.3; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: 2.6em; }
h2 { font-size: 2em; }
h3 { font-size: 1.5em; }
p  { margin: 0 0 1.2em; }

.container { width: 90%; max-width: var(--page-width); margin: 0 auto; }
.center { text-align: center; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--green); color: var(--white); padding: .5em 1em; z-index: 1000;
}
.skip-link:focus { left: 1em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 1px 8px rgba(0,0,0,.12); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  margin: 0 5%; padding: 18px 0;
}
.site-logo img { width: 250px; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex-wrap: wrap; }
.main-nav a {
  display: block; padding: .6em 1em; color: #000; font-size: 1em;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--green); }
.main-nav .highlight a {
  background: var(--green-btn); color: var(--white);
  border-radius: 30px; padding: .6em 1.4em; margin-left: .6em;
}
.main-nav .highlight a:hover { background: var(--dark-hover); color: var(--white); }

.menu-toggle, .menu-close {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 26px; height: 3px; background: #000; border-radius: 2px; position: relative;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -8px; }
.menu-toggle span::after  { top: 8px; }

.menu-overlay { display: none; }

@media (max-width: 1100px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: 300px; max-width: 85vw;
    background: var(--dark); padding: 60px 0 30px; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s ease; z-index: 200;
  }
  .main-nav.open { transform: none; }
  .main-nav ul { flex-direction: column; align-items: stretch; }
  .main-nav a { color: var(--white); padding: .8em 1.6em; }
  .main-nav .highlight a { margin: 1em 1.6em 0; text-align: center; }
  .menu-close {
    display: block; position: absolute; top: 12px; right: 14px;
    color: var(--white); font-size: 30px; line-height: 1;
  }
  .menu-overlay.open {
    display: block; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 150;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .8em 1.8em; border-radius: 40px; font-weight: 700;
  color: var(--white); background: var(--green); border: 2px solid transparent;
}
.btn:hover { background: var(--dark); color: var(--white); }
.btn-large { font-size: 1.2em; padding: .9em 2.2em; }
.btn-red { background: var(--red); border-color: var(--white); }
.btn-red:hover { background: var(--white); color: var(--red); }
.btn svg { width: 1em; height: 1em; fill: currentColor; }

/* ---------- Home hero ---------- */
.home-hero {
  position: relative; color: var(--white); text-align: center;
  background: url("../images/shutterstock_1080861506.min_-scaled.jpg") center / cover no-repeat;
  padding: 75px 0;
}
.home-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.home-hero > * { position: relative; }
.home-hero .hero-logo { width: 600px; margin: 0 auto; }
.home-hero .app-title {
  font-size: 32px; font-weight: 700; text-transform: uppercase;
  margin: 10px 0 9px; color: var(--white);
}
.home-hero .app-icon-link { display: block; width: fit-content; margin: 0 auto 10px; border-radius: 22px; }
.home-hero .app-icon { width: 150px; border-radius: 22px; }
.home-hero .app-badges {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 16px 24px; margin-bottom: 20px;
}
.home-hero .app-badge { width: 253px; }
/* Google's badge image has built-in transparent padding. The link is sized to the visible
   badge and clips the padding, so only the badge itself is clickable. */
.home-hero .play-link { display: block; width: 285px; height: 84px; overflow: hidden; border-radius: 10px; }
.home-hero .play-badge { width: 327px; max-width: none; margin: -21px; }
@media (max-width: 600px) {
  .home-hero .app-badges { gap: 12px 14px; }
  .home-hero .app-badge { width: 150px; }
  .home-hero .play-link { width: 169px; height: 50px; border-radius: 6px; }
  .home-hero .play-badge { width: 194px; margin: -12.5px; }
}
.home-hero .hero-actions { padding: 24px 0; }

/* ---------- Disposal categories ---------- */
.categories { padding: 35px 0; }
.categories h2 { text-align: center; margin-bottom: 1em; }
.category-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
  list-style: none; margin: 0; padding: 0; text-align: center;
}
.category-grid img { width: 200px; margin: 0 auto; }
.category-grid span {
  display: block; padding-top: 15px; font-size: 20px; font-weight: 700; color: var(--green-alt);
}
@media (max-width: 760px) { .category-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Green bands ---------- */
.band { background: var(--green); color: var(--white); padding: 35px 0; }
.band-alt { background: var(--green-alt); }
.band h1, .band h2, .band h3, .band p, .band li { color: var(--white); }
.band a { color: var(--white); text-decoration: underline; font-weight: 700; }
.band a:hover { color: var(--dark); }
.band-intro { font-size: 20px; line-height: 28px; font-weight: 700; text-align: center; padding: 25px 0; }
.band-intro p:last-child { margin-bottom: 0; }

.reminders h2 { text-align: center; }
.reminders ul { padding-left: 1.2em; }
.reminders li { margin-bottom: .9em; }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; text-align: center;
  background-size: cover; background-repeat: no-repeat; background-position: center;
  background-attachment: fixed;
  padding: 80px 0;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.25); }
.page-hero h1 { position: relative; color: var(--white); margin: 0; text-shadow: 0 2px 8px rgba(0,0,0,.35); }
/* iOS / touch devices don't support fixed backgrounds well */
@media (hover: none), (max-width: 900px) { .page-hero { background-attachment: scroll; } }

/* ---------- Content sections ---------- */
.section { padding: 25px 0; }
.section-lg { padding: 50px 0; }
.lead { font-size: 20px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.two-col.middle { align-items: center; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; gap: 24px; } }

/* About: core beliefs over photo */
.beliefs {
  position: relative; color: var(--white); padding: 40px 0; margin-bottom: 25px;
  background: var(--green) url("../images/bottles-dirty-disposal-2547565.jpg") 48.67% 57.5% / cover no-repeat fixed;
}
.beliefs::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.beliefs .container { position: relative; }
.beliefs p { color: var(--white); }
.beliefs .belief-title { font-size: 20px; font-weight: 700; text-align: center; }
@media (hover: none), (max-width: 900px) { .beliefs { background-attachment: scroll; } }

.cta-row { display: grid; grid-template-columns: 1.43fr 1fr; gap: 20px; align-items: center; margin-top: 1.5em; }
.cta-row p { font-size: 22px; line-height: 28px; margin: 0; }
.cta-row .cta-btn { text-align: right; }
@media (max-width: 500px) { .cta-row { grid-template-columns: 1fr; } .cta-row .cta-btn { text-align: left; } }

/* What We Do: icon + text rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 25px 0; }
.feature img { width: 240px; margin: 0 auto; }
.feature p { font-size: 1.1em; }
@media (max-width: 760px) { .feature { grid-template-columns: 1fr; text-align: center; gap: 10px; } .feature img { width: 160px; } }

/* Disposal 101 */
.tips { list-style: none; padding: 0; margin: 0 0 1.5em; }
.tips li { position: relative; padding-left: 1.8em; margin-bottom: .7em; }
.tips li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: .8em; height: .8em; border-radius: 50%; background: var(--green);
}
.tips strong { color: var(--green); }
.gallery { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; padding: 25px 0; }
.gallery a { display: block; max-width: 420px; box-shadow: 0 2px 12px rgba(0,0,0,.12); }
.gallery a:hover { opacity: .9; }

/* Partner */
.seeking { columns: 2; padding-left: 1.2em; }
@media (max-width: 600px) { .seeking { columns: 1; } }

/* ---------- Contact form ---------- */
.contact-form { max-width: 760px; margin: 0 auto; }
.form-row { margin-bottom: 1.4em; }
.form-row label, .form-row legend { display: block; font-weight: 700; margin-bottom: .4em; color: var(--dark); }
.form-row .req { font-weight: 400; font-size: .85em; color: #777; margin-left: .3em; }
.form-row fieldset { border: 0; padding: 0; margin: 0; }
.name-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.name-grid small { display: block; font-size: .85em; color: #666; margin-top: .25em; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: .75em .9em; font: inherit; color: inherit;
  border: 1px solid #ccc; border-radius: 4px; background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--green); border-color: var(--green); }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5em 1.5em; }
.check-grid label { display: flex; align-items: center; gap: .5em; font-weight: 400; margin: 0; cursor: pointer; }
.contact-form .check-grid input { width: auto; margin: 0; accent-color: var(--green); transform: scale(1.2); }
.partner-form-section { background: #f6f9f0; }
.email-cta { text-align: center; max-width: 640px; margin: 0 auto; }
.email-cta p { font-size: 1.1em; margin-bottom: 1.4em; }
@media (max-width: 500px) { .check-grid { grid-template-columns: 1fr; } }
.contact-form button { font: inherit; font-size: 1.1em; cursor: pointer; border: 0; }
.contact-form .hp { position: absolute; left: -9999px; }
.form-status { margin-top: 1em; font-weight: 700; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #c0392b; }
@media (max-width: 500px) { .name-grid { grid-template-columns: 1fr; } }

/* ---------- Legal pages (Privacy Policy, Terms of Use) ---------- */
.page-title { padding: 50px 0; text-align: center; }
.page-title h1 { margin: 0; }
.legal { max-width: 860px; }
.legal h2 { font-size: 1.4em; margin-top: 1.8em; }
.legal .legal-kicker { font-weight: 700; color: var(--green); margin-bottom: .2em; }
.legal .legal-title { font-size: 2em; margin-top: 0; }
.legal .legal-date { color: #666; font-style: italic; }
.legal ul { padding-left: 1.4em; margin: 0 0 1.2em; }
.legal li { margin-bottom: .5em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--white); padding: 50px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.footer-logo { width: 300px; margin-bottom: 1em; }
.site-footer p { margin: 0; font-size: .95em; }
.site-footer a { color: var(--green-alt); }
.site-footer a:hover { color: var(--white); }
.site-footer .footer-legal { margin-top: .8em; font-size: .9em; }
.footer-legal span { color: #888; }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin-bottom: .4em; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; text-align: center; } .footer-logo { margin: 0 auto 1em; } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 500; background: rgba(0,0,0,.85);
  display: none; align-items: center; justify-content: center; padding: 30px; cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 92vh; width: auto; }
