@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --color-primary: #1a1a1a;
  --color-secondary: #f5f5f5;
  --color-accent: #3b82f6;
}

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

body {
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.5;
}

.font-geist-mono {
  font-family: 'SF Mono', SFMono-Regular, ui-monospace, Menlo, Monaco, 'Cascadia Mono', 'Segoe UI Mono', 'Roboto Mono', monospace;
}

.breath-animation {
  background: radial-gradient(circle, rgba(59,130,246,0.05) 0%, rgba(59,130,246,0) 70%);
  background-size: 200% 200%;
  animation: breathe 8s ease-in-out infinite;
  z-index: 0;
}

@keyframes breathe {
  0%, 100% {
    background-position: center;
    background-size: 100% 100%;
  }
  50% {
    background-position: center;
    background-size: 140% 140%;
  }
}

.shadow-subtle {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.text-gradient {
  background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.region-filter {
  background-color: transparent;
  color: #6b7280;
  border: 1px solid #e5e7eb;
}

.region-filter:hover {
  background-color: #f9fafb;
}

.region-filter.active {
  background-color: #1f2937;
  color: white;
  border-color: #1f2937;
}

.trail-detail-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1f2937;
}

.trail-detail-content h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #1f2937;
}

.map-container {
  height: 400px;
  border-radius: 0.5rem;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.photo-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 0.375rem;
  transition: transform 0.3s ease;
}

.photo-gallery img:hover {
  transform: scale(1.02);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  background-color: #f9fafb;
  padding: 1rem;
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
}

.stat-card .label {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.stat-card .value {
  font-size: 1.125rem;
  font-weight: 500;
  color: #1f2937;
}

.notice-section {
  background-color: #fffbeb;
  border-left: 4px solid #f59e0b;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 0 0.375rem 0.375rem 0;
}

.trail-route {
  background-color: #f9fafb;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

.route-point {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.route-point::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #4b5563;
}

.route-point:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.75rem;
  width: 2px;
  height: calc(100% + 0.25rem);
  background-color: #d1d5db;
}

@media (max-width: 768px) {
  .photo-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .photo-gallery {
    grid-template-columns: 1fr;
  }
}
