/*
Theme Name: Courage
Theme URI: https://courage-advies.nl
Author: Simon van de Beek
Description: Custom one-page WordPress theme based on the Courage HTML website.
Version: 1.0
Text Domain: courage
*/

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

    :root {
      --petrol: #093f55;
      --petrol-light: #0d526e;
      --green: #bef1b0;
      --white: #ffffff;
      --off-white: #f7f8f6;
      --text: #1a1a1a;
      --text-muted: #5a5a5a;
      --max: 1140px;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Inter', sans-serif;
      font-size: 17px;
      line-height: 1.7;
      color: var(--text);
      background: var(--white);
    }

    /* ─── NAV ─── */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      background: rgba(255,255,255,0.96);
      backdrop-filter: blur(8px);
      border-bottom: 1px solid rgba(9,63,85,0.08);
    }
    .nav-inner {
      max-width: var(--max);
      margin: 0 auto;
      padding: 0 2rem;
      height: 72px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .nav-logo img { height: 38px; }
    .nav-links { display: flex; gap: 2.5rem; list-style: none; }
    .nav-links a {
      text-decoration: none;
      color: var(--text);
      font-size: 0.9rem;
      font-weight: 500;
      letter-spacing: 0.02em;
      transition: color 0.2s;
    }
    .nav-links a:hover { color: var(--petrol); }
    .nav-cta {
      background: var(--petrol);
      color: var(--white) !important;
      padding: 0.5rem 1.25rem;
      border-radius: 4px;
      transition: background 0.2s !important;
    }
    .nav-cta:hover { background: var(--petrol-light) !important; }

    /* ─── HERO ─── */
    .hero {
      min-height: 100vh;
      background: var(--petrol);
      display: flex;
      align-items: center;
      padding: 120px 2rem 80px;
    }
    .hero-inner {
      max-width: var(--max);
      margin: 0 auto;
      width: 100%;
    }
    .hero-label {
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--green);
      margin-bottom: 1.75rem;
      opacity: 0.85;
    }
    .hero h1 {
      font-family: 'Playfair Display', serif;
      font-size: clamp(2.8rem, 6vw, 5rem);
      font-weight: 700;
      color: var(--white);
      line-height: 1.1;
      max-width: 18ch;
      margin-bottom: 2rem;
    }
    .hero h1 em {
      font-style: normal;
      color: var(--green);
    }
    .hero-sub {
      font-size: 1.2rem;
      color: rgba(255,255,255,0.65);
      max-width: 40ch;
      line-height: 1.65;
      margin-bottom: 3rem;
    }
    .hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
    .btn-primary {
      background: var(--green);
      color: var(--petrol);
      padding: 0.85rem 2rem;
      border-radius: 4px;
      text-decoration: none;
      font-weight: 600;
      font-size: 0.95rem;
      transition: opacity 0.2s;
      display: inline-block;
    }
    .btn-primary:hover { opacity: 0.88; }
    .btn-outline {
      border: 1.5px solid rgba(255,255,255,0.3);
      color: var(--white);
      padding: 0.85rem 2rem;
      border-radius: 4px;
      text-decoration: none;
      font-weight: 500;
      font-size: 0.95rem;
      transition: border-color 0.2s;
      display: inline-block;
    }
    .btn-outline:hover { border-color: rgba(255,255,255,0.65); }

    /* ─── SECTION BASE ─── */
    section { padding: 96px 2rem; }
    .container { max-width: var(--max); margin: 0 auto; }
    .section-label {
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--petrol);
      margin-bottom: 1rem;
      opacity: 0.5;
    }
    h2 {
      font-family: 'Playfair Display', serif;
      font-size: clamp(2rem, 4vw, 2.8rem);
      font-weight: 700;
      color: var(--petrol);
      line-height: 1.2;
      margin-bottom: 1.5rem;
    }
    p { color: var(--text-muted); margin-bottom: 1rem; }

    /* ─── INTRO ─── */
    .intro { background: var(--off-white); }
    .intro-grid {
      display: grid;
      grid-template-columns: 1fr 1.1fr;
      gap: 5rem;
      align-items: center;
    }
    .intro-right p { font-size: 1.05rem; line-height: 1.85; }
    .intro-stat {
      display: flex;
      gap: 3rem;
      margin-top: 2.5rem;
      padding-top: 2.5rem;
      border-top: 1px solid rgba(9,63,85,0.1);
    }
    .stat-num {
      font-family: 'Playfair Display', serif;
      font-size: 2.2rem;
      font-weight: 700;
      color: var(--petrol);
      line-height: 1;
    }
    .stat-label { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.3rem; }

    /* ─── PROJECTEN ─── */
    .projecten { background: var(--white); }
    .projecten-header { margin-bottom: 3.5rem; }
    .projecten-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5px;
      background: rgba(9,63,85,0.07);
    }
    .project {
      background: var(--white);
      padding: 2.25rem;
      transition: background 0.2s;
    }
    .project:hover { background: var(--off-white); }
    .project-org {
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--petrol);
      opacity: 0.5;
      margin-bottom: 0.6rem;
    }
    .project h3 {
      font-size: 1rem;
      font-weight: 600;
      color: var(--petrol);
      margin-bottom: 0.75rem;
      line-height: 1.4;
    }
    .project p { font-size: 0.9rem; color: var(--text-muted); margin: 0; line-height: 1.7; }
    .project-result {
      margin-top: 1rem;
      font-size: 0.82rem;
      color: var(--petrol);
      font-weight: 500;
      opacity: 0.75;
    }

    /* ─── WERKWIJZE ─── */
    .werkwijze { background: var(--off-white); }
    .werkwijze-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 5rem;
      align-items: start;
    }
    .garanties { display: flex; flex-direction: column; gap: 2rem; margin-top: 0.5rem; }
    .garantie { display: flex; gap: 1.25rem; align-items: flex-start; }
    .garantie-num {
      font-family: 'Playfair Display', serif;
      font-size: 1.8rem;
      font-weight: 700;
      color: var(--petrol);
      opacity: 0.18;
      line-height: 1;
      flex-shrink: 0;
      width: 2rem;
    }
    .garantie h3 { font-size: 0.95rem; font-weight: 600; color: var(--petrol); margin-bottom: 0.3rem; }
    .garantie p { font-size: 0.9rem; margin: 0; line-height: 1.65; }

    /* ─── LABELS ─── */
    .labels { background: var(--petrol); padding: 96px 2rem; }
    .labels h2 { color: var(--white); }
    .labels .section-label { color: var(--green); opacity: 1; }
    .labels-intro { color: rgba(255,255,255,0.6); font-size: 1.05rem; max-width: 50ch; margin-bottom: 3.5rem; line-height: 1.75; }
    .labels-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 1.5rem;
    }
    .label-card {
      border: 1px solid rgba(190,241,176,0.18);
      border-radius: 5px;
      padding: 2rem;
      transition: border-color 0.2s, background 0.2s;
    }
    .label-card:hover { border-color: rgba(190,241,176,0.45); background: rgba(255,255,255,0.03); }
    .label-card h3 { font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 0.5rem; }
    .label-card p { font-size: 0.88rem; color: rgba(255,255,255,0.5); margin: 0; line-height: 1.65; }
    .label-status {
      display: inline-block;
      font-size: 0.68rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 0.2rem 0.6rem;
      border-radius: 20px;
      margin-bottom: 1rem;
    }
    .status-live { background: rgba(190,241,176,0.14); color: var(--green); }
    .status-soon { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.4); }

    /* ─── OVER ─── */
    .over { background: var(--white); }
    .over-grid {
      display: grid;
      grid-template-columns: 380px 1fr;
      gap: 5rem;
      align-items: start;
    }
    .over-foto {
      width: 100%;
      aspect-ratio: 4/5;
      object-fit: cover;
      border-radius: 4px;
      display: block;
      background: var(--petrol);
    }
    .over-foto-placeholder {
      width: 100%;
      aspect-ratio: 4/5;
      background: #d8e8ed;
      border-radius: 4px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: rgba(9,63,85,0.3);
      font-size: 0.8rem;
      letter-spacing: 0.05em;
    }
    .over-content p { font-size: 1.02rem; line-height: 1.85; margin-bottom: 1.25rem; }
    .over-quote {
      border-left: 3px solid var(--green);
      padding-left: 1.25rem;
      margin: 2rem 0;
      font-style: italic;
      color: var(--text-muted);
      font-size: 0.95rem;
      line-height: 1.7;
    }
    .over-quote cite { display: block; margin-top: 0.5rem; font-style: normal; font-size: 0.82rem; font-weight: 500; color: var(--petrol); opacity: 0.6; }

    /* ─── CONTACT ─── */
    .contact { background: var(--off-white); }
    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 5rem;
      align-items: start;
    }
    .contact-left p { font-size: 1.05rem; line-height: 1.85; margin-bottom: 2rem; }
    .contact-info { display: flex; flex-direction: column; gap: 0.9rem; }
    .contact-item { display: flex; gap: 0.75rem; align-items: center; font-size: 0.95rem; }
    .contact-item a { color: var(--petrol); text-decoration: none; font-weight: 500; }
    .contact-item a:hover { text-decoration: underline; }
    .contact-form { display: flex; flex-direction: column; gap: 0.9rem; }
    .contact-form input, .contact-form textarea {
      width: 100%;
      padding: 0.9rem 1rem;
      border: 1.5px solid rgba(9,63,85,0.14);
      border-radius: 4px;
      font-family: inherit;
      font-size: 0.95rem;
      color: var(--text);
      background: var(--white);
      transition: border-color 0.2s;
      outline: none;
    }
    .contact-form input:focus, .contact-form textarea:focus { border-color: var(--petrol); }
    .contact-form textarea { min-height: 130px; resize: vertical; }
    .btn-send {
      background: var(--petrol);
      color: var(--white);
      padding: 0.9rem 2rem;
      border: none;
      border-radius: 4px;
      font-family: inherit;
      font-size: 0.95rem;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.2s;
      align-self: flex-start;
    }
    .btn-send:hover { background: var(--petrol-light); }

    /* ─── FOOTER ─── */
    footer {
      background: var(--petrol);
      color: rgba(255,255,255,0.45);
      padding: 2.5rem 2rem;
    }
    .footer-inner {
      max-width: var(--max);
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 1.5rem;
    }
    .footer-logo img { height: 30px; opacity: 0.65; }
    .footer-links { display: flex; gap: 1.5rem; }
    .footer-links a { color: rgba(255,255,255,0.35); text-decoration: none; font-size: 0.83rem; transition: color 0.2s; }
    .footer-links a:hover { color: rgba(255,255,255,0.75); }
    .footer-copy { font-size: 0.78rem; }

    /* ─── MOBILE ─── */
    @media (max-width: 900px) {
      .nav-links { display: none; }
      .intro-grid, .werkwijze-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
      .over-grid { grid-template-columns: 1fr; }
      .over-foto-placeholder { aspect-ratio: 3/2; }
      .projecten-grid { grid-template-columns: 1fr; }
      .intro-stat { gap: 2rem; }
    }

/* Basic WordPress content fallback */
.wp-page { padding: 120px 2rem 80px; }
.wp-page .container { max-width: var(--max); margin: 0 auto; }
.wp-page h1 { font-family: 'Playfair Display', serif; color: var(--petrol); margin-bottom: 1rem; line-height: 1.2; }
