/* ==========================================================================
   internethobby.nl — clean static stylesheet (LYNX Media)
   Replaces the original WordPress/Elementor theme CSS (not archived).
   Styles the existing WordPress + Elementor + WooCommerce markup.
   ========================================================================== */

:root {
  --brand: #16467a;
  --brand-dark: #0e2f55;
  --accent: #e8731c;
  --accent-dark: #c75f12;
  --ink: #1f2733;
  --muted: #5b6675;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --radius: 10px;
  --shadow: 0 8px 30px rgba(16, 38, 66, 0.08);
  --container: 1200px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

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

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; }

h1, h2, h3, h4, h5, h6 { line-height: 1.25; color: var(--ink); margin: 0 0 .6em; }
h1 { font-size: 2.1rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1rem; }

.container,
.container-fluid > .container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }

/* ---------- Skip / utility ---------- */
.visible-xs { display: none !important; }
.float-cart, .float-login { display: inline-block; }

/* ==========================================================================
   Top bar (address / tagline / hours)
   ========================================================================== */
.top-bar-section {
  background: var(--brand-dark);
  color: #dfe7f1;
  font-size: 13px;
}
.top-bar-section .container { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 8px; padding-bottom: 8px; align-items: center; }
.top-bar-section .widget { margin: 0; }
.top-bar-section a { color: #fff; }
.top-bar-section .custom-html-widget { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.top-bar-section i { color: var(--accent); }

/* ==========================================================================
   Header / navigation
   ========================================================================== */
#site-navigation.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(16, 38, 66, 0.05);
}
#site-navigation .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.navbar-header { display: flex; align-items: center; gap: 14px; }

/* Original logo image (wp-content) was never archived -> hide it, show text wordmark */
.custom-logo, .site-branding-logo img, .mobile-logo img { display: none !important; }
.site-branding-logo:empty { display: none; }
.site-branding-text { display: flex; flex-direction: column; justify-content: center; }
.site-branding-text .site-title { margin: 0; font-size: 1.35rem; line-height: 1.1; }
.site-branding-text .site-title a { color: var(--brand); font-weight: 800; }
.site-branding-text .site-description { margin: 0; font-size: 12px; color: var(--muted); }

/* Broken-image placeholder (wp-content media was not archived) */
img.lynx-img-fallback {
  background: #eef2f7 url("/assets/placeholder.svg") center / 56px no-repeat;
  min-height: 120px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

/* Generated section index pages */
.generated-index { max-width: var(--container); margin: 0 auto; padding: 28px 16px 10px; }
.generated-index .lead { color: var(--muted); max-width: 760px; }
.generated-index .link-grid {
  list-style: none; padding: 0; margin: 22px 0 10px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 18px;
}
.generated-index .link-grid li { margin: 0; }
.generated-index .link-grid a {
  display: block; padding: 10px 14px; background: #fff; border: 1px solid var(--line);
  border-radius: 8px; color: var(--ink); font-weight: 600; font-size: 14px;
}
.generated-index .link-grid a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; box-shadow: var(--shadow); }
.generated-index.news .link-grid { grid-template-columns: 1fr; gap: 12px; }
.generated-index.news .link-grid a { font-size: 1.05rem; }

/* Main menu */
#my-menu.menu-container { flex: 1; }
#menu-main-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
#menu-main-menu > li { position: relative; }
#menu-main-menu > li > a {
  display: block;
  padding: 16px 14px;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .2px;
}
#menu-main-menu > li > a:hover,
#menu-main-menu > li.current-menu-item > a { color: var(--brand); text-decoration: none; }
#menu-main-menu > li.menu-item-has-children > a::after { content: " ▾"; font-size: 10px; color: var(--muted); }

/* High-specificity overrides (original theme inline CSS forces white text) */
#site-navigation #menu-main-menu > li > a { color: var(--ink) !important; }
#site-navigation #menu-main-menu > li > a:hover,
#site-navigation #menu-main-menu > li.current-menu-item > a { color: var(--brand) !important; }
#site-navigation #menu-main-menu .dropdown-item { color: var(--ink) !important; }
#site-navigation #menu-main-menu .dropdown-item:hover { color: var(--brand) !important; }

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  list-style: none;
  margin: 0;
  padding: 8px 0;
  display: none;
  z-index: 1001;
}
#menu-main-menu > li:hover > .dropdown-menu { display: block; }
.dropdown-menu .dropdown-item { display: block; padding: 9px 18px; color: var(--ink); font-size: 14px; }
.dropdown-menu .dropdown-item:hover { background: var(--bg-soft); color: var(--brand); text-decoration: none; }

