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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: #f9fafb;
  color: #111827;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navbar */
.navbar {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
  transition: opacity 0.3s;
}

.navbar-logo:hover {
  opacity: 0.8;
}

.navbar-logo svg {
  width: 32px;
  height: 32px;
}

.navbar-links {
  display: flex;
  gap: 1.5rem;
}

.navbar-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  color: white;
  transition: background-color 0.3s;
}

.navbar-link:hover,
.navbar-link.active {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: white;
  padding: 5rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  white-space: nowrap;
  writing-mode: horizontal-tb;
  min-width: fit-content;
}

.btn-primary {
  background-color: white;
  color: #2563eb;
}

.btn-primary:hover {
  background-color: #f3f4f6;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 4rem 0;
}

.feature-card {
  background: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.icon-blue { background-color: #dbeafe; color: #2563eb; }
.icon-green { background-color: #d1fae5; color: #059669; }
.icon-purple { background-color: #e9d5ff; color: #9333ea; }
.icon-orange { background-color: #fed7aa; color: #ea580c; }

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.spot-card {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.spot-card:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.spot-card-image {
  height: 200px;
  background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.spot-card-image svg {
  width: 80px;
  height: 80px;
  opacity: 0.5;
  color: white;
}

.spot-card-content {
  padding: 1.5rem;
}

.spot-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.spot-card-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  background-color: #dbeafe;
  color: #2563eb;
}

.spot-card-address {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.spot-card-info {
  display: flex;
  gap: 1rem;
  color: #9ca3af;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.spot-card-footer {
  padding-top: 0.75rem;
  border-top: 1px solid #e5e7eb;
  color: #2563eb;
  font-weight: 500;
}

/* Search Page */
.search-header {
  margin-bottom: 2rem;
}

.search-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.search-filters {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.search-input-group {
  margin-bottom: 1.5rem;
}

.search-input-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.search-input-wrapper {
  position: relative;
}

.search-input-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  width: 20px;
  height: 20px;
}

.search-input,
.search-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
}

.search-input {
  padding-left: 2.5rem;
}

.search-input:focus,
.search-select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.filters-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.btn-secondary {
  background-color: #e5e7eb;
  color: #374151;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
}

.btn-secondary:hover {
  background-color: #d1d5db;
}

.results-count {
  font-size: 0.875rem;
  color: #6b7280;
}

.empty-state {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 3rem;
  text-align: center;
}

.empty-state svg {
  width: 64px;
  height: 64px;
  color: #d1d5db;
  margin: 0 auto 1rem;
}

/* Detail Page */
.back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color 0.3s;
}

.back-button:hover {
  color: #111827;
}

.detail-header {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.detail-header-image {
  height: 256px;
  background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-header-image svg {
  width: 128px;
  height: 128px;
  opacity: 0.5;
  color: white;
}

.detail-header-content {
  padding: 2rem;
}

.detail-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .detail-layout {
    grid-template-columns: 2fr 1fr;
  }
}

.detail-section {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-title svg {
  width: 24px;
  height: 24px;
  color: #2563eb;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.info-item {
  margin-bottom: 1rem;
}

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

.info-value {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: #2563eb;
  text-decoration: none;
  margin-top: 0.5rem;
}

.map-link:hover {
  text-decoration: underline;
}

.divider {
  margin: 1rem 0;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.facility-item {
  margin-bottom: 1rem;
}

.facility-item-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.facility-item-header svg {
  width: 20px;
  height: 20px;
}

.facility-item-content {
  margin-left: 1.75rem;
  color: #374151;
}

.sidebar-quick-info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.quick-info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.quick-info-label {
  color: #6b7280;
}

.sidebar-cta {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.sidebar-cta h3 {
  margin-bottom: 0.5rem;
}

.sidebar-cta p {
  font-size: 0.875rem;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.sidebar-cta .btn {
  width: 100%;
  text-align: center;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: white;
  border-radius: 0.5rem;
  padding: 3rem;
  text-align: center;
  margin: 3rem 0;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .navbar-links {
    gap: 0.5rem;
  }

  .navbar-link span {
    display: none;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .search-header h1 {
    font-size: 2rem;
  }

  .detail-title {
    font-size: 2rem;
  }
}

/* Icons - Using inline SVG */
svg {
  display: inline-block;
  vertical-align: middle;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 2rem 0;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  text-decoration: none;
  color: #374151;
  background-color: white;
  font-weight: 500;
  transition: all 0.2s;
}

.pagination a:hover {
  background-color: #2563eb;
  color: white;
  border-color: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

.pagination .current {
  background-color: #2563eb;
  color: white;
  border-color: #2563eb;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.3);
}
