body {
  font-family: "Poppins", sans-serif !important;
  background-color: #1e293b !important; /* hitam dove */
  color: #e5e5e5; /* teks default abu muda agar kontras */
}

header.nav-sticky {
  background-color: #1e293b; /* hitam dove */
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4); /* biar ada depth */
}

header.nav-sticky a {
  color: #e5e5e5; /* teks abu terang */
}

header.nav-sticky a:hover {
  color: #79ffff; /* biru celah biar tetap eye-catching */
}

/* h2 {
  font-size: 36px;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
} */

h3 {
  font-size: 30px;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  line-height: 38px;
}

h4 {
  font-size: 24px;
  font-weight: 600;
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
}

h5 {
  font-size: 20px;
  font-weight: 500;
  margin-top: 1rem;
  margin-bottom: 0.4rem;
}

h6 {
  font-size: 18px;
  font-weight: 500;
  margin-top: 0.8rem;
  margin-bottom: 0.3rem;
}

blockquote {
  position: relative;
  background: #fff8c4;
  border-left: 8px solid #f4a63f;
  margin: 1.5em 0;
  padding: 1em 1.5em 1em 3em;
  color: #333;
  font-size: 1.05rem;
  line-height: 1.6;
  border-radius: 4px;
  font-style: normal;
}

blockquote::before {
  content: "“";
  position: absolute;
  left: 1rem;
  top: 0.4rem;
  font-size: 2.5rem;
  line-height: 1;
  color: #b1972b;
}

blockquote p {
  margin: 0;
}

/* Styling untuk tabel di konten */
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  font-size: 0.95rem;
  color: #cbd5e1;
}

.prose th,
.prose td {
  border: 1px solid #ddd;
  padding: 8px 12px;
}

.prose th {
  font-weight: bold;
  text-align: left;
}

/* Inline code style */
p code,
li code,
td code {
  background-color: #3e4754; /* abu muda */
  color: #fff;
  padding: 0.2em 0.4em;
  border-radius: 0.25rem;
  font-weight: 600;
  font-style: italic;
}

/* Code block style */
pre code {
  display: block;
  padding: 1em;
  background-color: #f9fafb;
  color: #1f2937;
  overflow-x: auto;
  border-radius: 6px;
}