/* Lead-gen site: the WooCommerce cart/checkout is not functional, hide it */
.header-cart, .header-my-account, .header-cart-login,
.mobile-cart, .mobile-account, .site-header-cart, .cart-contents,
.widget_shopping_cart, .woocommerce.widget_shopping_cart,
.woocommerce div.product form.cart .quantity,
.woocommerce .quantity { display: none !important; }

/* Mobile menu toggle */
.menu-button { display: none; }
#main-menu-panel.toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 40px; padding: 9px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer;
}
#main-menu-panel.toggle span,
#main-menu-panel.toggle::before,
#main-menu-panel.toggle::after { content: ""; display: block; height: 2px; background: var(--ink); border-radius: 2px; }

/* ==========================================================================
   Elementor layout shims (the real Elementor CSS was not archived)
   ========================================================================== */
.elementor-section, .e-con, .e-con-inner, .elementor-container, .elementor-widget-wrap { width: 100%; }
.elementor-container,
.e-con > .e-con-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 22px 16px;
  align-items: stretch;
}
.e-con { display: flex; justify-content: center; }
.e-con.e-parent { padding: 14px 0; }
.elementor-column, .elementor-widget, .e-con.e-child {
  flex: 1 1 240px;
  min-width: 0;
}
.elementor-widget-wrap, .elementor-element-populated { width: 100%; }
.elementor-col-50 { flex-basis: 46%; }
.elementor-col-33 { flex-basis: 30%; }
.elementor-col-25 { flex-basis: 22%; }
.elementor-col-20 { flex-basis: 17%; }
.elementor-col-100 { flex-basis: 100%; }

.elementor-widget-container { width: 100%; }
.elementor-heading-title { margin: 0 0 .4em; }
.elementor-heading-title.elementor-size-default { font-size: 1.5rem; }
.popularis-extra-heading-title { font-size: 2rem; line-height: 1.2; }
.popularis-extra-title-focus { color: var(--accent); }

