/* Sitemap Specific Styles */
.sitemap-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

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

.sitemap-section-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

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

.sitemap-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #f8f9fa;
}

.sitemap-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: white;
  font-size: 1.2rem;
}

.sitemap-header h3 {
  margin: 0;
  color: #FFF;
  font-weight: 600;
  font-size: 1.25rem;
}

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

.sitemap-list > li {
  margin-bottom: 0.75rem;
}

.sitemap-list a {
  color: var(--dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  border-radius: 8px;
  padding-left: 0.5rem;
}

.sitemap-list a:hover {
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.05);
  padding-left: 1rem;
}

.sitemap-list a i {
  margin-right: 0.75rem;
  font-size: 0.8rem;
  color: var(--primary);
  transition: all 0.3s ease;
}

.sitemap-subsection {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e9ecef;
}

.subsection-title {
  font-weight: 600;
  color: #FFF;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.5rem;
}

.sitemap-sublist {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-left: 1rem;
}

.sitemap-sublist li {
  margin-bottom: 0.5rem;
}

.sitemap-sublist a {
  font-size: 0.9rem;
  color: #6c757d;
}

.sitemap-sublist a:hover {
  color: var(--primary);
}

.sitemap-sublist a i {
  font-size: 0.7rem;
  margin-right: 0.5rem;
}

/* Stats Section */
.sitemap-stats {
  background: #ffffff;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.stat-card {
  text-align: center;
  padding: 1.5rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.5rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #6c757d;
  font-weight: 500;
  font-size: 0.9rem;
}

/* Search Section */
.sitemap-search {
  background: #ffffff;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.search-box-wrapper h3 {
  color: var(--dark);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.search-form .input-group {
  max-width: 500px;
  margin: 0 auto;
}

.search-form .form-control {
  border: 2px solid #e9ecef;
  border-radius: 50px 0 0 50px;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.search-form .form-control:focus {
  border-color: var(--primary);
  box-shadow: none;
}

.search-form .btn {
  border-radius: 0 50px 50px 0;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--primary);
}

.search-suggestions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.suggestion-label {
  color: #6c757d;
  font-size: 0.9rem;
  margin-right: 0.5rem;
}

.suggestion-tag {
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.suggestion-tag:hover {
  background: var(--primary);
  color: white;
  text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .sitemap-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .sitemap-section-card {
    padding: 1.5rem;
  }

  .sitemap-header {
    flex-direction: column;
    text-align: center;
  }

  .sitemap-icon {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .sitemap-stats {
    padding: 1.5rem;
  }

  .stat-card {
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .search-suggestions {
    justify-content: center;
  }

  .suggestion-label {
    width: 100%;
    text-align: center;
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 576px) {
  .sitemap-section-card {
    padding: 1rem;
  }

  .sitemap-search {
    padding: 1.5rem;
  }

  .search-form .form-control,
  .search-form .btn {
    border-radius: 8px;
  }

  .search-form .input-group {
    flex-direction: column;
  }

  .search-form .btn {
    margin-top: 0.5rem;
    border-radius: 8px;
  }
}

/* Animation Enhancements */
.sitemap-section-card {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.sitemap-section-card:nth-child(1) {
  animation-delay: 0.1s;
}
.sitemap-section-card:nth-child(2) {
  animation-delay: 0.2s;
}
.sitemap-section-card:nth-child(3) {
  animation-delay: 0.3s;
}
.sitemap-section-card:nth-child(4) {
  animation-delay: 0.4s;
}
.sitemap-section-card:nth-child(5) {
  animation-delay: 0.5s;
}
.sitemap-section-card:nth-child(6) {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .sitemap-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  }

  .sitemap-section-card {
    background: #2d2d2d;
    border-color: #404040;
  }

  .sitemap-header h3 {
    color: #ffffff;
  }

  .sitemap-list a {
    color: #e9ecef;
  }

  .subsection-title {
    color: #ffffff;
  }

  .sitemap-sublist a {
    color: #adb5bd;
  }

  .sitemap-stats,
  .sitemap-search {
    background: #2d2d2d;
  }

  .stat-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  }

  .search-form .form-control {
    background: #1a1a1a;
    border-color: #404040;
    color: #ffffff;
  }
}
