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

:root {
  color-scheme: light;
  --ink: #192b49;
  --muted: #626c7c;
  --red: #c6283d;
  --red-dark: #a91f32;
  --blue: #245a9c;
  --blue-dark: #19477c;
  --pale-blue: #eaf1fa;
  --pale-red: #fff0f1;
  --paper: #fffaf5;
  --line: #eee5df;
  --serif: "Manrope", "Trebuchet MS", sans-serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background: url("../Modelvliegclub%20Tuitjenhorn%20in%20de%20lucht.png") center / min(88vw, 760px) auto no-repeat;
  content: "";
  opacity: 0.045;
  pointer-events: none;
}

a { color: inherit; }

.site-header {
  width: min(1120px, calc(100% - 64px));
  min-height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid rgba(198, 40, 61, 0.13);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 0 0 2px var(--red);
}

.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a, .footer-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease;
}
.site-nav a:not(.nav-contact) { padding: 9px 12px; border-radius: 999px; }
.site-nav a:hover, .footer-links a:hover, .site-nav a[aria-current="page"] { color: var(--red); }
.site-nav a:not(.nav-contact):hover, .site-nav a[aria-current="page"]:not(.nav-contact) { background: var(--pale-red); }
.site-nav .nav-contact {
  margin-left: 5px;
  padding: 10px 17px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: white;
}
.site-nav .nav-contact:hover { background: var(--red); color: white; }

a:focus-visible { outline: 3px solid #e7a236; outline-offset: 3px; }

.hero {
  width: min(1120px, calc(100% - 64px));
  min-height: 420px;
  margin: 40px auto 58px;
  padding: 62px clamp(28px, 7vw, 82px);
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid #f0e2dc;
  border-top: 5px solid var(--red);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 40px rgba(48, 57, 78, 0.07);
}
.hero::after {
  position: absolute;
  top: -118px;
  right: -80px;
  width: 350px;
  height: 350px;
  border: 28px solid rgba(36, 90, 156, 0.07);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(198, 40, 61, 0.035);
  content: "";
  pointer-events: none;
}

.hero-copy { position: relative; z-index: 1; max-width: 680px; }
.eyebrow {
  margin: 0 0 15px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.045em;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); }
