/* ============================================================
   GLOBAL VARIABLES
   ============================================================ */
:root {
  --lime: #00ff01;
  --lime-dark: #94e02d;

  --black: #000;

  --gray-bg: #f2f2f2;
  --gray-light: #f9f9f9;
  --gray-dark: #111;

  --text: #111;
}

/* ============================================================
   BASE
   ============================================================ */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: static;
  width: 100%;
  background: transparent;
  z-index: 10;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 80px;
  display: block;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.main-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 2rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--black);
  font-weight: 600;
  font-size: 1rem;
  text-shadow:
    1px 1px 0 #00b300,
    -1px -1px 0 #00b300,
    1px -1px 0 #00b300,
    -1px 1px 0 #00b300;
  transition: color .2s ease;
}

.main-nav a:hover {
  color: var(--lime);
}

/* ===========================
   DROPDOWN MENU
   =========================== */
.main-nav .dropdown {
  position: relative;
}

.main-nav .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 2px solid var(--lime);
  border-radius: 10px;
  padding: 10px 0;
  min-width: 150px;
  display: none;
  z-index: 9999;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.main-nav .dropdown-menu li {
  list-style: none;
}

.main-nav .dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: var(--black);
  font-weight: 600;
  text-decoration: none;
}

.main-nav .dropdown-menu a:hover {
  background: var(--lime);
  color: #000;
}

.main-nav .dropdown:hover .dropdown-menu {
  display: block;
}


/* ============================================================
   MAIN
   ============================================================ */
main {
  max-width: 1100px;
  margin: 40px auto;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.order-btn,
.book-btn {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(90deg, var(--black), var(--lime));
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  transition: all .3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.order-btn:hover,
.book-btn:hover {
  transform: scale(1.05);
  background: linear-gradient(90deg, var(--lime), var(--black));
}

.book-btn.disabled {
  opacity: .4;
  cursor: not-allowed;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--black);
  color: var(--lime);
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 40px;
}

.site-footer a {
  color: var(--lime);
  text-decoration: none;
  font-weight: 600;
}

.site-footer a:hover {
  color: #94e02d;
}

/* ============================================================
   PAGE TITLES
   ============================================================ */
.page-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-top: 20px;
  background: linear-gradient(90deg, var(--black), var(--lime));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-sub {
  text-align: center;
  color: #333;
  margin-bottom: 30px;
}

/* ============================================================
   DUMPSTER CARDS
   ============================================================ */
.sizes-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  max-width: 1100px;
  margin: 20px auto 50px;
  padding: 0 18px;
}

.size-card {
  flex: 1 1 44%;
  min-width: 300px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: .28s ease;
}

.size-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.12);
}

.size-image img {
  width: 100%;
  height: 260px;
  object-fit: contain;
}

.size-content {
  padding: 20px 22px 28px;
}

.details {
  background: var(--gray-bg);
  border-left: 4px solid var(--lime);
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 14px;
}

/* ============================================================
   ACCORDION
   ============================================================ */
.accordion-container {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 18px;
}

.accordion-item {
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: .22s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.accordion-item:hover {
  transform: scale(1.02);
}

.accordion-header {
  width: 100%;
  padding: 16px 20px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  border: none;
  background: linear-gradient(90deg, var(--black), var(--lime));
}

.accordion-body {
  max-height: 0;
  padding: 0 20px;
  overflow: hidden;
  color: #111;
  background: #fff;
  transition: max-height .3s ease, padding .3s ease;
}

.accordion-item.active .accordion-body {
  max-height: 400px;
  padding: 18px 20px;
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.compare-section {
  max-width: 1100px;
  margin: 50px auto;
  padding: 0 18px;
}

.compare-section h2 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 2px solid var(--black);
}

.compare-table th,
.compare-table td {
  padding: 14px;
  text-align: center;
  border: 1px solid #aaa;
}

/* Column 1 — Feature column */
.compare-table thead th:first-child {
  background: var(--lime);
  color: #000; /* readable on lime */
}

/* Column 2 — 13-yard dumpster (REVERSED gradient, white text) */
.compare-table thead th:nth-child(2) {
  background: linear-gradient(270deg, var(--lime), var(--black));
  color: #fff;
}

/* Column 3 — 18-yard dumpster (NORMAL gradient, white text) */
.compare-table thead th:nth-child(3) {
  background: linear-gradient(90deg, var(--black), var(--lime));
  color: #fff;
}

/* Body styling */
.compare-table tbody tr:nth-child(even) {
  background: #f9f9f9;
}

/* ============================================================
   NOTE
   ============================================================ */
.note {
  text-align: center;
  margin: 28px auto 80px;
  font-size: 1rem;
}

/* ============================================================
   ✅ FIXED — TERMS MODAL (ONE CLEAN BLOCK)
   ============================================================ */

.terms-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  padding: 20px;
}

