/*
Theme Name: HSV Vereniging - Modern
Theme URI: https://example.com
Author: Jouw Vereniging
Author URI: https://example.com
Description: Fris, modern WordPress-thema voor hengelsportverenigingen, ontworpen in de blauwe huisstijl van hsvvelsen.nl (geen gekopieerde content, logo's of afbeeldingen). Zelfde functionaliteit als het thema "HSV Vereniging" (nieuwsoverzicht, Mijn vangsten-sectie, vangstformulier-knop, 3-blokken paginatemplate), maar met een eigentijdse, ronde, luchtige vormgeving: zwevende header, golfvormen, pillen-navigatie en zachte kaartschaduwen.
Version: 1.0
Requires PHP: 7.4
Text Domain: hsv-vereniging
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800&family=Inter:wght@400;500;600&display=swap');

/* -------------------------------------------------
   0. VARIABELEN - fris/modern kleurenpalet
-------------------------------------------------- */
:root {
  --hsv-navy: #023047;
  --hsv-blue: #0077b6;
  --hsv-teal: #00b4d8;
  --hsv-light: #caf0f8;
  --hsv-white: #ffffff;
  --hsv-offwhite: #f5fbfd;
  --hsv-text: #1b2a33;
  --hsv-grey: #6b7f8c;
  --hsv-border: #e3eef3;
  --hsv-heading-font: 'Poppins', 'Segoe UI', sans-serif;
  --hsv-font: 'Inter', 'Segoe UI', sans-serif;
  --hsv-radius: 16px;
  --hsv-radius-sm: 10px;
  --hsv-shadow: 0 12px 28px rgba(2, 48, 71, .10);
  --hsv-shadow-hover: 0 18px 36px rgba(2, 48, 71, .16);
}

/* -------------------------------------------------
   1. BASIS
-------------------------------------------------- */
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--hsv-font);
  color: var(--hsv-text);
  background: var(--hsv-offwhite);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--hsv-blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--hsv-teal); }

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

h1, h2, h3, h4 {
  font-family: var(--hsv-heading-font);
  color: var(--hsv-navy);
  line-height: 1.2;
  margin-top: 0;
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* -------------------------------------------------
   2. TOPBAR (contact info) - subtiel, boven de zwevende header
-------------------------------------------------- */
.hsv-topbar {
  background: var(--hsv-navy);
  color: var(--hsv-light);
  font-size: 13px;
}
.hsv-topbar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 8px;
}
.hsv-topbar a { color: var(--hsv-light); }
.hsv-topbar a:hover { color: var(--hsv-white); }
.hsv-topbar-info span { margin-left: 22px; }
.hsv-topbar-info span:first-child { margin-left: 0; }

/* -------------------------------------------------
   3. HEADER / BRANDING - zwevend, afgerond, met schaduw
-------------------------------------------------- */
.hsv-header {
  background: var(--hsv-white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 18px rgba(2, 48, 71, .07);
}
.hsv-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: wrap;
  gap: 12px;
}
.hsv-header-row { justify-content: space-between; }
.hsv-branding {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hsv-branding img.custom-logo {
  max-height: 64px;
  width: auto;
}
.hsv-site-title {
  font-family: var(--hsv-heading-font);
  font-size: 24px;
  font-weight: 800;
  margin: 0;
  color: var(--hsv-navy);
}
.hsv-site-title a { color: inherit; }
.hsv-site-tagline {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--hsv-grey);
}

/* -------------------------------------------------
   4. NAVIGATIE - pillen-stijl, direct in de header
-------------------------------------------------- */
.hsv-nav-wrap {
  background: transparent;
  border-top: 1px solid var(--hsv-border);
}
.hsv-nav-wrap .container { padding-top: 4px; padding-bottom: 4px; }

#hsv-primary-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
#hsv-primary-menu > li {
  position: relative;
}
#hsv-primary-menu > li > a {
  display: block;
  padding: 10px 16px;
  margin: 6px 0;
  border-radius: 999px;
  color: var(--hsv-navy);
  font-weight: 600;
  font-size: 14px;
  transition: background .2s ease, color .2s ease;
}
#hsv-primary-menu > li > a:hover,
#hsv-primary-menu > li.current-menu-item > a {
  background: var(--hsv-blue);
  color: var(--hsv-white);
}
#hsv-primary-menu ul {
  list-style: none;
  margin: 0;
  padding: 8px;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--hsv-white);
  min-width: 230px;
  display: none;
  z-index: 50;
  border-radius: var(--hsv-radius-sm);
  box-shadow: var(--hsv-shadow);
}
#hsv-primary-menu li:hover > ul { display: block; }
#hsv-primary-menu ul li a {
  padding: 9px 14px;
  display: block;
  color: var(--hsv-text);
  font-size: 13px;
  font-weight: 500;
  border-radius: 8px;
}
#hsv-primary-menu ul li a:hover { background: var(--hsv-light); color: var(--hsv-navy); }

