/* ==========================================================
   Alakhagam Corporate Theme (main.css)
   For: index.html + docs pages
   Author: Alakhagam India Pvt. Ltd.
   ========================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Roboto', sans-serif;
  background: #0b0b0f; /* dark base */
  color: #e4e4e7;
  line-height: 1.6;
}

/* ---------- Colors (from Logo Palette) ---------- */
:root {
  --primary: #3a86ff;   /* Accent Blue */
  --secondary: #ff006e; /* Accent Magenta */
  --neutral: #e4e4e7;   /* Light text */
  --dark: #0b0b0f;      /* Background */
  --muted: #9ca3af;     /* Muted text */
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  color: var(--neutral);
  margin-bottom: 0.5em;
  font-weight: 600;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.4rem; }
p { margin-bottom: 1rem; color: var(--neutral); }

/* ---------- Links & Buttons ---------- */
a {
  color: var(--primary);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: var(--secondary);
}

button, .btn {
  background: var(--primary);
  color: white;
  padding: 0.75em 1.5em;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.3s;
  display: inline-block;
}

button:hover, .btn:hover {
  background: var(--secondary);
}

/* ---------- Layout Containers ---------- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 2rem 0;
}

.section {
  padding: 4rem 0;
}

/* ---------- Header / Nav ---------- */
header {
  background: rgba(11, 11, 15, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.navbar a {
  margin-left: 2rem;
  font-weight: 500;
}

.navbar a:hover {
  color: var(--secondary);
}

/* ---------- Hero Section ---------- */
.hero {
  text-align: center;
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #0b0b0f, #111118);
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero p {
  max-width: 700px;
  margin: auto;
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

/* ---------- Content Blocks ---------- */
.content {
  background: #111118;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.content h2 {
  color: var(--primary);
}

/* ---------- Footer ---------- */
footer {
  text-align: center;
  padding: 2rem;
  background: #0b0b0f;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

footer a {
  margin: 0 0.5rem;
  color: var(--primary);
}

footer a:hover {
  color: var(--secondary);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
  }
  .navbar a {
    margin: 0.5rem 0;
  }
  .hero h1 {
    font-size: 2rem;
  }
}
