/* Haken-Breien-Shop.nl - MVP CSS inspiré DROPS Design */

:root {
  --color-bg: #fdfbf8;
  --color-card: #ffffff;
  --color-primary: #c87fb3; /* pastel rosé type tricot */
  --color-accent: #7f9ac8;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-border: #eeeeeee;
  --radius-lg: 18px;
  --radius-sm: 8px;
  --shadow-card: 0 8px 20px rgba(0,0,0,0.03);
  --shadow-hover: 0 12px 30px rgba(0,0,0,0.08);
}

/* Reset & Base */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 1rem 0;
  font-weight: 600;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
  color: var(--color-text);
}

h2 {
  font-size: 1.8rem;
  margin-top: 2rem;
}

h3 {
  font-size: 1.4rem;
  margin-top: 1.5rem;
}

p {
  margin: 0 0 1rem 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul, ol {
  margin: 0 0 1rem 0;
  padding-left: 1.5rem;
}

/* Layout */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

/* Navigation */
.main-nav__toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
}

.main-nav__list {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.main-nav__list a {
  color: var(--color-text);
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color 0.2s ease;
}

.main-nav__list a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

/* Main Content */
.site-main {
  padding: 3rem 0;
  min-height: 60vh;
}

/* Page Headers */
.page-kicker {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.page-intro {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-bottom: 2rem;
  max-width: 65ch;
}

/* Cards & Grid */
.grid {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.card h2 {
  margin-top: 0;
  font-size: 1.3rem;
}

.card h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
}

.btn--primary:hover {
  background: #b56fa0;
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--secondary {
  background: var(--color-accent);
  color: #fff;
}

.btn--secondary:hover {
  background: #6b87b8;
  text-decoration: none;
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
}

.btn--link {
  background: transparent;
  color: var(--color-primary);
  padding: 0.5rem 0;
  font-weight: 500;
}

.btn--link:hover {
  text-decoration: underline;
}

.btn--cta {
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
}

.btn--cta:hover {
  background: #b56fa0;
  text-decoration: none;
  transform: translateY(-1px);
}

/* Tables */
.table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-card);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.comparison-table th {
  background: #f8f9fa;
  font-weight: 600;
  color: var(--color-text);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

/* Table of Contents */
.page-toc {
  background: var(--color-card);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-card);
}

.page-toc h2 {
  margin-top: 0;
  font-size: 1.1rem;
}

.page-toc ol {
  margin-bottom: 0;
}

.page-toc a {
  color: var(--color-text);
}

.page-toc a:hover {
  color: var(--color-primary);
}

/* FAQ */
.page-faq {
  margin-top: 3rem;
}

.faq-item {
  background: var(--color-card);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-card);
}

.faq-question {
  padding: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  display: none;
}

.faq-answer.active {
  display: block;
}

/* Footer */
.site-footer {
  background: #f8f9fa;
  border-top: 1px solid var(--color-border);
  margin-top: 4rem;
  padding: 3rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__grid h3,
.footer__grid h4 {
  margin-bottom: 1rem;
  color: var(--color-text);
}

.footer__grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__grid ul li {
  margin-bottom: 0.5rem;
}

.footer__grid a {
  color: var(--color-text-light);
}

.footer__grid a:hover {
  color: var(--color-primary);
}

.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
  text-align: center;
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .main-nav__toggle {
    display: block;
  }
  
  .main-nav__list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  
  .main-nav__list.active {
    display: flex;
  }
  
  .main-nav__list a {
    padding: 0.75rem 1.5rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  .grid--3 {
    grid-template-columns: 1fr;
  }
  
  .comparison-table {
    font-size: 0.9rem;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 0.75rem 0.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .site-main {
    padding: 2rem 0;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  .card {
    padding: 1.25rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-muted {
  color: var(--color-text-light);
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