.terms-modal.show {
  display: flex;
}

.terms-modal .modal-content {
  background: #111;
  color: #f4f4f4;
  padding: 28px 32px;
  border-radius: 14px;
  max-width: 380px;
  width: 100%;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  border: 2px solid var(--lime);
}

.terms-modal .modal-content h2 {
  margin: 0 0 10px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--lime); /* ✅ solid, not gradient */
}

.terms-modal .modal-content p {
  font-size: 1rem;
  margin: 0 0 20px;
  line-height: 1.4;
  color: #fff;
}

#closeModal {
  background: var(--lime); /* ✅ solid, not gradient */
  color: #000;
  font-weight: 700;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.25s ease-in-out;
}

#closeModal:hover {
  background: #00cc00;
  transform: scale(1.05);
}

/* ============================================================
   OUTLINED TEXT
   ============================================================ */
.outlined-text {
  color: #fff;
  text-shadow:
    -2px -2px 0 #000,
     2px -2px 0 #000,
    -2px  2px 0 #000,
     2px  2px 0 #000;
}

/* ============================================================
   MOBILE RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {

  .header-inner {
    flex-direction: column;
    text-align: center;
    gap: 14px;
    padding: 20px 10px;
  }

  .logo img {
    height: 60px;
  }

  .main-nav ul {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }

  main {
    margin: 0;
    padding: 20px 12px;
    box-shadow: none;
    border-radius: 0;
  }

  .size-card {
    flex: 1 1 100%;
  }

  .size-image img {
    height: 220px;
  }

  .accordion-container,
  .compare-section {
    padding: 0 12px;
  }

  .compare-table th,
  .compare-table td {
    padding: 10px;
    font-size: .9rem;
  }

  .site-footer {
    margin-top: 20px;
  }
}

/* ============================================================
   DESKTOP NAV FIX
   ============================================================ */
@media (min-width: 769px) {
  .main-nav ul {
    flex-wrap: nowrap;
  }
}

/* =========================
   CONTACT SUCCESS MODAL
========================= */

.success-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.success-box {
  background: #fff;
  padding: 2.5rem;
  max-width: 420px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
  animation: popIn 0.4s ease-out;
}

.success-box h2 {
  font-weight: 900;
  margin-bottom: 1rem;
}

.success-box p {
  line-height: 1.6;
}

.success-box button {
  margin-top: 1.5rem;
  background: linear-gradient(135deg, var(--lime), var(--black));
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 40px;
  border: none;
  font-weight: 800;
  cursor: pointer;
}

@keyframes popIn {
  from { transform: scale(0.85); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* ============================================================
   CONTACT PAGE
============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-info {
  background: linear-gradient(135deg, #fff, var(--gray-light));
  border: 2px solid var(--lime);
  border-radius: 16px;
  padding: 2rem;
}

.contact-info h3 {
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 0.6rem;
}

/* FORM */
.contact-grid form {
  background: linear-gradient(135deg, #fff, var(--gray-light));
  border: 2px solid var(--lime);
  border-radius: 16px;
  padding: 2rem;
}

.contact-grid label {
  font-weight: 700;
  display: block;
  margin-bottom: 0.3rem;
}

.contact-grid input,
.contact-grid textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-family: inherit;
  font-size: 1rem;
}

.contact-grid input:focus,
.contact-grid textarea:focus {
  border-color: var(--lime);
  outline: none;
}

/* SUBMIT BUTTON */
.contact-grid button {
  background: linear-gradient(135deg, var(--lime), var(--black));
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-grid button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

/* MOBILE */
@media (max-width: 600px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PAGE HERO (CONTACT, ETC)
============================================================ */

.page-hero {
  background: #000;
  padding: 60px 20px 50px;
  text-align: center;
}

.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.page-hero h1 {
  color: var(--lime);
  font-size: 2.6rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.page-hero p {
  color: var(--lime);
  font-size: 1.1rem;
  font-weight: 600;
}

/* MOBILE */
@media (max-width: 600px) {
  .page-hero h1 {
    font-size: 2rem;
  }
}

/* REMOVE CARD STYLE FOR CONTACT PAGE */
body.contact-page main {
  background: none;
  box-shadow: none;
  border-radius: 0;
  margin-top: 0;
}

/* ============================================================
   HERO PAGE LAYOUT FIX
   ============================================================ */

/* When a hero precedes main, remove the card look */
header + main {
  margin-top: 0;
  border-radius: 0;
  box-shadow: none;
}

/* Allow hero to be full-width */
header {
  width: 100%;
  background: #000;
  color: var(--lime);
  padding: 60px 20px 50px;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 2.6rem;
  font-weight: 900;
}

header p {
  margin-top: 10px;
  font-size: 1.1rem;
  font-weight: 600;
}
