/* ============================================
   EXTERNAL CSS FILE - style.css
   All styling for the Home Page
   ============================================ */

/* Main Container */
.home-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  overflow: auto;
}

.home-container::-webkit-scrollbar {
  display: none;
}
/* Brand Header */
.brand-header {
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.logo-area {
  font-size: 1.8rem;
  font-weight: bold;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.5px;
}

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

/* The exact anchor links as specified */
.nav-links a {
  text-decoration: none;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.nav-doc-link {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.nav-doc-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.nav-contrib-link {
  color: #667eea;
  border: 2px solid #667eea;
}

.nav-contrib-link:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  /* background: white; */
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 3rem 2rem;
  text-align: center;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-section h1 {
  font-size: 3.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
  font-weight: 800;
}

.tagline {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem;
}

.button-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
  /* background: white; */
  color: #667eea;
  border: 2px solid #667eea;
}

.btn-secondary:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
}

/* Content Sections */
.content-sections {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
}

.info-card {
  /* background: white; */
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  scroll-margin-top: 20px;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.info-card h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.info-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #667eea;
}

.info-card p {
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

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

.doc-item {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  color: #333;
  transition: all 0.3s ease;
}

.doc-item:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.fake-link {
  display: inline-block;
  margin-top: 1rem;
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.fake-link:hover {
  transform: translateX(5px);
  color: #764ba2;
}

/* Contributors List */
.contributor-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.contributor {
  background: var(--surface);
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  border-left: 4px solid #667eea;
  transition: all 0.3s ease;
  font-weight: 500;
}

.contributor:hover {
  /* background: #e9ecef; */
  transform: translateX(5px);
}

.cta-note {
  background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  color: #2d3436;
  margin-top: 1rem;
}

/* About section */
.about-home code {
  background: #f1f3f5;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  color: #e83e8c;
  font-size: 0.9rem;
}

/* doc Container */
.doc-container {
  max-width: 900px;
  /* margin: 40px auto;
  padding: 20px; */
  font-family: system-ui, -apple-system, sans-serif;
}

/* List */
.doc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Each item */
.doc-item {
  margin-bottom: 10px;
}

/* Links */
.doc-link {
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  color: #1e293b;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  transition: all 0.2s ease;
  font-weight: 500;
}

/* Hover effect */
.doc-link:hover {
  background: #e0f2fe;
  border-color: #38bdf8;
  transform: translateX(4px);
}

/* Active state (optional JS can add this class) */
.doc-link.active {
  background: #0ea5e9;
  color: white;
  border-color: #0284c7;
}

/* Folder icon (optional) */
.doc-link::before {
  content: "📁 ";
}