/* ============================================================
   HUISSTIJL — HardwareVoorJou
   Hier staan de kleuren die op de hele site terugkomen.
   Wil je later een andere kleur? Wijzig hem dan hier.
   ============================================================

   Hoofdkleur:   #F8F8FF   (heel licht blauw-wit — achtergrond)
   Accentkleur:  #1E90FF   (blauw — voor titels, links, knoppen)
   Tekstkleur:   #333333   (donkergrijs — voor leestekst)
*/

/* ------------------------------------------------------------
   1. RESET
   De browser geeft elementen van zichzelf al ruimte (margin,
   padding). Hier zetten we alles op 0, zodat WIJ bepalen hoeveel
   ruimte alles krijgt. box-sizing zorgt dat breedte + padding
   netjes samen worden gerekend (geen verrassingen).
   ------------------------------------------------------------ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ------------------------------------------------------------
   2. BASIS (body)
   Dit geldt voor de hele pagina: lettertype, tekstkleur,
   achtergrondkleur en regelafstand.
   ------------------------------------------------------------ */
body {
  font-family: 'Inter', sans-serif;
  color: #333333;
  background-color: #F8F8FF;
  line-height: 1.5;
}

/* ------------------------------------------------------------
   3. TITELS (h1 en h2)
   h1 = de grootste titel (naam van de shop, 1x op de pagina)
   h2 = de kop van een sectie (bijv. "Populaire producten")
   ------------------------------------------------------------ */
h1 {
  font-size: 40px;
  font-weight: 700;
}

h2 {
  font-size: 28px;
  font-weight: 650;
  margin-bottom: 16px;
}

h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
/* ------------------------------------------------------------
   4. TEKST (p)
   Een alinea krijgt wat ruimte eronder, zodat tekstblokken
   niet aan elkaar plakken.
   ------------------------------------------------------------ */
p {
    font-size: 16px;
  margin-bottom: 8px;
}



/* ------------------------------------------------------------
   5. PRODUCTCARD
   Een product is een klikbare witte kaart. Blauw (#1E90FF) is de
   accentkleur en komt hier alleen terug in de prijs. De kaart is
   wit zodat de donkere tekst leesbaar blijft.
   ------------------------------------------------------------ */
.product-card {
  display: block;               /* <a> is inline; zo wordt het een echte doos */
  width: 320px;
  width: 100%;
  margin-bottom: 24px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 16px;
  text-decoration: none;        /* anders onderstreept de browser alle tekst */
  color: inherit;               /* anders is alle tekst link-blauw */
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.product-image {
  font-size: 56px;
  text-align: center;
  padding: 20px 0;
  background-color: #F8F8FF;
  border-radius: 8px;
  margin-bottom: 12px;
}

.product-info {
  padding: 4px 4px 0;
}

.product-brand {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #8a8a8a;
  margin-bottom: 2px;
}

.product-name {
  font-size: 18px;
  margin-bottom: 4px;
}

.product-price {
  font-size: 18px;
  font-weight: bold;
  color: #1E90FF;
  margin-bottom: 0;
}

.product-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px;
}

section {
  margin-bottom: 40px;
}

.site-header {
  background-color: #1E90FF;
  color: #F8F8FF;
  padding: 20px 40px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 700px;
  margin: 0 auto;
}

.logo {
  color: #ffffff;
  font-size: 27px;
  font-weight: bold;
  text-decoration: none;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.main-nav a {
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: #88abcf;
}

.site-footer {
  background-color: #222222;
  color: #ffffff;
  padding: 30px;
  text-align: center;
  margin-top: 70px;
}

.site-footer p {
  margin-bottom: 5px;
}

.hero {
  background-color: #a0d9ff;
  padding: 60px 40px;
  text-align: center;
}

.hero h1 {
  font-size: 40px;
  margin-bottom: 16px;
}

.hero p {
  margin-bottom: 28px;
}

.btn {
  display: inline-block;
  background-color: #1E90FF;
  color: #ffffff;
  border: none;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.btn:hover {
  background-color: #1476c9;
}

.product-detail {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px;
}


.product-detail-image {
  background-color: #f5f5f5;
  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: #555;
  line-height: 1.6;
}

.size-button {
  background-color: #1E90FF;
  border: 1px solid #1E90FF;
  border-radius: 10px;
  padding: 6px 12px;
  margin: 4px;
  cursor: pointer;
  font-family: Arial, sans-serif;
}

.size-button:hover {
  border-color: #222;

}

.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;
}

.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 #1476c9;
}

.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 #222;
  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 #ddd;
  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-direction: column;
    gap: 10px;
    flex-wrap: wrap;
  }

  .hero h1 {
    font-size: 28px;
  }

  .product-detail h1,
  .cart-page h1,
  .contact-page h1,
  .section h1,
  .section h2 {
    font-size: 24px;
  }

  .product-card {
    width: 100%;
  }
}