
/* === HUISSTIJL ===
   Hoofdkleur: #DAF0EE
   Accentkleur: #9DB5B2
   Tekstkleur: #3B413C
   ================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Carter One', sans-serif;
  color: #3B413C;
  background-color: #DAF0EE;
  line-height: 1.5;
}

h1 {
  font-size: 36px;
  font-weight: 700;
}

h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

p {
  font-size: 16px;
  margin-bottom: 8px;
}

/* === HEADER === */

.site-header {
  background-color: #9DB5B2;
  color: #3B413C;
  padding: 20px 40px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.logo {
  color: #3B413C;
  font-size: 22px;
  font-weight: bold;
  text-decoration: none;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
}

.main-nav a {
  color: #3B413C;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: #3B413C;
}

/* === MAIN === */

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px;
}

section {
  margin-bottom: 40px;
}

/* === PRODUCTEN / FLEXBOX === */

.products-section {
  width: 100%;
}

.products-section h2 {
  text-align: center;
  margin-bottom: 24px;
}

.products-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  width: 100%;
}

.product-list,
.products-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  width: 100%;
}

.product-list .product-card,
.products-container .product-card {
  flex: 1 1 250px;
  max-width: 350px;
  min-width: 0;
  text-align: center;
}

.product-card {
  flex: 1 1 0;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  padding: 24px 16px;
  margin-bottom: 0;
  background-color: #ffffff;
  border: 1px solid #3B413C;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.2s ease,
              border-color 0.2s ease,
              box-shadow 0.2s ease;
}

.product-card:hover {
  border-color: #94D1BE;
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.product-card h3 {
  overflow-wrap: break-word;
}

.product-card p {
  margin-bottom: 12px;
}

.product-price {
  color: #3B413C;
  font-size: 18px;
  font-weight: bold;
}

.product-card .btn {
  display: inline-block;
  max-width: 100%;
  padding: 10px 14px;
  font-size: 14px;
}

/* === PRODUCT DETAIL === */

.product-detail {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px;
}

.product-detail-image {
  background-color: #94D1BE;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 150px;
  margin-bottom: 30px;
}

.product-detail h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

.product-description {
  margin-bottom: 25px;
  color: #3B413C;
  line-height: 1.6;
}

/* === HERO === */

.hero {
  background-color: #94D1BE;
  padding: 60px 40px;
  text-align: center;
}

.hero h1 {
  font-size: 40px;
  margin-bottom: 16px;
}

.hero p {
  margin-bottom: 28px;
}

/* === BUTTONS === */

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #3B413C;
  color: #DAF0EE;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #94D1BE;
  color: #3B413C;
  transform: translateY(-3px);
}

/* === FOOTER === */

footer {
  background-color: #9DB5B2;
  color: #3B413C;
  padding: 24px;
  text-align: center;
}

.site-footer {
  background-color: #9DB5B2;
  color: #3B413C;
  padding: 30px;
  text-align: center;
  margin-top: 60px;
}

.site-footer p {
  margin-bottom: 5px;
}

/* === MATEN === */

.size-button {
  background-color: #ffffff !important;
  color: #000000 !important;
  border: 1px solid #ddd !important;
  padding: 8px 14px;
  cursor: pointer;
  border-radius: 4px;
  font-family: Arial, sans-serif;
  transition: all 0.3s ease !important;
}

.size-button:hover {
  background-color: #3B413C !important;
  color: #DAF0EE !important;
  border-color: #3B413C !important;
  transform: translateY(-3px) !important;
}

.size-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.size-section {
  margin-bottom: 25px;
}

.product-detail .btn {
  display: block;
  width: 100%;
  padding: 14px 24px;
  text-align: center;
}

.product-detail .btn:hover {
  background-color: #94D1BE !important;
  color: #3B413C !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15) !important;
}

/* === WINKELMANDJE === */

.cart-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 24px;
  background-color: #ffffff;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #3B413C;
  border-bottom: 2px solid #3B413C;
  border-radius: 8px;
}

.cart-item-image {
  width: 150px;
  min-width: 150px;
}

.cart-item-image img {
  width: 150px;
  height: 100px;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

.cart-item-info {
  flex: 1;
}

.cart-item-info h3 {
  margin-bottom: 8px;
}

.cart-item-price {
  color: #3B413C;
  font-size: 18px;
  font-weight: bold;
}

.cart-summary {
  background-color: #ffffff;
  border: 1px solid #3B413C;
  border-radius: 8px;
  padding: 24px;
  margin-top: 30px;
}

.cart-summary h2 {
  margin-bottom: 16px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #ddd;
}

.cart-summary-row.cart-total {
  border-top: 2px solid #3B413C;
  border-bottom: none;
  margin-top: 10px;
  padding-top: 16px;
  font-size: 20px;
}

.cart-button-row {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.cart-button-row .btn {
  display: inline-block;
  width: auto;
  padding: 12px 24px;
  text-align: center;
  background-color: #3B413C;
  color: #DAF0EE;
  text-decoration: none;
}

.cart-button-row .btn:hover {
  background-color: #94D1BE;
  color: #3B413C;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 2px solid #3B413C;
  padding-top: 16px;
  margin-top: 10px;
  font-size: 20px;
  font-weight: bold;
}

/* === CONTACTPAGINA === */

.contact-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px;
}

.contact-page h1 {
  margin-bottom: 16px;
}

.contact-intro {
  margin-bottom: 25px;
}

.contact-page form {
  background-color: #ffffff;
  padding: 30px;
  border: 1px solid #3B413C;
  border-radius: 8px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #3B413C;
  border-radius: 4px;
  background-color: #ffffff;
  color: #3B413C;
  font-family: inherit;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-page button {
  font-family: inherit;
}

.contact-page .btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #3B413C;
  color: #DAF0EE;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.contact-page .btn:hover {
  background-color: #94D1BE;
  color: #3B413C;
}

/* === RESPONSIVE DESIGN === */

@media (max-width: 800px) {
  .site-header {
    padding: 20px;
  }

  .header-container {
    gap: 20px;
  }

  .main-nav ul {
    gap: 14px;
  }

  main {
    padding: 24px;
  }

  .products-container {
    gap: 14px;
  }

  .product-card {
    padding: 20px 12px;
  }
}

@media (max-width: 600px) {
  .header-container {
    flex-direction: column;
    gap: 15px;
  }

  .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  main {
    padding: 20px;
  }

  .products-container {
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .product-card {
    flex: 1 1 auto;
    width: 100%;
  }

  .hero {
    padding: 40px 20px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .product-detail h1,
  .cart-page h1,
  .contact-page h1,
  .section h1,
  .section h2 {
    font-size: 24px;
  }

  .hero,
  .section,
  .product-detail,
  .cart-page,
  .contact-page {
    padding-left: 20px;
    padding-right: 20px;
  }

  .cart-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .cart-item-image,
  .cart-item-image img {
    width: 100%;
    max-width: 250px;
  }
}