/* ============================================================
   TOM LAMONT – Main Stylesheet
   ============================================================ */

/* ----------------------------------------
   1. CUSTOM PROPERTIES
   ---------------------------------------- */
:root {
  --red:        #ea000d;
  --yellow:     #FFE500;
  --dark:       #2d3e50;
  --gray:       #5E5E5E;
  --body-color: #555;
  --light:      #f6f6f6;
  --white:      #fff;

  --container:  1140px;
  --transition: 0.3s ease;

  --font-heading: 'Poppins',     sans-serif;
  --font-sub:     'Montserrat',  sans-serif;
  --font-body:    'Roboto',      sans-serif;
}

/* ----------------------------------------
   2. RESET & BASE
   ---------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--body-color);
  background: var(--white);
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ----------------------------------------
   3. UTILITIES
   ---------------------------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Section titles */
.section-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--gray);
  text-transform: capitalize;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-title span {
  color: var(--yellow);
}

/* Section label (eyebrow text above title) */
.section-label {
  display: block;
  font-family: var(--font-sub);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--yellow);
  margin-bottom: 8px;
}

.section-label--red {
  color: var(--yellow);
}

/* Centered section header used in Nieuws + Events */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--body-color);
  font-size: 15px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.btn-primary {
  background: #000;
  color: var(--white);
  border-color: #000;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--yellow);
  color: #000;
  border-color: var(--yellow);
  outline: none;
}

/* ----------------------------------------
   4. HEADER
   ---------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  background: transparent;
  transition:
    background var(--transition),
    padding var(--transition),
    box-shadow var(--transition);
}

.site-header.scrolled {
  background: var(--dark);
  padding: 12px 0;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img {
  height: 48px;
  width: auto;
}

/* Nav */
.main-nav ul {
  display: flex;
  gap: 36px;
  align-items: center;
}

.main-nav a {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.main-nav a:hover,
.main-nav a.active,
.main-nav a:focus-visible {
  color: var(--yellow);
  border-color: var(--yellow);
  outline: none;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 10;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition:
    transform var(--transition),
    opacity var(--transition);
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ----------------------------------------
   5. HERO
   ---------------------------------------- */
.hero {
  position: relative;
  min-height: 800px;
  display: flex;
  align-items: stretch;
  background-image: url('images/shutterstock_2309890233-scaled-e1731310605953.jpg');
  background-size: cover;
  background-position: center top;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: flex-end;
  width: 100%;
  min-height: 800px;
  padding-top: 100px;
  gap: 0;
}

.hero-text {
  padding: 0 40px 90px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-sub {
  font-family: var(--font-heading);
  font-size: 100px;
  font-weight: 800;
  color: var(--white);
  text-transform: capitalize;
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 100px;
  font-weight: 800;
  color: var(--white);
  text-transform: capitalize;
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-desc {
  font-family: var(--font-sub);
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
  text-transform: capitalize;
  line-height: 1;
  margin: 20px 0 36px;
}

.btn-hero {
  display: inline-block;
  padding: 16px 44px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 2px solid var(--white);
  background: transparent;
  border-radius: 2px;
  transition: background var(--transition), border-color var(--transition);
}

.btn-hero:hover,
.btn-hero:focus-visible {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--dark);
  outline: none;
}

.hero-portrait {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-portrait img {
  max-height: 720px;
  width: auto;
  object-fit: cover;
  object-position: top center;
}

/* ----------------------------------------
   6. FEATURE CARDS
   ---------------------------------------- */
.features {
  padding: 80px 0 72px;
  background: var(--white);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  padding: 36px 24px 32px;
  text-align: center;
  border: 1px solid #ebebeb;
  border-radius: 2px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.feature-card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
}

.feature-icon {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: background var(--transition);
}

.feature-icon i {
  font-size: 28px;
  color: var(--yellow);
  transition: color var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--yellow);
}

.feature-card:hover .feature-icon i {
  color: var(--gray);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--gray);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--body-color);
}

/* ----------------------------------------
   7. BIO – WIE IS TOM?
   ---------------------------------------- */
.bio {
  padding: 100px 0;
  background: var(--white);
}

.bio-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
}

.bio-text .section-label {
  margin-bottom: 4px;
}

.bio-text .section-title {
  margin-bottom: 28px;
}

.bio-text p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--body-color);
  margin-bottom: 16px;
}

.bio-photo img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  object-position: top center;
  border-radius: 3px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

/* ----------------------------------------
   8. EVENEMENTEN
   ---------------------------------------- */
.events {
  position: relative;
  padding: 100px 0;
  background-image: url('images/shutterstock_2309890233-scaled-e1731310605953.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.events-overlay {
  position: absolute;
  inset: 0;
  background: rgba(45, 62, 80, 0.88);
}

.events .container {
  position: relative;
  z-index: 2;
}

.events .section-title {
  color: var(--white);
}

.events .section-header p {
  color: rgba(255, 255, 255, 0.80);
}

.events-empty {
  text-align: center;
  padding: 48px 32px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  max-width: 480px;
  margin: 0 auto;
}

.events-empty i {
  font-size: 36px;
  color: var(--yellow);
  display: block;
  margin-bottom: 16px;
}

/* ----------------------------------------
   9. ECHTE VERANDERING
   ---------------------------------------- */
.change {
  padding: 100px 0;
  background: var(--light);
}

.change-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.change-image img {
  width: 100%;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.change-text .section-label--red {
  color: var(--yellow);
}

.change-text .section-title {
  margin-bottom: 24px;
}

.change-text p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--body-color);
  margin-bottom: 16px;
}

/* ----------------------------------------
   10. NIEUWS
   ---------------------------------------- */