/* Buttons (Elementor + generic) */
.elementor-button, .wp-block-button__link, .btn, .button {
  display: inline-block;
  background: var(--brand);
  color: #fff !important;
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: background .15s ease;
}
.elementor-button:hover, .wp-block-button__link:hover, .btn:hover, .button:hover { background: var(--brand-dark); color: #fff !important; }

/* Shape dividers */
.elementor-shape { display: none; } /* decorative SVGs without theme CSS look broken */

/* Hero-ish first container */
.elementor-1353 > .e-con.e-parent:first-child { background: linear-gradient(135deg, #16467a, #0e2f55); color: #fff; border-radius: 0; }
.elementor-1353 > .e-con.e-parent:first-child .elementor-heading-title,
.elementor-1353 > .e-con.e-parent:first-child h1,
.elementor-1353 > .e-con.e-parent:first-child h2 { color: #fff; }

/* ==========================================================================
   WooCommerce product grid
   ========================================================================== */
.woocommerce ul.products,
ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
  list-style: none;
  margin: 24px 0;
  padding: 0;
}
.woocommerce ul.products li.product,
ul.products li.product {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(16,38,66,.04);
  transition: box-shadow .15s ease, transform .15s ease;
  list-style: none;
}
.woocommerce ul.products li.product:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.woocommerce ul.products li.product img { border-radius: 8px; margin-bottom: 12px; }
.woocommerce-loop-product__title { font-size: 1.05rem !important; margin: .3em 0 .5em; }
.woocommerce ul.products li.product .price,
.price { color: var(--accent); font-weight: 700; font-size: 1.15rem; display: block; margin-bottom: 12px; }
.woocommerce ul.products li.product .price del { color: var(--muted); font-weight: 400; font-size: .9rem; }

/* Single product */
.woocommerce div.product { display: flex; flex-wrap: wrap; gap: 30px; max-width: var(--container); margin: 24px auto; padding: 0 16px; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { flex: 1 1 320px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--accent); font-size: 1.6rem; font-weight: 700; }

/* ==========================================================================
   Business directory grid (Quantcast OPD list)
   ========================================================================== */
.qc-grid, .opd-list-holder {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
  max-width: var(--container);
  margin: 24px auto;
  padding: 0 16px;
  list-style: none;
}
.qc-grid-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 2px 10px rgba(16,38,66,.04);
}

/* ==========================================================================
   Generic content area
   ========================================================================== */
#site-content, .page-builders { width: 100%; }
.page-builders-content-area > .post-1353,
article, .entry-content, .page-content {
  max-width: var(--container);
  margin: 0 auto;
}
.entry-content, .page-content, article .post, article .page { padding: 0 16px; }

ul, ol { padding-left: 1.3em; }

/* Search form */
.search-form, form[role="search"] { display: inline-flex; gap: 6px; }
input[type="search"], input[type="text"], input[type="email"] {
  padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit;
}

/* ==========================================================================
   Footer
   ========================================================================== */
#content-footer-section {
  background: var(--brand-dark);
  color: #c8d4e2;
  padding: 40px 0 20px;
  margin-top: 50px;
}
#content-footer-section .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 26px; }
#content-footer-section .widget { font-size: 14px; }
#content-footer-section .widget-title h3, #content-footer-section h3 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
#content-footer-section ul { list-style: none; padding: 0; margin: 0; }
#content-footer-section li { margin-bottom: 7px; }
#content-footer-section a { color: #c8d4e2; }
#content-footer-section a:hover { color: #fff; }

.footer-credits-text, .site-info { text-align: center; padding: 18px 16px; background: #0a233f; color: #8ea4bd; font-size: 13px; }
.footer-credits-text a, .site-info a { color: #c8d4e2; }

/* Site-wide LYNX Media credit / backlink */
.lynx-credit { background: #0a233f; color: #8ea4bd; text-align: center; padding: 14px 16px; font-size: 13px; }
.lynx-credit a { color: #fff; font-weight: 600; }
.lynx-credit a:hover { color: var(--accent); }

/* Link directory blocks (the big linkpartner footer with many H2 sections) */
.sld-links h2, .linkpartner h2 { font-size: 1.1rem; border-bottom: 1px solid var(--line); padding-bottom: 6px; margin-top: 28px; }

/* ==========================================================================
   Cookie banner (LYNX Media — first-party only)
   ========================================================================== */
#lynx-cookie-banner[hidden] { display: none !important; }
#lynx-cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 99999;
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(16, 38, 66, 0.22);
  padding: 20px 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
}
#lynx-cookie-banner p { margin: 0; flex: 1 1 300px; font-size: 14px; color: var(--muted); }
#lynx-cookie-banner strong { color: var(--ink); display: block; margin-bottom: 3px; font-size: 15px; }
#lynx-cookie-banner .lynx-cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
#lynx-cookie-banner button {
  border: none; border-radius: 8px; padding: 11px 20px; font: inherit; font-weight: 600; cursor: pointer;
}
#lynx-cookie-accept { background: var(--brand); color: #fff; }
#lynx-cookie-accept:hover { background: var(--brand-dark); }
#lynx-cookie-decline { background: var(--bg-soft); color: var(--ink); border: 1px solid var(--line); }
#lynx-cookie-decline:hover { background: #e9eef4; }

/* ==========================================================================
   LYNX pages: services, pricing, contact form, calculator
   ========================================================================== */
/* Generated LYNX pages: force clean single-column flow (theme inline CSS
   otherwise makes the wrapper flex/grid and splits content into columns). */
.page-wrap:has(.lynx-page) { display: block !important; }
#site-content .lynx-page,
.lynx-page { display: block !important; width: 100%; max-width: var(--container); margin-left: auto; margin-right: auto; }
.lynx-page { padding: 30px 16px 10px; }
.lynx-page > h1 { font-size: 2rem; }
.lynx-page .lead { color: var(--muted); max-width: 760px; font-size: 1.1rem; }
.lynx-hero { background: linear-gradient(135deg, #16467a, #0e2f55); color: #fff; border-radius: 16px; padding: 36px 28px; margin-bottom: 8px; }
.lynx-hero h1 { color: #fff; margin-top: 0; }
.lynx-hero .lead { color: #d7e2f0; }
.lynx-hero .cta-row { margin-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; }
.lynx-hero .cta-row .button { background: var(--accent); }
.lynx-hero .cta-row .button:hover { background: var(--accent-dark); }
.lynx-hero .cta-row .button.ghost { background: transparent; border: 1px solid rgba(255,255,255,.6); }

.price-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin: 26px 0; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px 22px; box-shadow: 0 2px 12px rgba(16,38,66,.05); display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--brand); box-shadow: var(--shadow); position: relative; }
.price-card.featured::before { content: "Populair"; position: absolute; top: -12px; left: 22px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; }
.price-card h3 { margin: 0 0 6px; }
.price-card .price { color: var(--brand); font-size: 1.7rem; font-weight: 800; margin: 6px 0 2px; }
.price-card .price small { display: block; color: var(--muted); font-size: .8rem; font-weight: 500; }
.price-card ul { list-style: none; padding: 0; margin: 16px 0 22px; }
.price-card li { padding: 7px 0 7px 26px; position: relative; border-bottom: 1px solid var(--bg-soft); font-size: 14px; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.price-card .button { margin-top: auto; text-align: center; }

/* Forms */
.lynx-form { max-width: 640px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; box-shadow: 0 2px 12px rgba(16,38,66,.05); }
.lynx-form .row { margin-bottom: 16px; }
.lynx-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.lynx-form input, .lynx-form textarea, .lynx-form select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: #fff;
}
.lynx-form textarea { min-height: 130px; resize: vertical; }
.lynx-form .hp { position: absolute; left: -9999px; }
.lynx-form button[type="submit"] { background: var(--brand); color: #fff; border: none; border-radius: 8px; padding: 13px 26px; font: inherit; font-weight: 700; cursor: pointer; }
.lynx-form button[type="submit"]:hover { background: var(--brand-dark); }
.lynx-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px){ .lynx-form .form-grid { grid-template-columns: 1fr; } }
.lynx-alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-weight: 600; }
.lynx-alert.ok { background: #e6f6ec; color: #1c7a3f; border: 1px solid #b7e3c6; }
.lynx-alert.err { background: #fdeaea; color: #b3261e; border: 1px solid #f3c4c1; }
.contact-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 16px 0 24px; color: var(--muted); font-size: 14px; }
.contact-meta a { color: var(--brand); }

/* Product detail (service tier) page */
.crumb { font-size: 14px; margin-bottom: 10px; }
.product-detail { display: grid; grid-template-columns: 320px 1fr; gap: 32px; align-items: start; margin-bottom: 28px; }
@media (max-width: 720px){ .product-detail { grid-template-columns: 1fr; } }
.product-detail .pd-media img { width: 100%; border-radius: 12px; }
.product-detail h1 { margin: 0 0 8px; }
.product-detail .price { color: var(--brand); font-size: 2rem; font-weight: 800; margin: 6px 0 14px; }
.product-detail .price small { color: var(--muted); font-size: .9rem; font-weight: 500; }
.pd-features { list-style: none; padding: 0; margin: 16px 0 22px; }
.pd-features li { padding: 8px 0 8px 26px; position: relative; border-bottom: 1px solid var(--bg-soft); font-size: 15px; }
.pd-features li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.product-detail .button { font-size: 1.05rem; }
.pd-note { color: var(--muted); font-size: 13px; margin-top: 12px; }
.pd-long { max-width: 800px; color: #333; }
.pd-long h2 { font-size: 1.3rem; margin-top: 26px; }

/* Hide old WooCommerce widgets that referenced the removed products */
.widget_products, .widget_price_filter, .widget_product_search,
.widget_recently_viewed_products, .widget_top_rated_products { display: none !important; }

/* Price calculator */
.calc { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; box-shadow: 0 2px 12px rgba(16,38,66,.05); display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; }
@media (max-width: 760px){ .calc { grid-template-columns: 1fr; } }
.calc .field { margin-bottom: 18px; }
.calc label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.calc select, .calc input[type="number"] { width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.calc .opts { display: flex; flex-direction: column; gap: 8px; }
.calc .opt { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.calc .opt input { width: auto; }
.calc-result { background: var(--brand-dark); color: #fff; border-radius: 12px; padding: 24px; align-self: start; position: sticky; top: 90px; }
.calc-result .est-label { color: #b9c8db; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; }
.calc-result .est { font-size: 2.4rem; font-weight: 800; margin: 6px 0 4px; }
.calc-result .est-note { color: #b9c8db; font-size: 13px; margin-bottom: 18px; }
.calc-result .button { width: 100%; text-align: center; background: var(--accent); }
.calc-result .button:hover { background: var(--accent-dark); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991px) {
  .visible-xs { display: block !important; }
  .menu-button { display: block; }
  #my-menu.menu-container { flex-basis: 100%; display: none; }
  #site-navigation.menu-open #my-menu.menu-container { display: block; }
  #menu-main-menu { flex-direction: column; align-items: stretch; }
  #menu-main-menu > li > a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .dropdown-menu { position: static; display: block; box-shadow: none; border: none; border-radius: 0; padding-left: 14px; min-width: 0; }
  #menu-main-menu > li.menu-item-has-children > a::after { content: ""; }
  .elementor-col-50, .elementor-col-33, .elementor-col-25, .elementor-col-20 { flex-basis: 100%; }
  h1 { font-size: 1.7rem; } h2 { font-size: 1.4rem; }
}
