/*
Theme Name: Farid Sikder
Theme URI: https://faridsikder.com
Description: Personal brand theme for Farid Sikder
Author: Farid Sikder
Version: 1.0
*/

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #ffffff;
  color: #111111;
  font-size: 16px;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── CSS VARIABLES ── */
:root {
  --amber: #BA7517;
  --amber-light: #FAEEDA;
  --amber-dark: #854F0B;
  --amber-border: #FAC775;
  --border: rgba(0,0,0,0.1);
  --border-mid: rgba(0,0,0,0.2);
  --bg: #ffffff;
  --bg-secondary: #f8f7f5;
  --text: #111111;
  --text-muted: #666666;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-pill: 999px;
  --max-width: 860px;
}

/* ── SITE WRAPPER ── */
.site-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ── NAVIGATION ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 0.5px solid var(--border);
}
.site-nav .inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.4px;
  color: var(--text);
}
.nav-logo span { color: var(--amber); }
.nav-links { display: flex; gap: 2px; }
.nav-links a {
  font-size: 13px;
  padding: 6px 12px;
  border-radius: var(--radius);
  color: var(--text-muted);
  transition: all .15s;
}
.nav-links a:hover,
.nav-links a.current-menu-item,
.nav-links a[aria-current="page"] {
  background: var(--bg-secondary);
  color: var(--text);
  font-weight: 500;
}

/* ── HERO ── */
.hero {
  padding: 52px 28px 40px;
  border-bottom: 0.5px solid var(--border);
  max-width: var(--max-width);
  margin: 0 auto;
}
.hero-avatar-row {
  display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
}
.hero-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--bg-secondary);
  border: 0.5px solid var(--border-mid);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 600; color: var(--amber);
  font-family: monospace; flex-shrink: 0;
  overflow: hidden;
}
.hero-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hero-name { font-size: 15px; font-weight: 500; }
.hero-location {
  font-size: 12px; color: var(--text-muted);
  display: flex; align-items: center; gap: 5px; margin-top: 2px;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #22c55e;
  display: inline-block; animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero h1 {
  font-size: 36px; font-weight: 600; letter-spacing: -1px;
  line-height: 1.15; margin-bottom: 14px;
}
.hero h1 em { font-style: normal; color: var(--amber); }
.hero .hero-desc {
  font-size: 15px; color: var(--text-muted); line-height: 1.75;
  max-width: 520px; margin-bottom: 24px;
}
.hero-chips {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px;
}
.chip {
  font-size: 12px; padding: 4px 12px; border-radius: var(--radius-pill);
  background: var(--bg-secondary); color: var(--text-muted);
  border: 0.5px solid var(--border);
}
.chip.accent { background: var(--amber-light); color: var(--amber-dark); border-color: var(--amber-border); }
.hero-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-dark {
  background: var(--text); color: #fff; border: none; cursor: pointer;
  font-size: 13px; padding: 10px 22px; border-radius: var(--radius);
  font-weight: 500; transition: opacity .15s; display: inline-block;
}
.btn-dark:hover { opacity: .8; color: #fff; }
.btn-outline {
  background: none; border: 0.5px solid var(--border-mid); cursor: pointer;
  font-size: 13px; padding: 10px 22px; border-radius: var(--radius);
  color: var(--text); transition: background .15s; display: inline-block;
}
.btn-outline:hover { background: var(--bg-secondary); }

/* ── NOW STRIP ── */
.now-strip {
  background: var(--bg-secondary);
  border-bottom: 0.5px solid var(--border);
}
.now-strip .inner {
  max-width: var(--max-width); margin: 0 auto; padding: 13px 28px;
  display: flex; gap: 16px; flex-wrap: wrap; align-items: center;
}
.now-label {
  font-size: 11px; font-weight: 600; letter-spacing: .9px;
  text-transform: uppercase; color: var(--text-muted); white-space: nowrap;
}
.now-item { font-size: 13px; color: var(--text); display: flex; align-items: center; gap: 5px; }
.now-dot { color: var(--amber); font-size: 16px; line-height: 1; }

/* ── PAGE SECTIONS ── */
.page-section {
  border-bottom: 0.5px solid var(--border);
  max-width: var(--max-width); margin: 0 auto; padding: 32px 28px;
}
.page-section.alt { background: var(--bg-secondary); }
.section-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px;
}
.section-label {
  font-size: 11px; font-weight: 600; letter-spacing: .9px;
  text-transform: uppercase; color: var(--text-muted);
}
.section-more {
  font-size: 12px; color: var(--amber); background: none;
  border: none; cursor: pointer; font-family: inherit;
}
.section-more a { color: var(--amber); }

/* ── CHALLENGE CARD ── */
.challenge-card {
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px 22px;
}
.challenge-card-top {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px;
}
.challenge-badge {
  font-size: 11px; font-weight: 600; padding: 3px 10px;
  border-radius: var(--radius-pill); background: var(--amber-light); color: var(--amber-dark);
}
.challenge-day { font-size: 13px; color: var(--text-muted); }
.challenge-title { font-size: 16px; font-weight: 600; margin-bottom: 6px; letter-spacing: -.3px; }
.challenge-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.progress-bar-wrap { height: 5px; background: var(--bg-secondary); border-radius: 3px; margin-bottom: 6px; }
.progress-bar-fill { height: 5px; border-radius: 3px; background: var(--amber); }
.progress-label { font-size: 12px; color: var(--text-muted); margin-bottom: 16px; }

/* day tracker grid */
.days-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(38px, 1fr)); gap: 5px;
}
.day-cell {
  aspect-ratio: 1; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 500;
  border: 0.5px solid var(--border);
  background: var(--bg-secondary); color: var(--text-muted);
}
.day-cell.done { background: var(--amber-light); color: var(--amber-dark); border-color: var(--amber-border); }
.day-cell.today { background: var(--text); color: #fff; border-color: var(--text); }
.day-cell.future { opacity: .3; }

/* ── CONTENT CARDS GRID ── */
.cards-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); gap: 10px;
}
.content-card {
  background: var(--bg); border: 0.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 16px;
  cursor: pointer; transition: border-color .15s;
}
.content-card:hover { border-color: var(--border-mid); }
.content-card-cat {
  font-size: 11px; color: var(--amber); font-weight: 600;
  letter-spacing: .5px; margin-bottom: 7px;
}
.content-card-title {
  font-size: 14px; font-weight: 500; line-height: 1.35; margin-bottom: 5px;
}
.content-card-meta { font-size: 12px; color: var(--text-muted); }

