/*
Theme Name: DevJoynal
Theme URI: https://devjoynal.com
Author: জয়নাল আবদীন
Author URI: https://devjoynal.com
Description: প্রফেশনাল ডার্ক ওয়েব সার্ভিস থিম — বাংলাদেশের ওয়েব ডেভেলপার জয়নাল আবদীনের জন্য তৈরি। ডায়নামিক প্রজেক্ট/রিভিউ কাউন্টার, ৩১+ বাংলা টেস্টিমোনিয়াল স্লাইডার, পোর্টফোলিও ফিল্টার, কন্টাক্ট ফর্ম ও পূর্ণ বাংলা কন্টেন্ট সহ।
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: devjoynal
Tags: dark, portfolio, services, bengali, responsive, one-page, woocommerce, seo
*/

:root {
  --primary: #10b981;
  --primary-dark: #059669;
  --primary-light: rgba(16,185,129,0.15);
  --bg: #050912;
  --bg-card: #0d1117;
  --bg-card2: #111827;
  --fg: #f1f5f9;
  --muted: #94a3b8;
  --border: rgba(255,255,255,0.08);
  --radius: 1rem;
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: 'Hind Siliguri', 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 900px; margin: 0 auto; padding: 0 1.5rem; }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-weight: 900; line-height: 1.2; }

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 2rem; border-radius: 1rem;
  background: var(--primary); color: #fff; font-weight: 700; font-size: 1rem;
  transition: all 0.3s; cursor: pointer;
}
.btn-primary:hover { box-shadow: 0 0 30px rgba(16,185,129,0.5); transform: translateY(-2px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 2rem; border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.05);
  color: var(--fg); font-weight: 600; font-size: 1rem; transition: all 0.3s;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }

/* Cards */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 1.5rem; padding: 1.75rem;
}

/* Badge */
.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; border-radius: 9999px;
  background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.2);
  color: var(--primary); font-size: 0.875rem; font-weight: 600;
}

/* Grid */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* Section padding */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

/* Section header */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
.section-header p { color: var(--muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.section-header .badge { margin-bottom: 1rem; }

/* Primary text */
.text-primary { color: var(--primary); }
.text-muted { color: var(--muted); }

/* Divider */
.divider { height: 1px; background: var(--border); margin: 2rem 0; }

/* Skill bars */
.skill-bar { margin-bottom: 1.25rem; }
.skill-bar-header { display: flex; justify-content: space-between; margin-bottom: 0.5rem; font-size: 0.9rem; font-weight: 600; }
.skill-bar-track { height: 8px; background: rgba(255,255,255,0.06); border-radius: 9999px; overflow: hidden; }
.skill-bar-fill { height: 100%; background: linear-gradient(90deg, var(--primary), #34d399); border-radius: 9999px; transition: width 1.5s ease; width: 0; }

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 999;
  width: 3.5rem; height: 3.5rem; border-radius: 9999px;
  background: #22c55e; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 25px rgba(34,197,94,0.4); transition: all 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); background: #16a34a; }
.whatsapp-float svg { width: 1.6rem; height: 1.6rem; fill: #fff; }

/* Responsive hero */
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; min-height: 90vh; padding: 5rem 0; }
@media (max-width: 1024px) { .hero-grid { grid-template-columns: 1fr; min-height: auto; } }

/* Star rating */
.stars { display: flex; gap: 0.15rem; }
.stars svg { width: 14px; height: 14px; fill: #fbbf24; color: #fbbf24; }

/* Process steps */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 1024px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .process-grid { grid-template-columns: 1fr; } }

/* Portfolio filter */
.filter-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-bottom: 2rem; }
.filter-btn {
  padding: 0.6rem 1.25rem; border-radius: 0.75rem;
  border: 1px solid var(--border); background: var(--bg-card);
  color: var(--muted); font-size: 0.875rem; font-weight: 600; cursor: pointer; transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary); color: #fff; border-color: var(--primary);
  box-shadow: 0 0 15px rgba(16,185,129,0.3);
}

/* Project card */
.project-card { border-radius: 1.5rem; overflow: hidden; background: var(--bg-card); border: 1px solid var(--border); transition: all 0.3s; }
.project-card:hover { border-color: rgba(16,185,129,0.3); transform: translateY(-8px); }
.project-thumb { height: 200px; display: flex; align-items: center; justify-content: center; font-size: 5rem; }
.project-body { padding: 1.5rem; }
.project-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; }
.project-cat { font-size: 0.75rem; font-weight: 700; color: var(--primary); background: rgba(16,185,129,0.1); padding: 0.25rem 0.75rem; border-radius: 9999px; }
.project-result { font-size: 0.75rem; color: var(--muted); background: rgba(255,255,255,0.05); padding: 0.25rem 0.75rem; border-radius: 9999px; }

/* Blog card */
.blog-card { border-radius: 1.5rem; overflow: hidden; background: var(--bg-card); border: 1px solid var(--border); transition: all 0.3s; }
.blog-card:hover { border-color: rgba(16,185,129,0.3); transform: translateY(-8px); }
.blog-thumb { height: 150px; display: flex; align-items: center; justify-content: center; font-size: 4rem; background: rgba(16,185,129,0.08); }
.blog-body { padding: 1.5rem; }

/* Contact form */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.5rem; }
.form-input {
  width: 100%; padding: 0.85rem 1.1rem; border-radius: 0.85rem;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  color: var(--fg); font-size: 1rem; font-family: inherit; transition: border-color 0.2s;
}
.form-input:focus { outline: none; border-color: var(--primary); }
.form-input::placeholder { color: var(--muted); }
textarea.form-input { resize: vertical; min-height: 130px; }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.tag { font-size: 0.75rem; padding: 0.25rem 0.65rem; border-radius: 0.5rem; background: rgba(255,255,255,0.05); border: 1px solid var(--border); color: var(--muted); }

/* About page */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; margin-bottom: 2rem; }
.timeline-item::before { content: ''; position: absolute; left: -2.4rem; top: 0.4rem; width: 0.75rem; height: 0.75rem; border-radius: 9999px; background: var(--primary); }
.timeline-year { font-size: 0.8rem; font-weight: 700; color: var(--primary); margin-bottom: 0.25rem; }
.timeline-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.35rem; }
.timeline-desc { font-size: 0.875rem; color: var(--muted); }
