:root {
  --primary: #4caf50;
  --primary-dark: #2e7d32;
  --bg: #eef1f0;
  --card-bg: #ffffff;
  --text: #333;
}


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

body {
  font-family: system-ui, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  max-width: 1100px;
  margin: auto;
  padding: 20px;
  line-height: 1.6;
}

.site-header {
  text-align: center;
  background: var(--primary);
  color: white;
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 25px;
}

.tagline {
  opacity: 0.9;
}

.nav-list {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 25px;
}

.nav-list a {
  text-decoration: none;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-list a:hover,
.nav-list a:focus {
  background: var(--primary);
  color: white;
  outline: none;
}


.card {
  background: var(--card-bg);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 25px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.card h2 {
  color: var(--primary);
  margin-bottom: 10px;
}


.material-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 15px;
}

.material-item {
  background: #f8f8f8;
  padding: 15px;
  border-left: 5px solid var(--primary);
  border-radius: 8px;
}


.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
}

.data-table th,
.data-table td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: center;
}

.data-table th {
  background: var(--primary);
  color: white;
}


.cost-total {
  margin-top: 10px;
  font-size: 1.2rem;
  color: var(--primary-dark);
}

.site-footer {
  text-align: center;
  padding: 15px;
  background: #333;
  color: white;
  border-radius: 10px;
  margin-top: 30px;
}

@media (max-width: 700px) {
  .nav-list {
    flex-direction: column;
  }
}
