@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');
:root {
  --wood: #8b5e3c;
  --wood-dark: #6f472c;
  --bg: #afaaa2;
  --card: #ffffff;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 60px;
  font-family: 'Manrope', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

h1, h2, h3 {
  margin-top: 0;
  letter-spacing: -0.02em;
}

p {
  color: var(--muted);
  line-height: 1.6;
}

.hero-logo {
  width: 80%;
  margin-bottom: 20px;
}

.hero-logo2 {
  width: 80%;
  margin-bottom: 20px;
}

.header {
  max-width: 720px;
  margin-bottom: 80px;
}

.header h1 {
  font-size: 3rem;
}

.header p {
  font-size: 1.1rem;
}

.latest h2 {
  margin-bottom: 24px;
}

/* GRID */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 32px;
}

/* CARD */

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.521);
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0,0,0,.12);
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.card ul {
  padding-left: 18px;
  margin: 8px 0 12px;
}

.card li {
  margin-bottom: 4px;
}

/* PRICE */

.price {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 12px;
  color: var(--wood-dark);
}

/* BUTTON */

.button {
  display: inline-flex;
  margin-top: 0px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--wood);
  color: white;
  font-weight: 500;
  text-decoration: none;
  transition: background .25s ease, transform .2s ease, box-shadow .2s ease;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.button:hover {
  background: var(--wood-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(139,94,60,.35);
}

/* HERO */

.hero {
  background: linear-gradient(
    90deg,
    #f8f3e7,
    #f8f3e7
  );
  border-radius: 24px;
  padding: 80px 80px 90px;
  margin-bottom: 100px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15); /* drop shadow */
}

.hero2 {
  background: linear-gradient(
    90deg,
    #f8f3e7,
    #f8f3e7
  );
  border-radius: 24px;
  padding: 80px 80px 90px;
  margin-bottom: 100px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15); /* drop shadow */
}

.hero-content {
  display: flex;
  align-items: center; /* verticaal centreren */
  gap: 100px; /* ruimte tussen plaatje en tekst */
  flex-wrap: wrap; /* responsive */
}

.hero-content2 {
  display: flex;
  align-items: center; /* verticaal centreren */
  gap: 100px; /* ruimte tussen plaatje en tekst */
  flex-wrap: wrap; /* responsive */
}

.hero-logo {
  max-width: 400px;
  height: auto;
}

.hero-logo2 {
  max-width: 400px;
  height: auto;
  align-items: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.intro {
  font-size: 1.25rem;
  color: #3a3a3a;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-actions {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-text {
  flex: 1; /* neemt resterende ruimte */
  min-width: 280px; /* voorkom te smalle tekst op mobiel */
}

.button.large {
  font-size: 1.1rem;
  padding: 14px 28px;
  width: fit-content   ;;
}

.note {
  font-size: .9rem;
  color: #6f472c;
}

/* CAROUSEL */

.carousel {
  position: fixed;
  inset: 0;
  background: rgba(20,20,20,.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.carousel.open {
  display: flex;
}

.carousel img {
  max-width: 80%;
  max-height: 80%;
  border-radius: 14px;
}

.carousel .close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 2.5rem;
  color: white;
  cursor: pointer;
}

.carousel .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 3rem;
  color: white;
  cursor: pointer;
}

.carousel .left {
  left: 40px;
}

.carousel .right {
  right: 40px;
}
/* LATEST ITEM HOMEPAGE FIX */

.latest {
  max-width: 100%;
  text-align: center;
}

.latest .card {
  max-width: 437.15px;
  margin: 0 auto;
  text-align: left;
}

.latest .card img {
  max-width: 520px;
  max-height: 520px;
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 14px;
}
/* TOPBAR */

.topbar {
  position: sticky;
  top: 20px; /* iets afstand van boven */
  background: rgba(247,246,244,.9);
  backdrop-filter: blur(6px);
  padding: 10px 20px;
  display: inline-block; /* breedte = content */
  border-radius: 12px;   /* radius op hoeken */
  z-index: 500;
}

.topbar .brand {
  font-weight: 600;
  text-decoration: none;
  color: var(--wood-dark);
  transition: opacity .2s ease;
}

.topbar .brand:hover {
  opacity: .7;
}

.filters {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.filters label {
  font-weight: 500;
}

.filters select {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: white;
  color: var(--text);
  font-weight: 500;
}

a {
  color: #000; /* Or black */
  text-decoration: underline;
}
/* TOPBAR HERO */

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: #f4f1ed;
  padding: 20px 40px;
  border-radius: 14px;
  margin-bottom: 40px;
  gap: 30px;
  flex-wrap: wrap;
}


.btn-home:hover {
  background: var(--wood-dark);
}

.topbar-hero {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 600px;
}

.topbar-logo {
  max-width: 180px;
  height: auto;
}

.topbar-intro {
  font-size: 1rem;
  color: #3a3a3a;
  line-height: 1.5;
}

.topbar-hero .button.small {
  padding: 8px 16px;
  font-size: .95rem;
}

/* VOORRAAD BADGE */

.card .badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
  z-index: 10;
  text-transform: uppercase;
}

.card .badge.voorraad {
  background: var(--wood);
  color: white;
}

/* alles boven interesse groeit normaal */
.card .price {
  margin-bottom: 12px;
}

/* interesse + knop altijd onderaan */
.card .topbar-intro {
  margin-top: auto;
}

.card .badge.verkocht {
  background: #b22222; /* donkerrood voor verkocht */
  color: white;
}

.filters select {
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid #ccc;
  background: white;
  color: var(--text);
  font-weight: 600;
  font-family: 'Manrope', sans-serif;
  transition: border-color .2s, box-shadow .2s;
  cursor: pointer;
}

.filters select:hover,
.filters select:focus {
  border-color: var(--wood-dark);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  outline: none;
}

.filters label {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  color: var(--wood-dark);
}

/* FILTER HERO */

.filter-hero {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  background: linear-gradient(135deg, #f3ede7, #e8dfd6);
  padding: 24px 40px;
  border-radius: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-group label {
  font-weight: 600;
  color: var(--wood-dark);
  font-family: 'Manrope', sans-serif;
}

.filter-group select {
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid #ccc;
  background: white;
  color: var(--text);
  font-weight: 600;
  font-family: 'Manrope', sans-serif;
  transition: border-color .2s, box-shadow .2s;
  cursor: pointer;
}

.filter-group select:hover,
.filter-group select:focus {
  border-color: var(--wood-dark);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  outline: none;
}
