/*
Theme Name: Osdorper Custom
Theme URI: https://example.com
Author: Local Build
Description: Maatwerk thema met kleurstijl geinspireerd op deosdorper-badhoevedorp.nl.
Version: 1.0.0
Text Domain: osdorper-custom
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;600;700&display=swap');

/* ── Variables ──────────────────────────────────────────── */
:root {
  --osd-primary:      #ee87b9;
  --osd-primary-dark: #d771a2;
  --osd-accent:       #ffbc7d;
  --osd-text:         #2a2a2a;
  --osd-muted:        #727272;
  --osd-bg:           #fff9fd;
  --osd-white:        #ffffff;
  --osd-border:       #f4d9e8;
  --osd-ease:         0.18s ease;
}

/* ── Reset / Base ───────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--osd-text);
  background: linear-gradient(180deg, var(--osd-bg) 0%, #ffffff 35%);
  background-attachment: fixed;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--osd-primary-dark);
  text-decoration: none;
  transition: color var(--osd-ease);
}

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

a:focus-visible {
  outline: 2px solid var(--osd-primary);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── Layout ─────────────────────────────────────────────── */
.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  background: var(--osd-white);
  border-bottom: 1px solid var(--osd-border);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 12px;
  flex-wrap: wrap;
}

.site-title {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.2;
}

.primary-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 4px;
}

.primary-menu a {
  display: inline-block;
  padding: 5px 10px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 7px;
  transition: background var(--osd-ease), color var(--osd-ease);
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a {
  color: var(--osd-primary-dark);
  background: #fbe6f1;
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  background: radial-gradient(circle at top right, #ffddeb 0%, transparent 45%), var(--osd-bg);
  border: 1px solid #f7d7e9;
  border-radius: 18px;
  padding: 48px 40px;
  margin-top: 28px;
}

.hero h2 {
  margin: 0 0 10px;
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  line-height: 1.2;
  color: var(--osd-text);
}

.hero > p,
.hero-content p {
  margin: 0 0 8px;
  max-width: 66ch;
  color: var(--osd-muted);
}

.hero-content > *:last-child {
  margin-bottom: 0;
}

/* ── Sections ───────────────────────────────────────────── */
.section {
  margin: 48px 0;
}

.section h3 {
  margin: 0 0 16px;
  font-size: 1.4rem;
  color: var(--osd-text);
}

/* ── Grid / Cards ───────────────────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 16px;
}

.card {
  border: 1px solid #f0dfeb;
  background: var(--osd-white);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 4px 14px rgba(42, 42, 42, 0.05);
  transition: box-shadow var(--osd-ease), transform var(--osd-ease);
}

.card:hover {
  box-shadow: 0 10px 30px rgba(215, 113, 162, 0.13);
  transform: translateY(-2px);
}

.card h4 {
  margin: 6px 0 8px;
}

/* ── Badge ──────────────────────────────────────────────── */
.badge {
  display: inline-block;
  background: #fbe6f1;
  color: #8a3f63;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ── Button ─────────────────────────────────────────────── */
.button {
  display: inline-block;
  margin-top: 12px;
  background: linear-gradient(120deg, var(--osd-primary-dark), var(--osd-primary));
  color: var(--osd-white);
  padding: 10px 20px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 2px 10px rgba(215, 113, 162, 0.28);
  transition: opacity var(--osd-ease), transform var(--osd-ease), box-shadow var(--osd-ease);
}

.button:hover {
  color: var(--osd-white);
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(215, 113, 162, 0.4);
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  margin-top: 64px;
  padding: 28px 0;
  border-top: 1px solid var(--osd-border);
  color: var(--osd-muted);
  font-size: 0.9rem;
}

/* ── Single / Detail pages ──────────────────────────────── */
.post-single {
  margin-top: 32px;
}

.osd-details {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #f4e7ee;
  font-size: 0.97rem;
}

.osd-details h3,
.osd-details h4 {
  color: var(--osd-primary-dark);
  margin: 20px 0 8px;
}

.osd-details h3:first-child,
.osd-details h4:first-child {
  margin-top: 0;
}

.osd-details ul {
  padding-left: 20px;
  margin: 6px 0 0;
}

.osd-details li {
  margin-bottom: 5px;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 680px) {
  .hero {
    padding: 30px 22px;
    margin-top: 18px;
    border-radius: 12px;
  }

  .section {
    margin: 32px 0;
  }

  .section h3 {
    font-size: 1.2rem;
  }

  .header-inner {
    padding: 12px 0;
  }

  .grid {
    gap: 12px;
  }

  .site-footer {
    margin-top: 40px;
  }
}

/* ── Comments ───────────────────────────────────────────── */
.osd-comments {
  margin-top: 0;
  padding-top: 28px;
  border-top: 1px solid var(--osd-border);
}

.comments-title {
  font-size: 1.25rem;
  color: var(--osd-text);
  margin: 0 0 20px;
}

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

.comment-body {
  background: var(--osd-white);
  border: 1px solid #f0dfeb;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 14px;
}

.comment-meta {
  font-size: 0.85rem;
  color: var(--osd-muted);
  margin-bottom: 8px;
}

.comment-author .fn {
  font-weight: 600;
  color: var(--osd-primary-dark);
}

.comment-rating {
  font-size: 0.97rem;
  color: var(--osd-primary-dark);
  margin: 0 0 6px;
}

.comment-form {
  margin-top: 32px;
}

.comment-form-rating {
  margin-bottom: 12px;
}

.comment-form-rating label,
.comment-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.comment-form-rating input[type="number"] {
  width: 110px;
  padding: 7px 10px;
  border: 1px solid var(--osd-border);
  border-radius: 7px;
  font-size: 0.95rem;
  font-family: inherit;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--osd-border);
  border-radius: 7px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--osd-white);
}

.comment-form textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit .submit {
  background: linear-gradient(120deg, var(--osd-primary-dark), var(--osd-primary));
  color: var(--osd-white);
  border: none;
  padding: 10px 22px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(215, 113, 162, 0.28);
  transition: opacity var(--osd-ease), transform var(--osd-ease);
}

.form-submit .submit:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

@media (max-width: 420px) {
  .hero h2 {
    font-size: 1.45rem;
  }

  .card {
    padding: 14px 16px;
  }

}
