/* PRODUCTPAGINA STYLING - style-product.css */

:root {
  --primary-color: #7464f3;
  --secondary-color: #6C63AC;
  --bg-light: #f9f9f9;
  --text-dark: #333;
}

/* Hero sectie */
.hero-product {
    padding-top: 160px; /* in plaats van margin-top */
    background: linear-gradient(rgba(118, 100, 243, 0.85), rgba(108, 99, 172, 0.85)),
                url('/foto/bg.jpg') no-repeat center center;
    background-size: cover;
    padding-bottom: 60px;
    color: #fff;
    text-align: center;
  }
  

.hero-product .product-info h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.hero-product .product-info .subtext {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Detailsectie */
.product-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 60px 20px;
  background-color: var(--bg-light);
  max-width: 1200px;
  margin: auto;
}

.product-foto {
  flex: 1 1 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-foto img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    background-color: #fff;
    padding: 20px;
}

/* Omschrijving */
.product-omschrijving {
  flex: 1 1 500px;
  color: var(--text-dark);
}

.product-omschrijving h2,
.extra-info h2 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.product-omschrijving h3 {
  margin-top: 20px;
  font-size: 1.3rem;
  color: var(--secondary-color);
}

.product-omschrijving p,
.product-omschrijving ul {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* Alleen vinkje bij .checklist */
.product-omschrijving ul.checklist li {
  list-style: none;
  padding-left: 1.5em;
  position: relative;
}

.product-omschrijving ul.checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--secondary-color);
}

/* Bij stappenlijst geen automatische vinkjes */
.product-omschrijving ul.stappenlijst li {
  list-style: none;
  padding-left: 0;
  position: relative;
}


/* Call-to-action */
.bestel-knop {
  display: inline-block;
  background: var(--primary-color);
  color: #fff;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  margin-top: 20px;
  transition: background 0.3s ease;
}

.bestel-knop:hover {
  background: var(--secondary-color);
}

/* Extra sectie */
.extra-info {
  padding: 40px 20px;
  background-color: #fff;
  text-align: center;
}

.extra-info p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Mobiel optimalisatie */
@media (max-width: 768px) {
  .product-detail {
    flex-direction: column;
    padding: 40px 10px;
  }

  .product-foto, .product-omschrijving {
    flex: 1 1 100%;
    text-align: center;
  }

  .product-omschrijving {
    padding-top: 20px;
  }
}


/* 📱 Mobiele optimalisatie */
@media (max-width: 768px) {
  .product-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .product-header img {
    max-width: 80%;
    margin-bottom: 20px;
  }

  .product-description {
    padding: 0 15px;
  }

  .product-description ul,
  .product-description ol {
    padding-left: 20px;
    text-align: left;
  }

  .product-description h2 {
    font-size: 22px;
    margin-top: 30px;
  }

  .product-description p,
  .product-description li {
    font-size: 16px;
    line-height: 1.6;
  }

  .product-description a.fun-button {
    width: 100%;
    text-align: center;
    display: inline-block;
    margin-top: 25px;
  }
}

.accordion {
  margin-top: 30px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: var(--shadow);
}

.accordion-toggle {
  background-color: #f2f2f2;
  width: 100%;
  padding: 15px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--secondary-color);
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.accordion-toggle:hover {
  background-color: #e8e8e8;
}

.accordion-toggle i {
  transition: transform 0.3s ease;
}

.accordion-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 20px;
  background-color: #fff;
}

.accordion-content p {
  padding: 15px 0;
  margin: 0;
  font-size: 15px;
  color: var(--text-dark);
}