/* ==========================================================================
   SƠ ĐỒ TRANG WEBSITE (HTML SITEMAP) - XÂY DỰNG & NỘI THẤT NHẬT THĂNG
   File: assets/css/sitemap.css
   ========================================================================== */

.nt-sitemap-wrapper {
  background-color: #f8fafc;
  padding: 40px 0 60px;
  font-family: inherit;
}

/* Hero Header */
.nt-sitemap-hero {
  background: linear-gradient(135deg, #0f2646 0%, #1e3a8a 100%);
  border-radius: 16px;
  padding: 40px 30px;
  color: #ffffff;
  text-align: center;
  margin-bottom: 35px;
  box-shadow: 0 10px 25px rgba(15, 38, 70, 0.15);
  position: relative;
  overflow: hidden;
}

.nt-sitemap-hero::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, rgba(245, 158, 11, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.nt-sitemap-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #fbbf24;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 15px;
}

.nt-sitemap-title {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.3;
  color: #ffffff;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.nt-sitemap-desc {
  font-size: 15px;
  color: #cbd5e1;
  max-width: 780px;
  margin: 0 auto 25px;
  line-height: 1.6;
}

/* Anchor Navigation Pills */
.nt-sitemap-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.nt-sitemap-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 25px;
  text-decoration: none !important;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.25s ease;
}

.nt-sitemap-pill:hover {
  background: #f59e0b;
  color: #0f2646 !important;
  border-color: #f59e0b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

/* Grid Layout */
.nt-sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 40px;
}

/* Card Component */
.nt-sitemap-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 24px 22px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.nt-sitemap-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 38, 70, 0.09);
  border-color: #cbd5e1;
}

/* Card Header */
.nt-sitemap-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 2px solid #f1f5f9;
}

.nt-sitemap-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.icon-blue { background: #e0f2fe; color: #0284c7; }
.icon-orange { background: #fef3c7; color: #d97706; }
.icon-green { background: #dcfce7; color: #16a34a; }
.icon-purple { background: #f3e8ff; color: #9333ea; }
.icon-amber { background: #ffedd5; color: #ea580c; }
.icon-cyan { background: #cffafe; color: #0891b2; }

.nt-sitemap-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f2646;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  flex-grow: 1;
}

.nt-badge-mini {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #64748b;
}

.nt-badge-mini.hot { background: #fee2e2; color: #dc2626; }
.nt-badge-mini.new { background: #fef3c7; color: #b45309; }
.nt-badge-mini.seo { background: #dcfce7; color: #15803d; }

/* Links List */
.nt-sitemap-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-grow: 1;
}

.nt-sitemap-list li {
  position: relative;
}

.nt-sitemap-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 8px;
  color: #334155;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  transition: all 0.2s ease;
  line-height: 1.45;
}

.nt-sitemap-list a span.txt-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nt-sitemap-list a span.txt-label::before {
  content: "▸";
  color: #94a3b8;
  font-size: 12px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.nt-sitemap-list a:hover {
  background: #f1f5f9;
  color: #0284c7;
  padding-left: 14px;
}

.nt-sitemap-list a:hover span.txt-label::before {
  color: #f59e0b;
  transform: translateX(2px);
}

.nt-sitemap-sublist {
  list-style: none;
  padding-left: 20px;
  margin: 4px 0 8px;
  border-left: 2px solid #e2e8f0;
}

.nt-sitemap-sublist li a {
  font-size: 13px;
  color: #64748b;
  padding: 5px 8px;
}

.nt-sitemap-sublist li a:hover {
  color: #0284c7;
}

.nt-sitemap-sublist li a span.txt-label::before {
  content: "•";
  font-size: 14px;
  color: #cbd5e1;
}

/* Call to Action Box */
.nt-sitemap-cta {
  background: linear-gradient(135deg, #0f2646 0%, #172554 100%);
  border-radius: 16px;
  padding: 32px 30px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  box-shadow: 0 10px 25px rgba(15, 38, 70, 0.12);
}

.nt-sitemap-cta-info h3 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px;
}

.nt-sitemap-cta-info p {
  color: #94a3b8;
  font-size: 14px;
  margin: 0;
}

.nt-sitemap-cta-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.nt-btn-cta-phone {
  background: #ef4444;
  color: #ffffff !important;
  padding: 12px 22px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.4);
  transition: all 0.25s ease;
}

.nt-btn-cta-phone:hover {
  background: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.5);
}

.nt-btn-cta-price {
  background: #f59e0b;
  color: #0f2646 !important;
  padding: 12px 22px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  transition: all 0.25s ease;
}

.nt-btn-cta-price:hover {
  background: #d97706;
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* Footer link styling */
.footer-sitemap-sep {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-sitemap-link {
  color: #ffffff !important;
  opacity: 0.85;
  text-decoration: underline !important;
  transition: all 0.2s ease;
  font-weight: 500;
}

.footer-sitemap-link:hover {
  color: #fbbf24 !important;
  opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
  .nt-sitemap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nt-sitemap-cta {
    flex-direction: column;
    text-align: center;
  }
  .nt-sitemap-cta-actions {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .nt-sitemap-wrapper {
    padding: 20px 0 40px;
  }
  .nt-sitemap-hero {
    padding: 28px 18px;
    border-radius: 12px;
  }
  .nt-sitemap-title {
    font-size: 22px;
  }
  .nt-sitemap-desc {
    font-size: 13.5px;
  }
  .nt-sitemap-pill {
    font-size: 12px;
    padding: 6px 14px;
  }
  .nt-sitemap-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .nt-sitemap-cta-actions {
    flex-direction: column;
  }
  .nt-btn-cta-phone,
  .nt-btn-cta-price {
    width: 100%;
    justify-content: center;
  }
}
