/* Kleuren — pas hier aan als je het kleurenschema wilt wijzigen */
:root {
  --color-primary: #d3b47b;
  --color-secondary: #694e3d;
  --color-tertiary: #eff0ea;
  --color-heading: #713211;
  --color-subheading: #86512c;
  --color-nav: rgb(78, 61, 49, 0.8);
  --color-button: #30281f;
  --pattern: url("../cinnalicious/pattern.png");
  /* Optioneel: zet een vaste tegelgrootte (bijv. 150px) als auto niet klopt met je PNG */
  --pattern-tile: auto;
  --pattern-offset: 75px;
  --content-max: 850px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.5;
  color: #000;
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  cursor: pointer;
}

h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 52px;
  line-height: 1.1;
  color: var(--color-heading);
  margin: 0;
}

h2 {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--color-subheading);
  margin: 0;
}

h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--color-subheading);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Navigatie */
.navbar {
  position: fixed;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 50px;
  padding: 0 50px;
  background-color: var(--color-nav);
  color: #fff;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 8px;
  text-decoration: none;
}

.navbar-brand:hover {
  text-decoration: none;
}

.navbar-title {
  padding: 5px 12px;
}

.navbar-links {
  display: flex;
  list-style: none;
  margin: 5px;
  padding: 0;
  gap: 0;
}

.navbar-links a {
  display: block;
  padding: 8px;
  white-space: nowrap;
  color: #fff;
}

.navbar-links a:hover {
  text-decoration: underline;
}

.page {
  display: flex;
  flex-direction: column;
  padding-top: 50px;
}

/* Secties met patroon */
.band {
  background-color: var(--band-bg, var(--color-tertiary));
  background-image: var(--pattern), var(--pattern);
  background-repeat: repeat, repeat;
  /* Originele site: desktop-size was ongeldig CSS → browser gebruikte de echte PNG-grootte */
  background-size: var(--pattern-tile) var(--pattern-tile),
    var(--pattern-tile) var(--pattern-tile);
  background-position: top left, var(--pattern-offset) var(--pattern-offset);
}

.band--primary {
  --band-bg: var(--color-primary);
}

.band--secondary {
  --band-bg: var(--color-secondary);
}

.band--tertiary {
  --band-bg: var(--color-tertiary);
}

.band--footer {
  background-image: none;
}

.band-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  background-color: var(--band-bg, var(--color-tertiary));
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 500px;
  padding: 50px;
  text-align: center;
}

.hero-logo {
  width: 240px;
  max-width: 100%;
  margin: 0 auto 25px;
  height: auto;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
}

/* About */
.about {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 50px 100px;
  color: #fff;
}

.about h3 {
  color: var(--color-subheading);
}

/* Rolls gallery */
.rolls h3 {
  padding: 50px 100px 0;
}

.rolls-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
  padding: 0 100px 50px;
}

.rolls-photo {
  flex: 0 1 calc(50% - 32px);
  text-align: center;
}

.rolls-photo img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* Contact */
.contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 50px 100px;
  color: #fff;
}

.contact-heading {
  color: var(--color-tertiary);
}

.contact form {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.contact input,
.contact textarea {
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  border: none;
  border-radius: 4px;
  font: inherit;
  color: var(--color-secondary);
  background-color: var(--color-tertiary);
}

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

.contact button {
  align-self: flex-start;
  margin-top: 12px;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font: inherit;
  color: #fff;
  background-color: var(--color-button);
  cursor: pointer;
}

.contact button:hover {
  background-color: #000;
}

/* Footer */
.site-footer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
  padding: 8px 0;
  color: #fff;
}

.site-footer-social {
  flex: 0 1 50%;
  margin: 0 auto;
  padding: 10px;
  text-align: center;
}

.site-footer-social h3 {
  color: var(--color-subheading);
}

.site-footer-social a {
  display: inline-block;
  margin: 12px auto;
}

.site-footer-social a:hover {
  text-decoration: none;
  opacity: 0.85;
}

.site-footer-copy {
  margin: 0;
  padding: 12px;
  text-align: center;
  border-top: 1px solid #fff;
  font-family: "Cardo", Georgia, serif;
  font-size: 16px;
}

@media (max-width: 900px) {
  .band-inner {
    max-width: calc(100vw - 15%);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 14px;
  }

  .band {
    background-size: 35px 35px, 35px 35px;
    background-position: top left, 52px 52px;
  }

  .hero {
    padding: 25px;
  }

  .about,
  .rolls h3 {
    padding-left: 25px;
    padding-right: 25px;
  }

  .about {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .rolls-grid {
    padding-left: 50px;
    padding-right: 50px;
  }

  .rolls-photo {
    flex: 0 1 100%;
  }

  .contact {
    margin: 50px 25px;
  }

  .navbar-title {
    display: none;
  }
}

@media (max-width: 576px) {
  .navbar {
    padding: 0;
  }
}
