* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4efe7;
  color: #2f2f2f;
}

.container {
  width: 90%;
  max-width: 850px;
  margin: 0 auto;
  padding: 40px 0;
}

.hero {
  text-align: center;
  margin-bottom: 30px;
}

.eyebrow {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #8a6a3e;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 10px;
  color: #3f2a16;
}

.hero p {
  font-size: 18px;
  color: #5f5142;
}

.card {
  background: white;
  padding: 25px;
  margin-bottom: 25px;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.card h2 {
  margin-top: 0;
  color: #3f2a16;
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

label {
  font-weight: bold;
  margin-top: 8px;
}

select,
input {
  padding: 12px;
  border: 1px solid #c9bda9;
  border-radius: 8px;
  font-size: 16px;
  transition: 0.2s ease;
}

select:focus,
input:focus {
  outline: none;
  border-color: #6b4f2a;
  box-shadow: 0 0 0 3px rgba(107, 79, 42, 0.15);
}

button {
  margin-top: 18px;
  padding: 14px;
  background: #6b4f2a;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 17px;
  cursor: pointer;
  transition: 0.2s ease;
}

button:hover {
  background: #4f391d;
}

button:active {
  transform: scale(0.98);
}

.results {
  min-height: 150px;
}

.results h2 {
  color: #3f2a16;
}

.empty-message {
  color: #777;
  font-style: italic;
}

.trip-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.trip-summary div {
  background: #f4efe7;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #e0d3bf;
}

.trip-summary span {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: #6f6252;
}

.trip-summary strong {
  display: block;
  color: #3f2a16;
  font-size: 16px;
}

.packing-progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  padding: 14px;
  background: #f4efe7;
  border-radius: 10px;
}

.packing-progress p {
  margin: 0;
  font-weight: bold;
  color: #3f2a16;
}

.packing-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.secondary-button {
  width: auto;
  margin-top: 0;
  padding: 10px 14px;
  background: #d8c7ad;
  color: #3f2a16;
  font-size: 14px;
}

.secondary-button:hover {
  background: #c8b28f;
}

.packing-section {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #eadfce;
  border-radius: 12px;
  background: #fffaf3;
}

.packing-section h3 {
  margin-top: 0;
  margin-bottom: 12px;
  color: #3f2a16;
}

.packing-section ul {
  padding-left: 0;
  margin-bottom: 0;
}

.packing-item {
  list-style: none;
  margin-bottom: 10px;
}

.packing-item label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: normal;
  cursor: pointer;
}

.packing-item input {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.packing-item span {
  font-size: 16px;
}

.packing-item input:checked + span {
  text-decoration: line-through;
  color: #777;
}

@media (max-width: 800px) {
  .trip-summary {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .container {
    width: 94%;
    padding: 24px 0;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero p {
    font-size: 16px;
  }

  .card {
    padding: 20px;
  }

  .packing-progress {
    flex-direction: column;
    align-items: flex-start;
  }

  .secondary-button {
    width: 100%;
  }

  .packing-actions {
    width: 100%;
  }

  .packing-actions .secondary-button {
    width: 100%;
  }
}

@media (max-width: 500px) {
  .trip-summary {
    grid-template-columns: 1fr;
  }
}

@media print {
  body {
    background: white;
  }

  .hero,
  form,
  .packing-actions {
    display: none;
  }

  .container {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .card {
    box-shadow: none;
    border-radius: 0;
  }

  .results {
    min-height: auto;
  }

  .packing-item input {
    display: none;
  }

  .packing-item span {
    color: black;
    text-decoration: none;
  }
}