/* ── BOOK ROW ── */
.book-row {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 0; border-bottom: 0.5px solid var(--border);
}
.book-row:last-child { border-bottom: none; }
.book-cover {
  width: 36px; height: 48px; border-radius: 4px;
  background: var(--bg-secondary); border: 0.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 8px; font-weight: 600; color: var(--text-muted);
  flex-shrink: 0; text-align: center; line-height: 1.3; padding: 3px;
  overflow: hidden;
}
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-title { font-size: 14px; font-weight: 500; margin-bottom: 2px; }
.book-author { font-size: 12px; color: var(--text-muted); margin-bottom: 5px; }
.book-note { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.book-status {
  font-size: 11px; font-weight: 600; padding: 2px 8px;
  border-radius: var(--radius-pill); display: inline-block; margin-top: 5px;
}
.book-status.reading { background: var(--amber-light); color: var(--amber-dark); }
.book-status.finished {
  background: var(--bg-secondary); color: var(--text-muted);
  border: 0.5px solid var(--border);
}

/* ── ABOUT PAGE ── */
.about-page { max-width: var(--max-width); margin: 0 auto; padding: 40px 28px; }
.about-intro-row { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 28px; }
.about-intro-av {
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--bg-secondary); border: 0.5px solid var(--border-mid);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 600; color: var(--amber);
  font-family: monospace; flex-shrink: 0; overflow: hidden;
}
.about-intro-av img { width: 100%; height: 100%; object-fit: cover; }
.about-intro-av h1 { font-size: 22px; font-weight: 600; letter-spacing: -.5px; margin-bottom: 5px; }
.about-body p { font-size: 14px; color: var(--text-muted); line-height: 1.8; margin-bottom: 14px; }
.about-body p strong { color: var(--text); font-weight: 500; }
.about-divider { height: 0.5px; background: var(--border); margin: 28px 0; }
.about-section-title {
  font-size: 11px; font-weight: 600; letter-spacing: .9px;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px;
}
.topics-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); gap: 10px;
}
.topic-card {
  border: 0.5px solid var(--border); border-radius: var(--radius-lg);
  padding: 16px; background: var(--bg-secondary);
}
.topic-num { font-size: 10px; color: var(--text-muted); margin-bottom: 6px; letter-spacing: .5px; }
.topic-title { font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.topic-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

/* ── BLOG PAGE ── */
.blog-page { max-width: var(--max-width); margin: 0 auto; padding: 36px 28px; }
.blog-page h1 { font-size: 22px; font-weight: 600; letter-spacing: -.5px; margin-bottom: 6px; }
.blog-page .blog-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 22px; }