.hsv-menu-toggle {
  display: none;
  background: var(--hsv-blue);
  color: var(--hsv-white);
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  margin: 8px 0;
}

/* -------------------------------------------------
   5. HERO - gradient met golfvorm onderaan
-------------------------------------------------- */
.hsv-hero {
  position: relative;
  background: linear-gradient(120deg, var(--hsv-navy), var(--hsv-blue) 55%, var(--hsv-teal));
  color: var(--hsv-white);
  padding: 64px 0 84px;
  overflow: hidden;
}
.hsv-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 60px;
  background: var(--hsv-offwhite);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0,30 C200,70 400,0 600,30 C800,60 1000,10 1200,30 L1200,60 L0,60 Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0,30 C200,70 400,0 600,30 C800,60 1000,10 1200,30 L1200,60 L0,60 Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.hsv-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.hsv-hero-tekst { flex: 1 1 420px; text-align: left; }
.hsv-hero h2 {
  color: var(--hsv-white);
  font-size: 34px;
  margin-bottom: 12px;
}
.hsv-hero-tekst p {
  max-width: 620px;
  margin: 0;
  color: var(--hsv-light);
  font-size: 15px;
}
.hsv-hero-knop { flex: 0 0 auto; }
.hsv-hero-knop a,
.hsv-hero-knop button,
.hsv-hero-knop input[type="submit"] {
  display: inline-block;
  background: var(--hsv-white);
  color: var(--hsv-blue) !important;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  font-size: 15px;
  cursor: pointer;
  box-shadow: var(--hsv-shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.hsv-hero-knop a:hover,
.hsv-hero-knop button:hover,
.hsv-hero-knop input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: var(--hsv-shadow-hover);
  text-decoration: none;
}

/* -------------------------------------------------
   6. MIJN VANGSTEN sectie
-------------------------------------------------- */
.hsv-vangsten-sectie {
  background: var(--hsv-white);
  padding: 46px 0 16px;
  margin-top: -40px;
  border-radius: var(--hsv-radius) var(--hsv-radius) 0 0;
}
.hsv-vangsten-sectie h2 {
  font-size: 22px;
  margin-bottom: 18px;
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 3px solid var(--hsv-teal);
}
.hsv-login-inhoud { margin-bottom: 24px; }
.hsv-vangsten-inhoud { margin-bottom: 10px; }
.hsv-vangsten-inhoud img { border-radius: var(--hsv-radius-sm); }

/* -------------------------------------------------
   7. CONTENT LAYOUT
-------------------------------------------------- */
.hsv-content-wrap { padding: 44px 0 64px; }
.hsv-layout {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 36px;
  align-items: start;
}
.hsv-layout-full { display: block; }
.hsv-layout-full .hsv-main { width: 100%; }
@media (max-width: 860px) {
  .hsv-layout { grid-template-columns: 1fr; }
}

/* -------------------------------------------------
   8. NIEUWSBERICHTEN / LOOP - ronde kaarten met hover-lift
-------------------------------------------------- */
.hsv-post-card {
  background: var(--hsv-white);
  border: 1px solid var(--hsv-border);
  border-radius: var(--hsv-radius);
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: var(--hsv-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.hsv-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hsv-shadow-hover);
}
.hsv-post-card .thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.hsv-post-card .body { padding: 22px 24px; }
.hsv-post-meta {
  font-size: 12px;
  color: var(--hsv-teal);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 8px;
}
.hsv-post-card h2 { font-size: 20px; margin-bottom: 10px; }
.hsv-post-card h2 a { color: var(--hsv-navy); }
.hsv-post-card h2 a:hover { color: var(--hsv-blue); }
.hsv-read-more {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
  font-size: 13px;
  color: var(--hsv-blue);
}
.hsv-read-more::after { content: " \2192"; }

.hsv-pagination { margin-top: 10px; text-align: center; }
.hsv-pagination a, .hsv-pagination span {
  display: inline-block;
  padding: 9px 15px;
  margin: 0 3px;
  background: var(--hsv-white);
  border: 1px solid var(--hsv-border);
  border-radius: 999px;
  color: var(--hsv-navy);
  font-size: 13px;
  font-weight: 600;
}
.hsv-pagination .current { background: var(--hsv-blue); border-color: var(--hsv-blue); color: var(--hsv-white); }

/* -------------------------------------------------
   9. SIDEBAR (nog aanwezig in de code, momenteel niet gebruikt in de templates)
-------------------------------------------------- */
.hsv-sidebar .widget {
  background: var(--hsv-white);
  border: 1px solid var(--hsv-border);
  border-radius: var(--hsv-radius);
  padding: 22px;
  margin-bottom: 24px;
  box-shadow: var(--hsv-shadow);
}
.hsv-sidebar .widget-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--hsv-navy);
  margin-bottom: 14px;
}
.hsv-sidebar ul { list-style: none; margin: 0; padding: 0; }
.hsv-sidebar ul li { padding: 7px 0; border-bottom: 1px dashed var(--hsv-border); font-size: 14px; }
.hsv-sidebar ul li:last-child { border-bottom: none; }
.hsv-sidebar .widget_search input[type="search"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--hsv-border);
  border-radius: var(--hsv-radius-sm);
}
.hsv-sidebar .widget_search input[type="submit"] {
  margin-top: 8px;
  width: 100%;
  padding: 10px 12px;
  background: var(--hsv-blue);
  color: var(--hsv-white);
  border: none;
  border-radius: var(--hsv-radius-sm);
  cursor: pointer;
  font-weight: 700;
}
.hsv-sidebar .widget_search input[type="submit"]:hover { background: var(--hsv-navy); }

