/* AnDutch — statische versie. Gebaseerd op de stijl van de oorspronkelijke site. */

:root {
  --background: #171717;
  --foreground: #f2f2f2;
  --accent: #1ee3aa;
  --accent-hover: #17b789;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0a0a0a;
    --foreground: #ededed;
  }
  html { color-scheme: dark; }
}

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

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  color: #fff;
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  body { font-size: 1.4rem; }
}

/* ---------- Header / navigatie ---------- */
#header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 60px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--background);
}

#header nav {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0 20px;
}

#header nav a {
  color: var(--foreground);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  transition: color .2s;
}

#header nav a:hover,
#header nav a[aria-current="page"] {
  color: var(--foreground);
  text-decoration: underline;
}

/* ---------- Typografie ---------- */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
  margin-top: 1.5rem;
  margin-bottom: .75rem;
}

h1 {
  font-size: 2.5rem;
  line-height: 2;
  text-align: center;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 200;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color .2s ease;
}

a:hover,
a:focus {
  color: var(--accent-hover);
  text-decoration: underline;
}

strong, b { font-weight: 600; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 576px)  { .container { max-width: 540px; } }
@media (min-width: 768px)  { .container { max-width: 720px; } }
@media (min-width: 992px)  { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: 1200px; } }

.page {
  display: grid;
  grid-template-rows: 20px 1fr 20px;
  align-items: start;
  justify-items: center;
  min-height: 100vh;
  min-height: 100svh;
}

.page-main {
  grid-row-start: 2;
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}

.intro h1 { margin-bottom: 1.6rem; }
.intro p { margin-bottom: 1.6rem; }
.intro .spacer { margin-top: 3rem; }

@media (max-width: 600px) {
  .page { padding: 32px 16px 80px; }
  .page-main { align-items: center; }
}

/* ---------- Galerij (home) ---------- */
.gallery {
  display: grid;
  gap: 16px;
  width: 100%;
  grid-template-columns: repeat(auto-fill, calc(48% - 8px));
}

@media (min-width: 768px) {
  .gallery { grid-template-columns: repeat(auto-fill, minmax(20%, 1fr)); }
}

/* ---------- Kledingstukken ---------- */
.products {
  display: grid;
  gap: 16px;
  width: 100%;
  grid-template-columns: repeat(auto-fill, calc(48% - 8px));
}

@media (min-width: 768px) {
  .products { grid-template-columns: repeat(2, 1fr); }
}

.gallery img,
.products img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ---------- Footer ---------- */
.footer {
  width: 100%;
  padding: 20px 16px 100px;
  text-align: center;
  font-size: 1rem;
  color: var(--foreground);
  background-color: var(--background);
}

@media (min-width: 600px) {
  .footer {
    padding: 20px 20px 100px;
    font-size: 1.2rem;
  }
}