/* category filter */
.blog-filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }
.filter-btn {
  font-size: 12px; padding: 5px 14px; border-radius: var(--radius-pill);
  border: 0.5px solid var(--border);
  background: var(--bg-secondary); color: var(--text-muted);
  cursor: pointer; font-family: inherit; transition: all .15s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--amber-light); color: var(--amber-dark); border-color: var(--amber-border);
}

/* post list */
.post-list { display: flex; flex-direction: column; }
.post-item {
  display: flex; gap: 16px; padding: 18px 0;
  border-bottom: 0.5px solid var(--border); cursor: pointer;
  transition: color .15s;
}
.post-item:last-child { border-bottom: none; }
.post-item:hover .post-title { color: var(--amber); }
.post-num { font-size: 12px; color: var(--text-muted); min-width: 26px; padding-top: 3px; flex-shrink: 0; }
.post-body { flex: 1; }
.post-cat {
  font-size: 11px; font-weight: 600; padding: 2px 9px;
  border-radius: var(--radius-pill); background: var(--amber-light);
  color: var(--amber-dark); display: inline-block; margin-bottom: 7px;
}
.post-cat.cat-ai, .post-cat.cat-challenge, .post-cat.cat-personal {
  background: var(--bg-secondary); color: var(--text-muted);
  border: 0.5px solid var(--border);
}
.post-title { font-size: 15px; font-weight: 500; line-height: 1.35; margin-bottom: 5px; transition: color .15s; }
.post-excerpt { font-size: 13px; color: var(--text-muted); line-height: 1.55; }
.post-meta { font-size: 12px; color: var(--text-muted); margin-top: 7px; }

/* ── CONTACT PAGE ── */
.contact-page {
  max-width: var(--max-width); margin: 0 auto; padding: 40px 28px;
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px;
}
.contact-info h2 { font-size: 22px; font-weight: 600; letter-spacing: -.5px; margin-bottom: 10px; }
.contact-info p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 22px; }
.social-links { display: flex; flex-direction: column; gap: 8px; }
.social-link {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px;
  background: var(--bg-secondary); border: 0.5px solid var(--border);
  border-radius: var(--radius);
}
.social-icon {
  width: 30px; height: 30px; border-radius: var(--radius);
  background: var(--amber-light); color: var(--amber-dark);
  font-size: 11px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.social-name { font-size: 13px; font-weight: 500; }
.social-handle { font-size: 12px; color: var(--text-muted); }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 5px; }
.form-field label { font-size: 12px; font-weight: 500; color: var(--text-muted); }
.form-field input,
.form-field textarea,
.form-field select {
  font-size: 14px; padding: 10px 13px;
  border: 0.5px solid var(--border-mid);
  border-radius: var(--radius);
  background: var(--bg); color: var(--text);
  font-family: inherit; width: 100%;
  transition: border-color .15s;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none; border-color: var(--amber);
}
.form-field textarea { height: 100px; resize: none; }

/* ── SITE FOOTER ── */
.site-footer {
  background: var(--bg-secondary);
  border-top: 0.5px solid var(--border);
}
.site-footer .inner {
  max-width: var(--max-width); margin: 0 auto; padding: 18px 28px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--text-muted);
}
.footer-links { display: flex; gap: 14px; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--text); }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .hero h1 { font-size: 26px; }
  .contact-page { grid-template-columns: 1fr; }
  .nav-links a { font-size: 12px; padding: 5px 8px; }
}