/* Hanya berlaku di halaman konten blog */
.blog-content h2 {
  font-size: 36px;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.blog-content h3 {
  font-size: 30px;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.blog-content h4 {
  font-size: 24px;
  font-weight: 600;
}
.blog-content h5 {
  font-size: 20px;
  font-weight: 600;
}
.blog-content h6 {
  font-size: 18px;
  font-weight: 600;
}

/* Hanya berlaku untuk halaman konten Project */
.project-content h2 {
  font-size: 36px;
}

.project-content h3 {
  font-size: 30px;
}

h4 {
  font-size: 24px;
  font-weight: 600;
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
}

h5 {
  font-size: 20px;
  font-weight: 500;
  margin-top: 1rem;
  margin-bottom: 0.4rem;
}

h6 {
  font-size: 18px;
  font-weight: 500;
  margin-top: 0.8rem;
  margin-bottom: 0.3rem;
}

/* Sticky Header */
.nav-sticky {
  position: sticky;
  top: 0;
  z-index: 999;
}

/* Style umum untuk semua <a> (link) */
.content a,
.prose a,
.markdown a {
  text-decoration: underline;
  font-weight: 600;
  color: inherit; /* biar warna mengikuti body, kecuali saat hover */
  transition: color 0.3s ease;
}

/* Style saat link di-hover */
.content a:hover,
.prose a:hover,
.markdown a:hover {
  color: #79ffff; /* warna biru cerah */
}

/* Style Author */
.author-name a {
  text-decoration: none;
  font-weight: 600;
  color: inherit; /* biar warna mengikuti body, kecuali saat hover */
  transition: color 0.3s ease;
}

/* Style saat link di-hover */
.content a:hover,
.prose a:hover,
.markdown a:hover {
  color: #79ffff; /* warna biru cerah */
}

.prose img,
.content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Untuk markdown content Blog */

.blog-list img {
  width: 96px; /* 24 Tailwind units */
  height: 96px;
  object-fit: cover;
  border-radius: 0.75rem; /* 12px, biar rounded lembut */
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.blog-list a {
  text-decoration: none;
  font-weight: 600;
  color: inherit; /* biar warna mengikuti body, kecuali saat hover */
  transition: color 0.3s ease;
}

.blog-list a:hover {
  color: #79ffff; /* warna biru cerah */
  text-decoration: underline;
}

.blog-tags a {
  border-color: #79ffff;
  text-decoration: none;
}

.blog-tags a:hover {
  background-color: #b8eeee;
  color: #1e293b;
  text-decoration: none;
}

.prose ul,
.prose ol {
  list-style: disc !important;
  margin-left: 1rem !important;
  padding-left: 1rem !important;
}
.prose ol {
  list-style: decimal !important;
}

/* Tambahkan di assets/css/custom.css atau style bawaan Tailwind jika kamu extend */
.prose ol {
  list-style-type: decimal;
  padding-left: 1.25rem; /* atau pl-5 */
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.prose ol li {
  margin-bottom: 0.75rem;
}

pre {
  background-color: #1e2230; /* warna dasar gelap */
  border: 1px solid #475569;
  color: #cbd5e1; /* warna teks abu-abu terang */
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.6;
  overflow-x: auto;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

/* Styling tag code di dalam pre */
pre code {
  background: none;
  color: #cbd5e1;
}

/* Opsional: border kiri tipis untuk aksen */
pre::before {
  content: none;
  display: block;
  height: 100%;
  width: 4px;
  background: #79ffff; /* aksen turquoise seperti tema kamu */
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 8px 0 0 8px;
}

/* About Styling */
.about-page,
.items-start {
  max-width: 800px;
  margin: auto;
  padding: 2rem;
}

.about-page .intro h1 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 1rem;
}

.about-page .content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #cbd5e1;
}

.about-page .content p {
  margin-top: 1rem;
}

/* ====== Project Page Styling ====== */
.project-page p {
  color: #d1d5db; /* teks normal (abu terang) */
}

.project-page .highlight {
  color: #fff; /* teks penting (Putih) */
}

.project-page .card {
  background-color: #1f2937; /* abu gelap (bg-gray-800) */
  border-radius: 0.5rem;
  padding: 1rem;
  text-align: center;
}

.project-page .card .value {
  color: #60a5fa; /* angka (biru terang) */
  font-weight: bold;
  font-size: 1.5rem;
}

/* Untuk markdown content */
.markdown-body {
  line-height: 1.8;
  color: #cbd5e1;
  padding: 1rem;
}

/* Heading */
.markdown-body h1,
.markdown-body h2,
.markdown-body h3 {
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: #fff; /* slate-800 */
}

/* Spacing untuk paragraf */
.markdown-body p {
  margin-bottom: 1.2rem;
}

/* List styling */
.markdown-body ul {
  margin-left: 1.5rem;
  list-style: disc;
  margin-bottom: 1.2rem;
}

.markdown-body li {
  margin-bottom: 0.5rem;
}

/* Horizontal line spacing */
.markdown-body hr {
  margin: 2rem 0;
  border: none;
  border-top: 1px solid #ddd;
}

/* h3#-background {
  font-weight: 700;
} */

h3#-background,
h3#-tech-stack,
h3#-currently-learning,
h3#-lets-connect {
  margin-top: 2rem;
  font-weight: 700;
}

/* .about-page .content ul {
  margin-top: 2rem;
} */

/* custom.css */
.card {
  background-color: #e2e2e2;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
}

.contact-page {
  background: linear-gradient(
    rgba(255, 255, 255, 0.20000000298023224),
    rgba(255, 255, 255, 0.10000000149011612)
  );
  color: #fff;
  border-radius: 10px;
}

.bg-white h2 {
  color: #000;
}

.contact-btn {
  background-color: #4e426f;
  color: #fff;
  margin-top: 50px;
}

.read-more {
  background-color: #4e426f;
  color: #fff;
}

/* custom.css */

.input-style {
  width: 100%;
  padding: 0.5rem 1rem;
  border: 1px solid #d1d5db; /* Tailwind: border-gray-300 */
  border-radius: 0.5rem;
  background-color: #ffffff;
  color: #1f2937; /* Tailwind: text-gray-800 */
  font-size: 1rem;
  transition: all 0.2s ease-in-out;
}

.input-style:focus {
  outline: none;
  border-color: #a855f7; /* Tailwind: purple-500 */
  box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.5);
}

.required-label {
  font-weight: 600;
  color: #374151; /* Tailwind: text-gray-700 */
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
  display: block;
}

.required-label .required {
  color: #ef4444; /* Tailwind: text-red-500 */
}