.news {
  padding: 100px 0;
  background: var(--white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.news-card {
  border: 1px solid #ebebeb;
  border-radius: 3px;
  overflow: hidden;
  transition: box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.09);
}

.news-card-img-link {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.news-card-img-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.news-card:hover .news-card-img-link img {
  transform: scale(1.04);
}

.news-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-date {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.news-card-body h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--gray);
  line-height: 1.45;
  margin-bottom: 12px;
  flex: 1;
}

.news-card-body h3 a {
  transition: color var(--transition);
}

.news-card-body h3 a:hover {
  color: var(--yellow);
}

.news-card-body p {
  font-size: 14px;
  color: var(--body-color);
  line-height: 1.75;
  margin-bottom: 20px;
}

.btn-readmore {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--yellow);
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: color var(--transition), border-color var(--transition);
}

.btn-readmore:hover,
.btn-readmore:focus-visible {
  color: var(--dark);
  border-color: var(--dark);
  outline: none;
}

.news-cta {
  text-align: center;
}

/* ----------------------------------------
   11. FOOTER
   ---------------------------------------- */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.80);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 48px;
}

.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer-col p {
  font-size: 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.75);
}

.footer-col p i {
  color: var(--yellow);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.80);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--yellow);
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding: 22px 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a {
  color: var(--yellow);
  transition: opacity var(--transition);
}

.footer-bottom a:hover {
  opacity: 0.8;
}

/* ----------------------------------------
   12. CONTACT PAGE
   ---------------------------------------- */

/* Screen-reader only utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Page intro */
.contact-main {
  padding-top: 80px; /* offset for fixed header */
}

.contact-intro {
  padding: 80px 0 56px;
  background: var(--white);
  text-align: center;
}

.contact-title {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.15;
}

.contact-subtitle {
  font-size: 16px;
  color: var(--body-color);
  line-height: 1.75;
  max-width: 680px;
  margin: 0 auto;
}

/* Layout: form stacked above info */
.contact-section {
  padding: 0 0 80px;
  background: var(--white);
}

.contact-layout {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

/* ── Form ── */
.contact-form {
  width: 100%;
}

.form-group {
  border: none;
  padding: 0;
  margin: 0 0 32px;
}

.form-legend,
.form-legend-wrap .form-legend {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: 16px;
  display: block;
  padding: 0;
}

.form-required {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--red);
}

.form-hint {
  font-size: 14px;
  color: var(--body-color);
  margin-bottom: 10px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray);
  margin-bottom: 6px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--dark);
  background: var(--white);
  border: 1px solid #d0d0d0;
  border-radius: 2px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--gray);
  box-shadow: 0 0 0 3px rgba(94, 94, 94, 0.12);
}

.form-input:invalid:not(:placeholder-shown),
.form-textarea:invalid:not(:placeholder-shown) {
  border-color: var(--red);
}

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

.char-count {
  display: block;
  font-size: 12px;
  color: var(--body-color);
  margin-top: 6px;
}

.form-submit-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.form-submit {
  padding: 14px 44px;
}

.form-success {
  font-size: 14px;
  color: #2a7a2a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-success[hidden] {
  display: none;
}

/* ── Info Grid (3 columns) ── */
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  text-align: center;
  padding: 0 20px;
}

.contact-info-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--gray);
  margin-bottom: 12px;
}

.contact-info-title span {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: var(--body-color);
}

.contact-info-divider {
  width: 40px;
  height: 3px;
  background: var(--yellow);
  margin: 0 auto 16px;
  border-radius: 2px;
}

.contact-info-body {
  font-style: normal;
  font-size: 15px;
  color: var(--body-color);
  line-height: 1.75;
}

.contact-info-body a {
  color: var(--body-color);
  transition: color var(--transition);
}

.contact-info-body a:hover {
  color: var(--yellow);
}

.contact-info-logo img {
  height: 96px;
  width: auto;
}

/* ── Map ── */
.contact-map {
  width: 100%;
  line-height: 0;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: none;
}

/* ----------------------------------------
   13. RESPONSIVE – TABLET (max 1024px)
   ---------------------------------------- */
@media (max-width: 1024px) {
  .hero-sub,
  .hero-title {
    font-size: 72px;
  }

  .hero-desc {
    font-size: 20px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bio-inner {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .change-inner {
    gap: 48px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-inner .footer-col:first-child {
    grid-column: 1 / -1;
  }

  /* Contact */
  .contact-title {
    font-size: 38px;
  }

  .contact-info-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .contact-info-logo {
    grid-column: 1 / -1;
    order: -1;
  }
}

/* ----------------------------------------
   13. RESPONSIVE – MOBILE (max 767px)
   ---------------------------------------- */
@media (max-width: 767px) {

  /* Header / Nav */
  .hamburger {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--dark);
    padding: 8px 0 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav a {
    display: block;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  /* Hero */
  .hero {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 60px;
    text-align: center;
  }

  .hero-text {
    padding: 0;
    align-items: center;
  }

  .hero-sub,
  .hero-title {
    font-size: 56px;
  }

  .hero-portrait {
    display: none;
  }

  /* Cards */
  .feature-grid {
    grid-template-columns: 1fr;
  }

  /* Bio */
  .bio-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .bio-photo {
    order: -1;
  }

  /* Events */
  .events {
    background-attachment: scroll;
  }

  /* Change */
  .change-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .change-image {
    order: -1;
  }

  /* News */
  .news-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-inner .footer-col:first-child {
    grid-column: initial;
  }

  /* Contact */
  .contact-title {
    font-size: 30px;
  }

  .contact-intro {
    padding: 60px 0 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-info-logo {
    order: -1;
  }

  .contact-map iframe {
    height: 300px;
  }

  /* Typography */
  .section-title {
    font-size: 28px;
  }
}
