/*
Theme Name: WNBF Clean
Theme URI: https://wnbf.no
Author: WNBF Norway
Author URI: https://wnbf.no
Description: Rent, klassisk WordPress-tema for WNBF landingssider (uten shop).
Version: 0.1.0
Requires at least: 6.5
Tested up to: 6.6
Requires PHP: 8.1
Text Domain: wnbf-clean
*/

:root {
  --bg: #f6f2ea;
  --surface: #fffdf8;
  --text: #1f2024;
  --muted: #5f6672;
  --accent: #c2410c;
  --accent-2: #14532d;
  --border: #e7dfd0;
  --radius: 14px;
  --shadow: 0 12px 24px rgba(31, 32, 36, 0.08);
  --container: 1140px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% -10%, #fbe6bf 0%, transparent 30%),
    radial-gradient(circle at 100% 0%, #dbeadd 0%, transparent 35%),
    var(--bg);
}

a {
  color: inherit;
}

.site-header,
.site-footer {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.site-footer {
  border-top: 1px solid var(--border);
  border-bottom: 0;
  margin-top: 4rem;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.site-header .container,
.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-size: 1.75rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.main-nav ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

.main-nav a:hover,
.main-nav .current-menu-item a {
  color: var(--text);
}

.hero {
  padding: 5rem 0 2rem;
}

.hero h1 {
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  letter-spacing: 0.03em;
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  line-height: 0.95;
  margin: 0;
}

.hero p {
  color: var(--muted);
  max-width: 62ch;
  font-size: 1.1rem;
}

.hero-logo {
  width: min(280px, 70vw);
  height: auto;
}

.hero-media {
  width: min(920px, 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.btn {
  display: inline-block;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

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

.btn-secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin: 2rem 0 3rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.page-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem;
  margin-top: 1.5rem;
}

.footer-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.wnbf-form {
  display: grid;
  gap: 0.8rem;
  max-width: 640px;
}

.wnbf-form label {
  font-weight: 700;
}

.wnbf-form input,
.wnbf-form select,
.wnbf-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem;
  font: inherit;
}

.notice {
  border-radius: 10px;
  padding: 0.7rem;
}

.notice-success {
  background: #e8f7ee;
  border: 1px solid #b8e6c8;
}

.notice-error {
  background: #fdecec;
  border: 1px solid #f4c7c7;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  padding: 0.8rem;
}

.faq-item summary {
  font-weight: 700;
  cursor: pointer;
}

.faq-answer {
  margin-top: 0.6rem;
  color: var(--muted);
}

.faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.faq-filter-chip {
  display: inline-block;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  text-decoration: none;
  background: #fff;
}

.faq-filter-chip.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.card h2 {
  margin-top: 0;
}

.card h2 a {
  text-decoration: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.7rem;
}

.woocommerce div.product,
.woocommerce-cart,
.woocommerce-checkout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  filter: brightness(0.94);
  color: #fff;
}

@media (max-width: 760px) {
  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav ul {
    flex-wrap: wrap;
  }
}
