/* Sitemap page styles */
.sitemap-page {
  padding-top: 6rem;
  min-height: 100vh;
  background-color: var(--color-dark);
  color: var(--color-white);
}

.sitemap-hero {
  padding: 3rem 0;
  border-bottom: 1px solid var(--color-white-5);
  background: linear-gradient(135deg, var(--color-gray) 0%, var(--color-darker) 100%);
}

.sitemap-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-white);
}

.sitemap-subtitle {
  font-size: 1.125rem;
  color: var(--color-white-60);
}

.sitemap-content {
  padding: 3rem 0;
}

.sitemap-section {
  margin-bottom: 3rem;
  padding: 2rem;
  background-color: var(--color-gray);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-white-5);
  transition: all var(--transition-speed);
}

.sitemap-section:hover {
  border-color: var(--color-white-10);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.sitemap-section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--color-white);
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--color-accent);
}

.sitemap-section-title svg {
  width: 28px;
  height: 28px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.sitemap-subsection {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid var(--color-white-10);
}

.sitemap-subsection-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-white-60);
  text-transform: capitalize;
}

.sitemap-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 0.75rem;
}

.sitemap-link {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1rem;
  background-color: var(--color-darker);
  border: 1px solid var(--color-white-5);
  border-radius: calc(var(--border-radius) / 2);
  color: var(--color-white-60);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: all var(--transition-speed);
  position: relative;
  overflow: hidden;
}

.sitemap-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background-color: var(--color-accent);
  transform: scaleY(0);
  transition: transform var(--transition-speed);
}

.sitemap-link:hover {
  color: var(--color-white);
  background-color: var(--color-gray-light);
  border-color: var(--color-accent);
  transform: translateX(4px);
}

.sitemap-link:hover::before {
  transform: scaleY(1);
}

.sitemap-link-all {
  grid-column: 1 / -1;
  justify-content: center;
  font-weight: 600;
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white-badge);
}

.sitemap-link-all:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 103, 254, 0.3);
}

.sitemap-link-all::before {
  display: none;
}

.sitemap-more {
  grid-column: 1 / -1;
  padding: 0.625rem 1rem;
  color: var(--color-white-30);
  font-style: italic;
  font-size: 0.875rem;
  text-align: center;
}

/* Responsive design */
@media (max-width: 768px) {
  .sitemap-title {
    font-size: 2rem;
  }

  .sitemap-subtitle {
    font-size: 1rem;
  }

  .sitemap-section {
    padding: 1.5rem;
  }

  .sitemap-section-title {
    font-size: 1.25rem;
  }

  .sitemap-section-title svg {
    width: 24px;
    height: 24px;
  }

  .sitemap-links {
    grid-template-columns: 1fr;
  }

  .sitemap-link {
    font-size: 0.875rem;
  }
}

/* Light theme support */
[data-theme='light'] .sitemap-page {
  background-color: var(--color-dark);
}

[data-theme='light'] .sitemap-section {
  background-color: var(--color-gray);
  border-color: var(--color-gray-light);
}

[data-theme='light'] .sitemap-link {
  background-color: var(--color-darker);
  border-color: var(--color-gray-light);
}

[data-theme='light'] .sitemap-link:hover {
  background-color: var(--color-gray-light);
}

/* Print styles */
@media print {
  .sitemap-page {
    padding-top: 0;
  }

  .sitemap-section {
    page-break-inside: avoid;
    border: 1px solid #ccc;
    margin-bottom: 1rem;
  }

  .sitemap-link {
    display: block;
    padding: 0.25rem 0;
    border: none;
    background: none;
  }

  .sitemap-link:hover {
    transform: none;
  }

  .sitemap-link::before {
    display: none;
  }
}

