:root {
  --color-bg: #ffffff;
  --color-text: #1a1a1a;
  --color-muted: #6b6b6b;
  --color-accent: #c96f4a;
  --max-width: 1200px;
  --gap: 32px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--color-accent); }

.wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* NAGŁÓWEK / NAWIGACJA */
header.site-header {
  padding: 24px 0;
  border-bottom: 1px solid #eee;
}

header.site-header .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.site-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: lowercase;
}

nav.main-nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

nav.main-nav a {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* HERO */
.hero {
  padding: 64px 0;
  text-align: center;
}

.hero img {
  max-width: 100%;
  height: auto;
}

.hero h1 {
  font-size: 28px;
  font-weight: 400;
  margin-top: 24px;
}

/* SIATKA PROJEKTÓW */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--gap);
  padding: 48px 0;
}

.project-card {
  display: block;
}

.project-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  background: #f2f2f2;
}

.project-card .project-title {
  margin-top: 12px;
  font-size: 15px;
  color: var(--color-muted);
}

/* STRONA POJEDYNCZEGO PROJEKTU */
.project-detail h1 {
  font-size: 26px;
  font-weight: 400;
  margin: 40px 0 24px;
}

.project-images {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 64px;
}

.project-images img {
  width: 100%;
  height: auto;
  display: block;
}

.back-link {
  display: inline-block;
  margin: 24px 0;
  font-size: 14px;
  text-transform: uppercase;
}

/* KONTAKT */
.contact-section {
  padding: 64px 0;
  max-width: 560px;
  margin: 0 auto;
}

.contact-section h1 {
  font-weight: 400;
  margin-bottom: 24px;
}

.contact-form label {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  margin-bottom: 6px;
  margin-top: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  font-family: inherit;
  font-size: 15px;
}

.contact-form textarea { min-height: 140px; resize: vertical; }

.contact-form button {
  margin-top: 24px;
  padding: 12px 28px;
  background: var(--color-text);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-form button:hover { background: var(--color-accent); }

.form-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--color-muted);
}

/* O MNIE */
.about-intro {
  max-width: 640px;
  margin: 0 auto;
  padding: 64px 0 48px;
  text-align: center;
}

.about-intro h1 {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 24px;
}

.about-intro p {
  font-size: 16px;
  line-height: 1.7;
}

/* DOŚWIADCZENIE (oś czasu) */
.timeline {
  max-width: 640px;
  margin: 0 auto;
  padding-bottom: 64px;
}

.timeline h2 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-muted);
  margin-bottom: 24px;
}

.timeline-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.timeline-item:last-child { border-bottom: none; }

.timeline-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.timeline-logo-placeholder { width: 44px; flex-shrink: 0; }

.timeline-role {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.timeline-company {
  font-size: 14px;
  color: var(--color-text);
  margin-bottom: 4px;
}

.timeline-meta {
  font-size: 13px;
  color: var(--color-muted);
}

.timeline-links {
  font-size: 13px;
  margin-top: 6px;
}

.timeline-links a {
  color: var(--color-accent);
  text-decoration: underline;
}

.timeline-links a:hover {
  text-decoration: none;
}

/* STOPKA */
footer.site-footer {
  padding: 32px 0;
  border-top: 1px solid #eee;
  text-align: center;
  font-size: 13px;
  color: var(--color-muted);
}

@media (max-width: 640px) {
  header.site-header .wrapper { flex-direction: column; align-items: flex-start; }
}
