/* Base styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1f2933;
  background: #f5f7fa;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.site-header {
  text-align: center;
  padding: 2.5rem 1.5rem 1.5rem;
  background: linear-gradient(135deg, #0b7285, #1971c2);
  color: #f9fafb;
  margin-bottom: 2rem;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.25);
}

.site-header h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.subtitle {
  margin: 0 auto;
  max-width: 720px;
  font-size: 0.98rem;
  opacity: 0.9;
}

.spot {
  background: #ffffff;
  border-radius: 14px;
  margin-bottom: 1.75rem;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.spot + .spot {
  scroll-margin-top: 80px;
}

.spot-title {
  margin: 0;
  padding: 1.25rem 1.75rem 0.5rem;
  font-size: 1.4rem;
  color: #0f172a;
}

.spot-media {
  position: relative;
  overflow: hidden;
}

.spot-image {
  width: 100%;
  /* Ensure all images share the same visible dimensions by fixing height and cropping */
  height: 560px;
  object-fit: cover;
  transition: transform 0.6s ease-out;
}

.spot:hover .spot-image {
  transform: scale(1.03);
}

.spot-content {
  padding: 1.25rem 1.75rem 1.5rem;
}

.spot-description {
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.98rem;
}

.spot-highlight,
.spot-difficulty {
  margin: 0.35rem 0;
  font-size: 0.95rem;
}

.spot-highlight strong,
.spot-difficulty strong {
  color: #0b7285;
}

.site-footer {
  text-align: center;
  padding: 1.25rem 1.5rem 2rem;
  font-size: 0.85rem;
  color: #6b7280;
}

@media (max-width: 640px) {
  main {
    padding: 0 1rem 2.5rem;
  }

  .spot-title {
    padding: 1rem 1.25rem 0.45rem;
    font-size: 1.2rem;
  }

  .spot-content {
    padding: 1rem 1.25rem 1.25rem;
  }
}


