/* ============================================================
   shuronjit.com — Main Stylesheet v2.0
   Design: Dark cyber/tech theme with blue accent
   ============================================================ */

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

:root {
  --primary:    #0ea5e9;      /* sky blue  */
  --primary-d:  #0284c7;
  --accent:     #22d3ee;      /* cyan      */
  --dark:       #0f172a;      /* navy-dark */
  --dark2:      #1e293b;
  --dark3:      #334155;
  --text:       #e2e8f0;
  --text-muted: #94a3b8;
  --white:      #ffffff;
  --danger:     #ef4444;
  --success:    #22c55e;
  --border:     rgba(255,255,255,0.08);
  --radius:     8px;
  --shadow:     0 4px 24px rgba(0,0,0,0.4);
  --transition: all .25s ease;
  --font:       'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono:  'Courier New', monospace;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Utility ──────────────────────────────────────────────── */
.container   { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 600;
  background: var(--primary);
  color: #fff;
  letter-spacing: .03em;
}
.badge-cyan    { background: var(--accent); color: var(--dark); }
.badge-outline { background: transparent; border: 1px solid var(--primary); color: var(--primary); }
.section-title {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
}
.section-title span { color: var(--primary); }
.section-subtitle { color: var(--text-muted); margin-bottom: 40px; }
.divider {
  width: 50px; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin: 12px 0 32px;
  border-radius: 2px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 26px;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  transition: var(--transition);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 20px rgba(14,165,233,.35);
}
.btn-primary:hover {
  background: var(--primary-d);
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(14,165,233,.5);
  color: #fff;
}
.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn-sm { padding: 7px 16px; font-size: .85rem; }

/* ── Header / Nav ─────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(15,23,42,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,.5);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo {
  font-size: 1.3rem; font-weight: 700;
  color: var(--white);
  display: flex; align-items: center; gap: 10px;
}
/* Logo image — sized to fit the nav bar height */
.site-logo-img {
  height: 44px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  /* The logo PNG has a black background — lighten blend lets the gold show
     naturally against the dark navy header */
  mix-blend-mode: lighten;
  filter: drop-shadow(0 0 6px rgba(212,175,55,.25));
  transition: filter .25s ease;
}
.site-logo-img:hover {
  filter: drop-shadow(0 0 12px rgba(212,175,55,.5));
}
.nav-logo .logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-logo .logo-name { color: var(--white); font-size: 1rem; }
.nav-logo .logo-sub  { color: var(--primary); font-size: .72rem; font-weight: 400; }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a {
  padding: 7px 13px;
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: .88rem;
  font-weight: 500;
}
.nav-menu a:hover,
.nav-menu a.active { color: var(--white); background: var(--dark3); }
.nav-menu a.btn-resume {
  background: var(--primary);
  color: #fff;
  padding: 7px 16px;
}
.nav-menu a.btn-resume:hover { background: var(--primary-d); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; padding: 8px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: var(--transition);
}
.mobile-menu {
  display: none;
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 16px 0;
}
.mobile-menu a {
  display: block; padding: 10px 24px;
  color: var(--text-muted);
  font-size: .95rem;
}
.mobile-menu a:hover { color: var(--primary); background: var(--dark3); }

/* ── Hero / Slider ───────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark) 0%, #0f1f40 50%, var(--dark) 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .12;
  z-index: 0;
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(14,165,233,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,.06) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 60px;
  width: 100%;
}
.hero-text { flex: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(14,165,233,.12);
  border: 1px solid rgba(14,165,233,.25);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.hero-name {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 12px;
}
.hero-name span { color: var(--primary); }
.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 18px;
}
.hero-desc {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats {
  display: flex; gap: 32px; flex-wrap: wrap;
}
.hero-stat .num {
  font-size: 1.6rem; font-weight: 700; color: var(--white);
}
.hero-stat .num span { color: var(--primary); }
.hero-stat .lbl { font-size: .78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }

.hero-photo {
  flex-shrink: 0;
  position: relative;
}
.hero-photo-ring {
  width: 320px; height: 320px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 4px;
  position: relative;
}
.hero-photo-ring::before {
  content: '';
  position: absolute; inset: -12px;
  border-radius: 50%;
  border: 2px dashed rgba(14,165,233,.35);
  animation: rotate 20s linear infinite;
}
.hero-photo-ring::after {
  content: '';
  position: absolute; inset: -24px;
  border-radius: 50%;
  border: 1px dashed rgba(14,165,233,.15);
  animation: rotate 30s linear infinite reverse;
}
@keyframes rotate { to { transform: rotate(360deg); } }
.hero-photo-inner {
  width: 100%; height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: var(--dark2);
}
.hero-photo-inner img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-badges {
  position: absolute; top: -10px; right: -20px;
  display: flex; flex-direction: column; gap: 8px;
}
.hero-badge-pill {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  padding: 6px 12px;
  border-radius: var(--radius);
  font-size: .75rem;
  color: var(--text);
  white-space: nowrap;
  box-shadow: var(--shadow);
}
.hero-badge-pill i { color: var(--primary); margin-right: 5px; }

.hero-scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-muted); font-size: .75rem;
  animation: bounce 2s infinite;
  z-index: 1;
}
.hero-scroll i { font-size: 1.2rem; }
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(14,165,233,.3);
  box-shadow: 0 8px 32px rgba(14,165,233,.12);
}
.card-icon {
  width: 48px; height: 48px;
  background: rgba(14,165,233,.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 16px;
}

/* ── Sections ─────────────────────────────────────────────── */
.section { padding: 100px 0; }
.section-alt { background: var(--dark2); }
.section-header { margin-bottom: 56px; }

/* ── About Section ────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}
.about-photo-wrap {
  position: relative;
}
.about-photo {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.about-photo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.about-info-list { margin-top: 20px; }
.about-info-list li {
  display: flex; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
}
.about-info-list li:last-child { border: none; }
.about-info-list i { color: var(--primary); width: 18px; margin-top: 3px; }
.about-info-list .lbl { color: var(--text-muted); min-width: 80px; }
.about-info-list .val { color: var(--text); }

.about-tabs { display: flex; gap: 4px; margin-bottom: 28px; flex-wrap: wrap; }
.about-tab {
  padding: 8px 18px;
  border-radius: var(--radius);
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.about-tab:hover,
.about-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.about-panel { display: none; }
.about-panel.active { display: block; }

/* Timeline (experience/education) */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: '';
  position: absolute; left: 0; top: 8px; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), transparent);
}
.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-item::before {
  content: '';
  position: absolute; left: -32px; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--dark2);
  box-shadow: 0 0 8px rgba(14,165,233,.5);
}
.timeline-item h4 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 2px; }
.timeline-item .meta { font-size: .82rem; color: var(--primary); margin-bottom: 6px; }
.timeline-item .org  { font-size: .88rem; color: var(--text-muted); margin-bottom: 8px; }
.timeline-item p     { font-size: .88rem; color: var(--text-muted); line-height: 1.7; }
.timeline-item ul    { padding-left: 16px; }
.timeline-item ul li { font-size: .85rem; color: var(--text-muted); margin-bottom: 4px; list-style: disc; }