/* -------------------------------------------------
   10. SINGLE POST / PAGINA
-------------------------------------------------- */
.hsv-single-header { margin-bottom: 18px; }
.hsv-single-header h1 { font-size: 30px; }
.hsv-featured-image {
  margin-bottom: 22px;
  border-radius: var(--hsv-radius);
  overflow: hidden;
  box-shadow: var(--hsv-shadow);
}
.hsv-entry-content p { margin: 0 0 16px; }
.hsv-entry-content ul, .hsv-entry-content ol { margin: 0 0 16px 22px; }

/* -------------------------------------------------
   10b. DRIE BLOKKEN TEMPLATE - ronde kaarten, hover-lift
-------------------------------------------------- */
.hsv-blokken-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 10px;
}
.hsv-blok {
  background: var(--hsv-white);
  border: 1px solid var(--hsv-border);
  border-radius: var(--hsv-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--hsv-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.hsv-blok:hover { transform: translateY(-4px); box-shadow: var(--hsv-shadow-hover); }
.hsv-blok-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.hsv-blok-body { padding: 20px 22px; }
.hsv-blok-body h3 { font-size: 18px; margin-bottom: 8px; color: var(--hsv-navy); }
.hsv-blok-body p { margin: 0; color: var(--hsv-grey); font-size: 14px; }

@media (max-width: 1024px) and (min-width: 601px) {
  .hsv-blokken-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .hsv-blokken-grid { grid-template-columns: 1fr; }
}

/* -------------------------------------------------
   11. FOOTER - donkere golf, ronde afsluiting
-------------------------------------------------- */
.hsv-footer {
  background: var(--hsv-navy);
  color: var(--hsv-light);
  padding: 50px 0 24px;
  margin-top: 30px;
  position: relative;
}
.hsv-footer::before {
  content: "";
  position: absolute;
  top: -40px; left: 0; right: 0;
  height: 40px;
  background: var(--hsv-navy);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C300,0 900,40 1200,0 L1200,40 Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0,40 C300,0 900,40 1200,0 L1200,40 Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.hsv-footer-widgets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-bottom: 30px;
}
@media (max-width: 760px) {
  .hsv-footer-widgets { grid-template-columns: 1fr; }
}
.hsv-footer-widgets .widget-title {
  color: var(--hsv-white);
  font-family: var(--hsv-heading-font);
  font-size: 15px;
  margin-bottom: 14px;
}
.hsv-footer-widgets ul { list-style: none; margin: 0; padding: 0; }
.hsv-footer-widgets ul li { padding: 5px 0; font-size: 14px; }
.hsv-footer-widgets a { color: var(--hsv-light); }
.hsv-footer-widgets a:hover { color: var(--hsv-white); }

.hsv-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 18px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.55);
}

/* -------------------------------------------------
   12. RESPONSIVE / MOBIEL MENU
-------------------------------------------------- */
@media (max-width: 860px) {
  .hsv-menu-toggle { display: inline-block; }
  #hsv-primary-menu {
    display: none;
    flex-direction: column;
    gap: 0;
  }
  #hsv-primary-menu.hsv-menu-open { display: flex; }
  #hsv-primary-menu ul { position: static; box-shadow: none; padding-left: 12px; }
  .hsv-topbar .container { justify-content: center; }
}

@media (max-width: 600px) {
  .hsv-topbar { display: none; }

  .hsv-header .container { padding-top: 10px; padding-bottom: 10px; gap: 6px; }
  .hsv-branding { gap: 8px; }
  .hsv-branding img.custom-logo { max-height: 40px; }
  .hsv-site-title { font-size: 17px; }
  .hsv-site-tagline { font-size: 11px; }

  #hsv-primary-menu > li > a { padding: 9px 14px; font-size: 13px; }
  .hsv-menu-toggle { padding: 8px 16px; font-size: 13px; }

  .hsv-hero { padding: 22px 0 46px; }
  .hsv-hero-inner { gap: 14px; }
  .hsv-hero h2 { font-size: 20px; margin-bottom: 6px; }
  .hsv-hero-tekst p { font-size: 13px; }
  .hsv-hero-knop a, .hsv-hero-knop button, .hsv-hero-knop input[type="submit"] {
    padding: 11px 20px;
    font-size: 14px;
  }
  .hsv-vangsten-sectie { margin-top: -26px; padding-top: 34px; }
}
