/* === HUISSTIJL ===
   Hoofdkleur: #354F52
   Accentkleur: #52796F
   Tekstkleur: #2F3E46
   ================= */
 * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Playfair Display", serif;
  color: #CAD2C5;
  background-color: #52796F;
  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;
}

.product-card {
  padding: 16px;
  margin-bottom: 24px;
  background-color: #354F52;
  border: 1px solid #354F52;
  border-radius: 8px;
  transition: border-color 0.2s ease;
}

.product-card:hover {
  border-color: #CAD2C5;
}

main {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 32px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: flex-start;
  gap: 24px;
  padding: 0;
  margin: 0;
}

.main-nav a {
  color: #CAD2C5;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: #84A98C;
}

section {
  margin-bottom: 40px;
}

header {
  background-color: #2F3E46;
  color: #CAD2C5;
  padding: 32px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.logo {
  color: #CAD2C5;
  font-size: 22px;
  font-weight: bold;
  text-decoration: none;
}

.product-price {
  color: #84A98C;
  font-weight: bold;
}


.hero {
  background-color: #84A98C;
  padding: 60px 40px;
  text-align: center;
}

.hero h1 {
  font-size: 40px;
  margin-bottom: 16px;
}

.hero p {
  margin-bottom: 28px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #2F3E46;
  color: #CAD2C5;
  border: none;
  text-decoration: none;
  cursor: pointer;
}
.site-footer {
  background-color: #2F3E46;
  color: #CAD2C5;
  padding: 24px;
  text-align: center;
}

.product-card {
  width: 250px;
  padding: 16px;
  background-color: #84A98C;
  border: 2px solid #84A98C; ;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: 0.2s ease;
}

.product-price {
  color: #CAD2C5;
  font-size: 18px;
  font-weight: bold;
}

.product-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.product-card:hover {
  border-color: #CAD2C5;
   transform: translateY(-4px);
}

.product-detail {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px;
}

.product-detail-image {
  background-color: #52796F;
  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:  #CAD2C5;
  line-height: 1.6;
}

.size-button {
  background-color: #354F52;
  border: 1px solid #2F3E46;
  padding: 8px 14px;
  cursor: pointer;
  font-family: Arial, sans-serif;
}

.size-button:hover {
  border-color: #CAD2C5;
}

.size-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.size-section {
  margin-bottom: 25px;
}


.product-detail .btn {
    display: inline-block;
    width: 180px;
    padding: 12px 16px;
    background-color: #354F52;
    color: #CAD2C5;
    text-decoration: none;
    text-align: center;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.product-detail .btn:hover {
    background-color: #2F3E46;
}

.cart-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid #CAD2C5;
}

.cart-item-info {
  flex: 1;
}

.cart-item-image {
  width: 80px;
  height: 80px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.cart-total {
  font-size: 20px;
  font-weight: bold;
  border-top: 2px solid #CAD2C5;
  padding-top: 10px;
  margin-top: 10px;
}

.cart-button-row {
  margin-top: 20px;
  text-align: right;
}

.contact-page {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #CAD2C5;
  font-size: 15px;
  font-family: inherit;
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

@media (width <= 600px){
  .header-container {
    flex-direction: column;
    gap: 15px;
  }

  .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .product-card {
    width: 100%;
    box-sizing: border-box;
  }

  .hero h1 {
    font-size: 28px;
  }

  .product-detail h1,
  .cart-page h1,
  .contact-page h1,
  .section h1,
  .section h2 {
    font-size: 24px;
  }

  body {
    font-size: 14px;
  }

  .hero,
  .section,
  .product-detail,
  .cart-page,
  .contact-page {
    padding-left: 20px;
    padding-right: 20px;
  }
}