/* Links */
a {
  color: #0066cc;
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: #004499;
  text-decoration: underline;
}

.dark-mode a {
  color: #66b3ff;
}

.dark-mode a:hover {
  color: #99ccff;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.dark-mode {
  color: #e0e0e0;
  background-color: #121212;
}

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

/* Header Styles */
.header {
  background-color: #222;
  color: #fff;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

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

.logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
}

/* Match previous logo h1 styles for the new div */
.logo .site-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s, color 0.3s;
}

.nav-link:hover,
.nav-link.active {
  border-bottom-color: #ff6b6b;
  color: #ff9999;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

/* Breadcrumbs */
.breadcrumbs {
  background-color: #f5f5f5;
  padding: 0.75rem 0;
}

.dark-mode .breadcrumbs {
  background-color: #1e1e1e;
}

.breadcrumb-list {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.breadcrumb-list li:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: #666;
}

.breadcrumb-list a {
  color: #0066cc;
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb-list a:hover {
  color: #004499;
  text-decoration: underline;
}

.breadcrumb-list .current {
  color: #333;
  font-weight: 500;
}

.dark-mode .breadcrumb-list a {
  color: #66b3ff;
}

.dark-mode .breadcrumb-list li:not(:last-child)::after {
  color: #888;
}

.dark-mode .breadcrumb-list .current {
  color: #e0e0e0;
}

/* Main Content */
.main-content {
  padding: 2rem 0;
  min-height: calc(100vh - 200px);
}

.main-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.main-content h1 {
  margin-bottom: 2rem;
}

.main-content h2 {
  margin-bottom: 1.8rem;
  margin-top: 2.5rem;
}

.main-content h3 {
  margin-bottom: 1.5rem;
  margin-top: 2rem;
}

.main-content h4 {
  margin-bottom: 1.2rem;
  margin-top: 1.8rem;
}

/* Home Page */
.home-page .states {
  margin-top: 2rem;
}

.home-page .states h2 {
  margin-bottom: 1.5rem;
  font-size: 2rem;
  text-align: center;
}

.states-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.state-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.dark-mode .state-card {
  background-color: #1e1e1e;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.state-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.state-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.state-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.state-card h3 {
  padding: 1rem 1rem 0.5rem;
  font-size: 1.25rem;
}

.state-card p {
  padding: 0 1rem 1rem;
  color: #666;
}

.dark-mode .state-card p {
  color: #aaa;
}

/* State Page */
.state-header {
  text-align: center;
  margin-bottom: 2rem;
}

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

.state-header .page-description {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 1.5rem;
  color: #666;
}

.dark-mode .state-header .page-description {
  color: #aaa;
}

.featured-image {
  margin-bottom: 1.5rem;
}

.featured-image img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

.state-meta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.state-meta span {
  background-color: #f0f0f0;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
}

.dark-mode .state-meta span {
  background-color: #333;
}

.state-content {
  max-width: 1000px;
  margin: 0 auto;
}

.direct-clubs,
.top-cities {
  margin-top: 3rem;
}

.direct-clubs h2,
.top-cities h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.clubs-grid,
.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.club-card,
.city-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.dark-mode .club-card,
.dark-mode .city-card {
  background-color: #1e1e1e;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.club-card:hover,
.city-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.club-card a,
.city-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.club-card img,
.city-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.club-info {
  padding: 1rem;
}

.club-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.club-description {
  color: #666;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.dark-mode .club-description {
  color: #aaa;
}

.club-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.rating {
  color: #ff6b6b;
  font-weight: 500;
}

.reviews {
  color: #666;
}

.dark-mode .reviews {
  color: #aaa;
}

.city-card h3,
.city-card p {
  padding: 0 1rem;
}

.city-card h3 {
  padding-top: 1rem;
  font-size: 1.25rem;
}

.city-card p {
  padding-bottom: 1rem;
  color: #666;
}

.dark-mode .city-card p {
  color: #aaa;
}

/* Location Page */
.location-header {
  text-align: center;
  margin-bottom: 2rem;
}

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

.location-header .page-description {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 1.5rem;
  color: #666;
}

.dark-mode .location-header .page-description {
  color: #aaa;
}

.toc-container {
  background-color: #f5f5f5;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.dark-mode .toc-container {
  background-color: #1e1e1e;
}

.toc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  cursor: pointer;
}

.toc-header h3 {
  margin: 0;
  font-size: 1.2rem;
}

.toc-toggle {
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
}

.toc-content {
  padding: 0 1rem 1rem;
  text-align: left;
}

.toc-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.toc-list li {
  margin-bottom: 0.5rem;
}

.toc-list a {
  color: #0066cc;
  text-decoration: none;
  transition: color 0.3s;
}

.toc-list a:hover {
  color: #004499;
  text-decoration: underline;
}

.dark-mode .toc-list a {
  color: #66b3ff;
}

.dark-mode .toc-list a:hover {
  color: #99ccff;
}

.location-meta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.location-meta span {
  background-color: #f0f0f0;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
}

.dark-mode .location-meta span {
  background-color: #333;
}

.location-content {
  max-width: 1000px;
  margin: 0 auto;
}

.location-map {
  margin: 3rem 0;
}

.location-map h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
}

.clubs-list {
  margin: 3rem 0;
}

.clubs-list h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.faq-section {
  margin: 3rem 0;
}

.faq-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 1.5rem;
}

.dark-mode .faq-item {
  border-bottom-color: #333;
}

.faq-question {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
}

.faq-answer {
  color: #666;
}

.dark-mode .faq-answer {
  color: #aaa;
}

.location-gallery {
  margin: 3rem 0;
}

.location-gallery h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

/* Club Page */
.club-header {
  text-align: center;
  margin-bottom: 2rem;
}

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

.club-header .page-description {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 1.5rem;
  color: #666;
}

.dark-mode .club-header .page-description {
  color: #aaa;
}

.club-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.club-meta span {
  background-color: #f0f0f0;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.dark-mode .club-meta span {
  background-color: #333;
}

.club-content {
  max-width: 1000px;
  margin: 0 auto;
}

.practical-info {
  margin: 3rem 0;
}

.practical-info h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

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

.info-item {
  background-color: #f5f5f5;
  padding: 1.5rem;
  border-radius: 8px;
}

.dark-mode .info-item {
  background-color: #1e1e1e;
}

.info-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #ff6b6b;
}

.why-choose {
  margin: 3rem 0;
}

.why-choose h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Author Information */
.author-info {
  margin: 3rem 0;
  padding: 2rem;
  background-color: #f5f5f5;
  border-radius: 8px;
}

.dark-mode .author-info {
  background-color: #1e1e1e;
}

.author-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #ff6b6b;
}

.author-card p {
  margin-bottom: 0.5rem;
}

.author-card a {
  color: #0066cc;
  text-decoration: none;
  transition: color 0.3s;
}

.author-card a:hover {
  color: #004499;
  text-decoration: underline;
}

.dark-mode .author-card a {
  color: #66b3ff;
}

.dark-mode .author-card a:hover {
  color: #99ccff;
}

/* Footer */
.footer {
  background-color: #222;
  color: #fff;
  padding: 2rem 0 1rem;
}

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

.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #ff6b6b;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #ff6b6b;
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #444;
  color: #aaa;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .states-grid,
  .clubs-grid,
  .cities-grid {
    grid-template-columns: 1fr;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  /* Club meta responsive adjustments */
  .club-meta {
    gap: 0.3rem;
    margin-bottom: 1.5rem;
  }
  
  .club-meta span {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
}