h1 {
  max-width: 600px;
  margin-bottom: 20px;
  font-size: clamp(42px, 5vw, 63px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.08;
}
.hero-intro { max-width: 560px; margin-bottom: 28px; color: var(--muted); font-size: 18px; }
.hero-tagline {
  margin: -8px 0 28px;
  color: var(--red);
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 23px; }
.button {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 48px;
  padding: 0 19px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.button-primary { background: var(--red); color: white; box-shadow: 0 5px 12px rgba(198, 40, 61, 0.16); }
.button-primary:hover { background: var(--red-dark); }
.text-link { color: var(--blue-dark); font-size: 14px; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.welcome-section, .updates-section {
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
  border-top: 1px solid rgba(198, 40, 61, 0.16);
}
.welcome-section {
  padding: 53px 0 58px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
}
.welcome-section h2, .section-heading h2 {
  margin-bottom: 0;
  font-size: 32px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.welcome-copy { max-width: 570px; color: var(--muted); }
.welcome-copy p { margin-bottom: 16px; }
.welcome-copy .text-link { color: var(--blue-dark); }

.updates-section { padding: 50px 0 78px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.section-heading .eyebrow { margin-bottom: 10px; }
.news-card {
  display: grid;
  grid-template-columns: 125px 1fr 24px;
  align-items: center;
  gap: 25px;
  padding: 24px 25px;
  border: 1px solid #f0e6df;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 22px rgba(48, 57, 78, 0.045);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.news-card:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(48, 57, 78, 0.09); }
.news-date { display: flex; flex-direction: column; color: var(--red); }
.news-date span { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; }
.news-date strong { margin-top: 4px; font-family: var(--serif); font-size: 19px; }
.news-card h2, .news-card h3 { margin-bottom: 5px; font-size: 19px; letter-spacing: -0.025em; }
.news-card p { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.card-arrow { color: var(--blue); font-size: 23px; text-decoration: none; }

.inner-page { width: min(930px, calc(100% - 64px)); min-height: 65vh; margin: 0 auto; padding: 68px 0 100px; }
.page-heading { max-width: 690px; margin-bottom: 48px; }
.page-heading h1 { margin-bottom: 15px; font-size: clamp(42px, 5vw, 56px); }
.page-heading > p:not(.eyebrow) { max-width: 600px; margin-bottom: 0; color: var(--muted); font-size: 17px; }
.page-heading > .button, .page-heading > .text-link { display: inline-flex; margin-top: 18px; }
.news-list { display: grid; gap: 15px; }
.news-list .news-card { grid-template-columns: 125px 1fr; align-items: start; padding: 28px; }
.news-list .news-card h2 { font-size: 21px; }
.news-list .news-card p { max-width: 650px; line-height: 1.8; }
.edit-note { margin: 22px 0 0; color: var(--muted); font-size: 13px; }
.news-form {
  display: grid;
  gap: 20px;
  padding: 32px;
  border: 1px solid #f0e6df;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 28px rgba(48, 57, 78, 0.055);
}
.form-field { display: grid; gap: 7px; font-size: 14px; font-weight: 700; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d8cfc9;
  border-radius: 9px;
  background: white;
  color: var(--ink);
  font: inherit;
}
.form-field textarea { min-height: 180px; resize: vertical; }
.form-field input:focus-visible, .form-field select:focus-visible, .form-field textarea:focus-visible {
  outline: 3px solid #e7a236;
  outline-offset: 2px;
}
.storage-note, .form-status { margin: 0; color: var(--muted); font-size: 13px; }
.form-status:empty { display: none; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
button.button { border: 0; cursor: pointer; font-family: inherit; }
code { padding: 2px 5px; border-radius: 4px; background: var(--pale-blue); font-size: 0.9em; }

.contact-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 25px; }
.contact-card, .contact-aside { padding: 32px; border: 1px solid #f0e6df; border-radius: 18px; background: rgba(255, 255, 255, 0.95); box-shadow: 0 10px 28px rgba(48, 57, 78, 0.055); }
.contact-card h2, .contact-aside h2 { margin-bottom: 24px; font-size: 24px; letter-spacing: -0.035em; }
.contact-details { margin: 0; }
.contact-details div { padding: 14px 0; border-top: 1px solid var(--line); }
.contact-details dt { color: var(--muted); font-size: 12px; }
.contact-details dd { margin: 2px 0 0; font-weight: 600; }
.contact-details a { color: var(--blue-dark); text-decoration: none; }
.contact-details a:hover { text-decoration: underline; }
.contact-card .edit-note { margin-top: 20px; }
.contact-aside { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; border-color: #f3dfe1; background: var(--pale-red); }
.contact-aside h2 { margin: 17px 0 10px; }
.contact-aside p { margin-bottom: 20px; color: var(--muted); }
.aside-icon { color: var(--red); font-size: 28px; }

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  align-items: start;
  gap: 20px;
}
.gallery-empty {
  grid-column: 1 / -1;
  padding: 44px 24px;
  border: 1px dashed #d8c8c0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  text-align: center;
}
.gallery-empty-icon { color: var(--red); font-size: 34px; }
.gallery-empty h2 { margin: 10px 0 7px; font-size: 22px; }
.gallery-empty p { max-width: 440px; margin: 0 auto; color: var(--muted); }
.gallery-item {
  overflow: hidden;
  margin: 0;
  border: 1px solid #f0e6df;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 20px rgba(48, 57, 78, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.gallery-item:hover { transform: translateY(-3px); box-shadow: 0 13px 25px rgba(48, 57, 78, 0.12); }
.gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--pale-blue);
}
.gallery-item video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--pale-blue);
}
.gallery-item figcaption { padding: 14px 17px 17px; font-family: var(--serif); font-size: 15px; font-weight: 700; line-height: 1.4; }

.regulation-document {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(25, 43, 73, 0.08);
}
.regulation-document iframe {
  display: block;
  width: 100%;
  height: min(78vh, 960px);
  min-height: 600px;
  border: 0;
  background: #fff;
}
.document-download { margin: 20px 0 0; text-align: right; }

.field-rules {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 42px;
  padding: 26px 30px;
  border: 1px solid #f3dfe1;
  border-radius: 18px;
  background: var(--pale-red);
}
.field-rules h2 { margin-bottom: 8px; font-size: 24px; letter-spacing: -0.025em; }
.field-rules p { margin: 0; color: var(--muted); }
.flight-times { margin-bottom: 42px; }
.time-table {
  overflow: hidden;
  border: 1px solid #f0e6df;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 22px rgba(48, 57, 78, 0.045);
}
.time-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding: 15px 24px;
  border-top: 1px solid var(--line);
}
.time-row:first-child { border-top: 0; }
.time-row strong { color: var(--red); }
.time-row span { color: var(--muted); }
.winter-times { padding-top: 18px; border-top: 1px solid rgba(198, 40, 61, 0.16); }
.winter-time {
  padding: 24px;
  border: 1px solid #dfe8f3;
  border-radius: 18px;
  background: var(--pale-blue);
}
.winter-time strong { display: block; margin-bottom: 6px; font-family: var(--serif); font-size: 24px; color: var(--blue-dark); }
.winter-time p { margin: 0; color: var(--muted); }
.indoor-note {
  margin: 18px 0 0;
  padding: 24px;
  border: 1px solid #f3dfe1;
  border-radius: 18px;
  background: var(--pale-red);
  color: var(--muted);
}
.indoor-note .eyebrow { margin-bottom: 7px; }
.indoor-note h3 { margin-bottom: 6px; font-size: 21px; letter-spacing: -0.02em; }
.indoor-note p:last-child { margin: 0; }

.site-footer {
  width: min(1120px, calc(100% - 64px));
  min-height: 112px;
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(198, 40, 61, 0.16);
}
.footer-brand { font-size: 14px; }
.footer-brand .brand-mark { width: 29px; height: 29px; font-size: 14px; }
.site-footer > p { margin: 0; color: var(--muted); font-size: 12px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a, .site-footer small { font-size: 12px; }
.site-footer small { color: var(--muted); }

@media (max-width: 760px) {
  .site-header { width: min(100% - 36px, 560px); min-height: auto; padding: 18px 0; align-items: flex-start; flex-direction: column; gap: 17px; }
  .site-nav { width: 100%; gap: 4px; overflow-x: auto; padding: 2px 2px 7px; }
  .site-nav a { white-space: nowrap; font-size: 13px; }
  .site-nav .nav-contact { padding: 8px 13px; }
  .hero, .welcome-section, .updates-section, .site-footer { width: min(100% - 36px, 560px); }
  .hero { min-height: initial; margin: 24px auto 42px; padding: 42px 25px; grid-template-columns: 1fr; gap: 25px; border-radius: 20px; }
  .hero::after { top: auto; right: -110px; bottom: -180px; width: 280px; height: 280px; }
  .hero h1 { font-size: clamp(40px, 11vw, 56px); }
  .hero-intro { font-size: 16px; }
  .welcome-section { padding: 38px 0; grid-template-columns: 1fr; gap: 17px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .updates-section { padding: 38px 0 55px; }
  .news-card, .news-list .news-card { grid-template-columns: 1fr 22px; gap: 12px; padding: 20px; }
  .news-card .news-date { grid-column: 1 / -1; }
  .card-arrow { grid-column: 2; grid-row: 2; }
  .news-card > div:nth-child(2) { grid-column: 1; grid-row: 2; }
  .inner-page { width: min(100% - 36px, 560px); padding: 54px 0 70px; }
  .page-heading { margin-bottom: 34px; }
  .news-form { padding: 24px; }
  .regulation-document iframe { height: 72vh; min-height: 460px; }
  .document-download { text-align: left; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-card, .contact-aside { padding: 24px; }
  .photo-gallery { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 14px; }
  .gallery-empty { padding: 34px 20px; }
  .field-rules { grid-template-columns: 1fr; gap: 8px; padding: 22px; }
  .time-row { grid-template-columns: 1fr; gap: 3px; padding: 13px 20px; }
  .site-footer { padding: 23px 0; align-items: flex-start; flex-wrap: wrap; }
  .site-footer > p { width: calc(100% - 50px); }
  .site-footer small { width: 100%; }
}

@media (max-width: 390px) {
  .site-nav { gap: 0; }
  .site-nav a:not(.nav-contact) { padding-right: 9px; padding-left: 9px; }
  .photo-gallery { grid-template-columns: 1fr; }
}
