/* Custom styles — complements Bootstrap 5 defaults */

/* ── General ─────────────────────────────────────── */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 56px; /* offset for sticky navbar */
}

body {
  color: #333;
}

section {
  min-height: 40vh;
}

/* ── Professional Section ────────────────────────── */
#professional {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

#professional h1 {
  font-weight: 700;
}

#professional .badge {
  font-size: 0.85rem;
  padding: 0.45em 0.75em;
}

#professional a {
  text-decoration: none;
  color: #0d6efd;
}

#professional a:hover {
  text-decoration: underline;
}

#professional .rounded-circle {
  border: 4px solid #dee2e6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ── Portfolio Section ───────────────────────────── */
#portfolio .card {
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#portfolio .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

#portfolio .card-img-top {
  border-radius: 0.5rem 0.5rem 0 0;
  object-fit: cover;
  height: 180px;
}

#portfolio .card-footer {
  background: transparent;
  border-top: 1px solid #eee;
}

/* ── Comments Section ────────────────────────────── */
#comments .card {
  border-left: 3px solid #0d6efd;
  border-radius: 0.25rem;
}

#comments .form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

/* ── Footer ──────────────────────────────────────── */
footer {
  font-size: 0.9rem;
}
