/* =====================
   Global Styles
===================== */
* {
  box-sizing: border-box;
}

body {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  margin: 0;
  padding: 20px;
  background: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

/* =====================
   Header
===================== */
header h1 {
  font-size: 16px;
  font-weight: normal;
  margin: 0 0 5px 0;
}

header p {
  font-size: 16px;
  font-weight: normal;
  margin: 0;
}

/* =====================
   Portfolio Section
===================== */
.portfolio section {
  margin-bottom: 50px;
}

.portfolio h2 {
  font-size: 12px;
  font-weight: normal;
  margin: 0 0 10px 0;
}

/* =====================
   Horizontal Scroll
===================== */
.scroll-container {
  display: flex;
  gap: 5px;
  overflow-x: auto;
  padding-bottom: 20px;
  scroll-behavior: smooth;

  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.25) transparent;
}

/* WebKit browsers */
.scroll-container::-webkit-scrollbar {
  height: 4px;
}

.scroll-container::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.25);
}

.scroll-container::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.4);
}

.scroll-container::-webkit-scrollbar-track {
  background: transparent;
}

/* =====================
   Images & Captions
===================== */
.image-item {
  flex: 0 0 auto;
  max-width: 300px;
}

.image-item img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

.caption {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding-left: 0.5px; /* optical alignment */

  font-size: 12px;
  line-height: 1.4;
  color: #555;
}

