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

body {
  font-family: "Segoe UI", Arial, sans-serif;
  color: #2b1d0e;
  background-color: #faf6f0;
  line-height: 1.6;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  background-color: #6b3e1e;
  color: #fff;
  padding: 1rem 0;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.logo a {
  color: #fff;
  text-decoration: none;
}

.logo a:hover {
  color: #f2e6d8;
}

.site-header nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.site-header nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  padding: 0.35rem 0.65rem;
  cursor: pointer;
}

@media (max-width: 700px) {
  .nav-toggle {
    display: block;
  }

  .site-header nav {
    display: none;
    width: 100%;
    margin-top: 1rem;
  }

  .site-header nav.nav-open {
    display: block;
  }

  .site-header nav ul {
    flex-direction: column;
    gap: 0;
  }

  .site-header nav li {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .site-header nav a {
    display: block;
    padding: 0.85rem 0.25rem;
  }
}

.hero {
  background-color: #a9744f;
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.hero h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.hero .btn {
  display: inline-block;
  margin-top: 1.5rem;
}

.btn {
  background-color: #2b1d0e;
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.15s ease;
}

.btn:hover {
  background-color: #472e17;
}

.nav-cta {
  background-color: #fff;
  color: #6b3e1e !important;
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
}

.nav-cta:hover {
  background-color: #f2e6d8;
  text-decoration: none !important;
}

.content-section {
  padding: 3rem 0;
  border-bottom: 1px solid #e0d3c2;
}

.content-section h3 {
  margin-bottom: 0.75rem;
  color: #6b3e1e;
}

.om-content {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.om-photo {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .om-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.om-source {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #7a6a58;
}

.om-source a {
  color: #6b3e1e;
}

.route-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.route-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  background-color: #fff;
  border: 1px solid #e0d3c2;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.route-option:hover {
  border-color: #a9744f;
  transform: translateY(-2px);
}

.route-option-name {
  color: #6b3e1e;
  font-weight: 700;
  font-size: 1.1rem;
}

.route-option-desc {
  color: #4a3a2a;
  font-size: 0.9rem;
}

.route-option-meta {
  color: #a9744f;
  font-size: 0.85rem;
  font-weight: 600;
}

.route-meta {
  color: #5a4a3a;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.route-list {
  padding-left: 1.25rem;
  margin-bottom: 1.5rem;
}

.route-list li {
  margin-bottom: 0.4rem;
}

.route-list li::marker {
  color: #a9744f;
  font-weight: 600;
}

.route-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(20, 13, 6, 0.6);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.route-modal-overlay.open {
  display: flex;
}

.route-modal {
  position: relative;
  background-color: #faf6f0;
  border-radius: 10px;
  padding: 2rem;
  max-width: 420px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
}

.route-modal h4 {
  color: #6b3e1e;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  padding-right: 1.5rem;
}

.route-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: #6b3e1e;
  cursor: pointer;
}

.route-modal-close:hover {
  color: #2b1d0e;
}

.btn-danger {
  background-color: #8a2f1f;
  border: none;
  margin-top: 0.75rem;
  cursor: pointer;
}

.btn-danger:hover {
  background-color: #6e2518;
}

.route-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.route-section-title {
  color: #6b3e1e;
  margin-top: 2rem;
  margin-bottom: 0.25rem;
}

.route-section-empty {
  color: #7a6a58;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.route-modal-wide {
  max-width: 640px;
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin: 0.5rem 0 1.25rem;
  cursor: pointer;
}

.route-builder {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.route-builder-column h5 {
  color: #6b3e1e;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.bar-picker-list {
  list-style: none;
  border: 1px solid #e0d3c2;
  border-radius: 6px;
  max-height: 280px;
  overflow-y: auto;
  padding: 0;
}

.bar-picker-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #f0e6d8;
  font-size: 0.9rem;
}

.bar-picker-list li:last-child {
  border-bottom: none;
}

.bar-picker-add,
.bar-picker-up,
.bar-picker-down,
.bar-picker-remove {
  background-color: #f2e6d8;
  color: #6b3e1e;
  border: none;
  border-radius: 4px;
  width: 1.6rem;
  height: 1.6rem;
  font-size: 0.85rem;
  cursor: pointer;
  flex-shrink: 0;
}

.bar-picker-add:hover,
.bar-picker-up:hover:not(:disabled),
.bar-picker-down:hover:not(:disabled),
.bar-picker-remove:hover {
  background-color: #e0cbb0;
}

.bar-picker-up:disabled,
.bar-picker-down:disabled {
  opacity: 0.35;
  cursor: default;
}

.bar-picker-controls {
  display: flex;
  gap: 0.3rem;
  flex-shrink: 0;
}

.site-footer {
  background-color: #2b1d0e;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
}
