/* ============================================================
   GLOBAL VARIABLES
   ============================================================ */
:root {
  --lime: #00ff01;
  --black: #000;
  --gray-bg: #f2f2f2;
  --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;
  }
}
