:root {
  --text: #111;
  --muted: #777;
  --border: #e5e5e5;
  --serif: "Playfair Display", serif;
  --sans: "Montserrat", sans-serif;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
}

.sticky-header {
  position: sticky;
  top: 0;
  background: white;
  z-index: 999;
  border-bottom: 1px solid var(--border);
}

.menu {
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.menu a {
  text-decoration: none;
  color: var(--muted);
}

.menu a:hover {
  color: var(--text);
}

.logo-area {
  text-align: center;
  padding: 1.5rem 1rem 1rem;
  position: relative;
}

.logo {
  height: 40px;
  width: auto;
  margin: 0;
}

.hamburger {
  display: none;
  width: 30px;
  height: 22px;
  flex-direction: column;
  justify-content: space-between;
  position: absolute;
  right: 20px;
  top: 33px;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  background: black;
  width: 100%;
  display: block;
  transition: 0.3s;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  padding: 0.8rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: max-height 0.3s ease-in-out;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
}

.main-nav a:hover {
  text-decoration: underline;
}

.headline {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: 3 rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: left;
  margin: 3rem 0;
}


/* ---------- CONTENT ---------- */

h2 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: left;
  margin: 2.5rem 0 1rem;
}

h3, h4, h5 {
  font-family: "Playfair Display", serif;
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: left;
  margin: 2.5rem 0 1rem;
}

.info {
  max-width: 900px;
  
}

.content{
  line-height: 1.75;
}
.chart-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.chart-controls input[type="range"] {
    flex: 1;
}

/* ---------- Footer ---------- */
.footer {
  background-color: #000000;
  padding: 3rem 1rem;
  font-family: var(--sans);
  text-align: left;
}

.footer-container {
  max-width: 800px;
  margin: 0 auto;
}
.footer-logo {
  height: 40px;
  width: auto;
}

.footer-tagline {
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.2rem;
}

.footer-links a {
  text-decoration: none;
  color: #ffffff;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  text-decoration: underline; /* subtle editorial accent */
}

/* ---------- MOBILE MENU HIDDEN STATE ---------- */
@media (max-width: 768px) {
  .main-nav {
  display: none;
}
.main-nav.open {
  display: flex;
}
  .hamburger {
    display: flex;
  }

  .main-nav {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    overflow: hidden;
    max-height: 0; 
  }

  .main-nav.open {
    max-height: 400px;
    padding-bottom: 1.2rem;
  }

  .logo {
    height: 48px;
    width: auto;
  }
}

/* ---------- CONTENT ---------- */
.bodycontainer {
  max-width: 1100px;
  padding: 2rem;
  margin: auto;
}
.cover-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 2rem;
}
.placeholder {
  padding: 5rem;
  text-align: center;
  color: var(--muted);
}

.round-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background-color: #111;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.round-btn:hover {
  background-color: #777;
}

/* ---------- DATA TABLE STYLES ---------- */
/* SORTABLE TABLE STYLING */
#wasteTable {
  border-collapse: collapse;
  font-size: 0.9rem;
  width: 100%;
}

#wasteTable thead th {
  background: black;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 12px;
  cursor: pointer;
  user-select: none;
  text-align: left;
  border: 1px solid #333;
}

#wasteTable thead th:hover {
  background: #333;
}

.sort-arrow {
  display: inline-block;
  margin-left: 8px;
  font-size: 0.8em;
  opacity: 0.6;
}

#wasteTable tbody td {
  padding: 10px;
  border-bottom: 1px solid #e5e5e5;
  border-right: 1px solid #e5e5e5;
}

#wasteTable tbody tr:hover {
  background: #f5f5f5;
}

