/* ==========================================================================
   SHOYIB HASAN — MINIMALIST EDITORIAL PORTFOLIO (ICEBERG DESIGN AESTHETIC)
   Inspired by: abdullahaljaber.com (Nord Studio Iceberg Layout)
   Clean, Calm, Spacious, Dignified, Content-Focused
   ========================================================================== */

:root {
  --bg-body: #f3f4f6;
  --bg-card: #ffffff;
  --border-card: #e5e7eb;
  --text-main: #1f2937;
  --text-muted: #6b7280;
  --text-heading: #111827;
  --sidebar-bg: #0f141c;
  --sidebar-text: #94a3b8;
  --sidebar-heading: #f8fafc;
  --accent-color: #059669;
  --accent-hover: #047857;

  --font-serif: 'PT Serif', Georgia, 'Times New Roman', serif;
  --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-bengali: 'Hind Siliguri', 'Poppins', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-serif {
  font-family: var(--font-serif);
}

.font-bengali {
  font-family: var(--font-bengali);
}

/* Master Two-Column Layout */
.site-wrapper {
  display: flex;
  min-height: 100vh;
}

/* Left Sidebar */
.site-sidebar {
  width: 320px;
  background-color: var(--sidebar-bg);
  color: var(--sidebar-text);
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  overflow-y: auto;
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 50;
}

.site-sidebar::-webkit-scrollbar {
  width: 4px;
}
.site-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

/* Avatar & Identity */
.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #1e293b;
  border: 3px solid rgba(255, 255, 255, 0.12);
  margin: 0 auto 18px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 32px;
  color: #34d399;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.site-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--sidebar-heading);
  text-align: center;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.site-title-bn {
  font-family: var(--font-bengali);
  font-size: 14px;
  color: #34d399;
  text-align: center;
  margin-bottom: 12px;
  font-weight: 500;
}

.site-tagline {
  font-size: 11.5px;
  color: #94a3b8;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 24px;
  padding: 0 6px;
}

/* Social Icon Menu */
.sidebar-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.social-link {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  transition: all 0.2s ease;
}

.social-link:hover {
  background: var(--accent-color);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Sidebar Navigation Links */
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 30px;
}

.nav-link-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  border-radius: 8px;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-link-item:hover,
.nav-link-item.active {
  background: rgba(255, 255, 255, 0.08);
  color: #34d399;
}

.nav-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #64748b;
  transition: background 0.2s ease;
}

.nav-link-item:hover .nav-dot,
.nav-link-item.active .nav-dot {
  background: #34d399;
}

/* Right Content Area */
.site-content {
  margin-left: 320px;
  flex: 1;
  padding: 50px 40px;
  max-width: 900px;
}

/* Content Article Card (Iceberg style) */
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 38px 42px;
  margin-bottom: 36px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: box-shadow 0.2s ease;
}

.article-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* Card Header */
.card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.35;
  margin-bottom: 14px;
}

.card-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 22px;
  line-height: 1.6;
}

.card-body {
  font-size: 14.5px;
  color: #374151;
  line-height: 1.8;
}

.card-body p {
  margin-bottom: 16px;
}

.card-body p:last-child {
  margin-bottom: 0;
}

/* Minimalist Clean List */
.clean-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.clean-list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 8px;
  background: #f9fafb;
  border: 1px solid #f1f5f9;
}

.clean-list-item-title {
  font-weight: 600;
  color: #111827;
  font-size: 14px;
  margin-bottom: 3px;
}

.clean-list-item-desc {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.6;
}

/* Action Buttons */
.btn-primary-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: #111827;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary-dark:hover {
  background: var(--accent-color);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: transparent;
  color: #374151;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid #d1d5db;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  color: #111827;
}

/* Clean Form */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #374151;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 11px 15px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: #111827;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12);
}

/* Responsive (Mobile Header) */
.mobile-header {
  display: none;
  background: var(--sidebar-bg);
  color: #ffffff;
  padding: 16px 20px;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 60;
}

@media (max-width: 960px) {
  .mobile-header {
    display: flex;
  }

  .site-sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    width: 280px;
  }

  .site-sidebar.open {
    transform: translateX(0);
  }

  .site-content {
    margin-left: 0;
    padding: 30px 20px;
    max-width: 100%;
  }

  .article-card {
    padding: 26px 22px;
  }

  .card-title {
    font-size: 22px;
  }
}