/* Cert grid */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.cert-item {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .85rem;
  transition: var(--transition);
}
.cert-item:hover { border-color: var(--primary); }
.cert-item i { color: var(--primary); margin-top: 2px; flex-shrink: 0; }

/* ── Skills Grid ──────────────────────────────────────────── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.skill-tag {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  text-align: center;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}
.skill-tag:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* ── Blog / Portfolio Grid ────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.blog-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(14,165,233,.3);
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}
.blog-card-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.blog-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.blog-card:hover .blog-card-thumb img { transform: scale(1.05); }
.blog-card-body { padding: 20px; }
.blog-card-cat  { margin-bottom: 8px; }
.blog-card h3   { font-size: 1rem; font-weight: 700; margin-bottom: 8px; line-height: 1.45; }
.blog-card h3 a { color: var(--white); }
.blog-card h3 a:hover { color: var(--primary); }
.blog-card p    { font-size: .85rem; color: var(--text-muted); margin-bottom: 16px; line-height: 1.6; }
.blog-card-meta { display: flex; align-items: center; justify-content: space-between; font-size: .78rem; color: var(--text-muted); }

/* ── Gallery Grid ─────────────────────────────────────────── */
.gallery-grid {
  columns: 3;
  column-gap: 16px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery-item img { width: 100%; display: block; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(14,165,233,.7);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { font-size: 2rem; color: #fff; }

/* ── Contact ──────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}
.contact-info-item {
  display: flex; gap: 16px; align-items: flex-start;
  margin-bottom: 24px;
}
.contact-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: rgba(14,165,233,.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
}
.contact-info-item h4 { font-size: .9rem; color: var(--text-muted); margin-bottom: 3px; }
.contact-info-item p  { color: var(--white); font-size: .95rem; }

/* Form */
.form-group   { margin-bottom: 20px; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--text-muted); margin-bottom: 7px; }
.form-control {
  width: 100%;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  color: var(--text);
  font-size: .95rem;
  font-family: inherit;
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14,165,233,.18);
}
textarea.form-control { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-msg { margin-top: 14px; font-size: .9rem; }
.form-msg.success { color: var(--success); }
.form-msg.error   { color: var(--danger); }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: #070d1a;
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .brand-name {
  font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: 10px;
}
.footer-brand p { font-size: .88rem; color: var(--text-muted); line-height: 1.7; }
.footer-social  { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px;
  background: var(--dark3);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: #fff; }
.footer-col h4 { font-size: .9rem; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: .88rem; color: var(--text-muted); }
.footer-col ul li a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .82rem; color: var(--text-muted);
}
.footer-bottom a { color: var(--primary); }

/* ── AdSense ──────────────────────────────────────────────── */
.ad-slot { margin: 32px 0; text-align: center; }
.ad-label {
  font-size: .7rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 6px;
}

/* ── Scroll to top ────────────────────────────────────────── */
.scroll-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 44px; height: 44px;
  background: var(--primary);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(14,165,233,.4);
  opacity: 0; pointer-events: none;
  transition: var(--transition);
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover   { background: var(--primary-d); transform: translateY(-3px); }

/* ── Lightbox ─────────────────────────────────────────────── */
.lightbox-overlay {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.9);
  align-items: center; justify-content: center;
}
.lightbox-overlay.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 88vh; border-radius: 8px; }
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  color: #fff; font-size: 2rem; cursor: pointer;
}

/* ── Loader ───────────────────────────────────────────────── */
.page-loader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .4s ease;
}
.page-loader.hidden { opacity: 0; pointer-events: none; }
.loader-ring {
  width: 50px; height: 50px;
  border: 3px solid var(--dark3);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-content { gap: 40px; }
  .hero-photo-ring { width: 260px; height: 260px; }
  .about-grid  { grid-template-columns: 1fr; gap: 40px; }
  .about-photo img { aspect-ratio: 16/9; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }
  .hero-content { flex-direction: column; text-align: center; }
  .hero-photo   { order: -1; }
  .hero-photo-ring { width: 200px; height: 200px; }
  .hero-badges  { display: none; }
  .hero-stats   { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-desc    { margin: 0 auto 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row     { grid-template-columns: 1fr; }
  .gallery-grid { columns: 2; }
  .footer-grid  { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .blog-grid    { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-name { font-size: 2rem; }
  .gallery-grid { columns: 1; }
  .cert-grid { grid-template-columns: 1fr; }
}
