/* Võ Vietnam Bern — all styling. Colours and type match the old Wix site. */
:root {
  --navy: #253c57;
  --navy-dark: #18293d;
  --yellow: #ffda00;
  --blue: #bee1e6;
  --blue-light: #d3f1f5;
  --grey: #f2f2f2;
  --charcoal: #2f2e2e;
  --white: #fff;
  --font: "Jost", "Futura", "Century Gothic", "Trebuchet MS", sans-serif;
  --wrap: 1100px;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font: 300 18px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-weight: 400; line-height: 1.1; margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid rgba(37, 60, 87, .08);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; font-size: 20px; font-weight: 400; }
.brand img { height: 50px; width: auto; }
.nav { margin-left: auto; display: flex; gap: clamp(20px, 5vw, 72px); }
.nav a { text-decoration: none; font-size: 16px; font-weight: 400; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: #89aeb3; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--navy); }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--white);
    border-bottom: 1px solid rgba(37, 60, 87, .12);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px var(--gutter); font-size: 18px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 12px 36px;
  font: 400 18px var(--font); text-decoration: none; border: 0; cursor: pointer;
  transition: filter .2s, transform .2s;
}
.btn:hover { filter: brightness(.95); }
.btn-yellow { background: var(--yellow); color: var(--navy-dark); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-white { background: var(--white); color: var(--navy); min-height: 42px; padding: 8px 40px; font-size: 14px; }

/* ---------- Home hero ---------- */
.hero { position: relative; min-height: min(672px, 85vh); overflow: hidden; background: #000; display: flex; align-items: center; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(6px); transform: scale(1.06); opacity: .9; }
.hero .wrap { position: relative; color: var(--white); padding-block: 80px 120px; }
.hero h1 { font-size: clamp(64px, 12vw, 120px); }
.hero .lead { font-size: clamp(26px, 4vw, 40px); line-height: 1.25; max-width: 13em; margin: 12px 0 24px; }
.hero .btn { position: absolute; right: var(--gutter); bottom: 0; }
.social { display: flex; gap: 20px; }
.social a { display: block; width: 25px; height: 25px; color: var(--white); }
.social svg { width: 100%; height: 100%; }

/* ---------- Bands ---------- */
.band { background: var(--navy); color: var(--white); padding: 64px 0; text-align: center; }
.band .small { font-size: clamp(22px, 3vw, 30px); margin-bottom: 12px; }
.band .big { font-size: clamp(28px, 4vw, 37px); margin-bottom: 28px; }

.events { background: var(--navy); color: var(--white); padding: 64px 0; }
.events .wrap { display: grid; grid-template-columns: 2fr 3fr; gap: 40px; align-items: start; }
.events h2 { font-size: clamp(38px, 5.5vw, 56px); }
.events ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; font-size: 20px; line-height: 1.4; }
.events strong { font-weight: 400; display: block; }
.events a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) { .events .wrap { grid-template-columns: 1fr; } }

/* ---------- Overlap: photo + coloured card ---------- */
.overlap { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); padding: 48px 0 72px; }
.overlap .media { grid-column: 1 / 9; grid-row: 1; }
.overlap .media img, .overlap .media video { width: 100%; height: 100%; object-fit: cover; }
.overlap .card { grid-column: 6 / 13; grid-row: 1; margin-top: 180px; padding: clamp(28px, 5vw, 48px) clamp(24px, 9vw, 98px) 0; position: relative; display: flex; flex-direction: column; }
.overlap .card .btn { align-self: flex-start; margin: 32px 0 0 calc(-1 * clamp(24px, 9vw, 98px)); }
.overlap.flip .media { grid-column: 5 / 13; }
.overlap.flip .card { grid-column: 1 / 9; }
.card h2 { font-size: clamp(44px, 6.5vw, 65px); }
.card h3 { font-size: clamp(24px, 3vw, 29px); margin: 8px 0 24px; }
.card-yellow { background: var(--yellow); }
.card-blue { background: var(--blue); }
.card-blue .btn { margin-top: 32px; }
@media (max-width: 860px) {
  .overlap { display: block; padding: 0; }
  .overlap .card { margin-top: -40px; margin-inline: var(--gutter); padding-bottom: 0; }
  .overlap .card .btn { margin-left: calc(-1 * clamp(24px, 9vw, 98px)); }
}

/* ---------- Page titles ---------- */
.page-title { text-align: center; padding: 64px 0 56px; }
.page-title h1 { font-size: clamp(52px, 8vw, 75px); }

/* ---------- Training page ---------- */
.times { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); }
.times .card { grid-column: 1 / 8; grid-row: 1; background: var(--blue); padding: 56px clamp(24px, 6vw, 64px); position: relative; z-index: 1; }
.times .card h2 { font-size: 29px; margin-bottom: 20px; }
.times .card h2 + * { margin-bottom: 40px; }
.times .media { grid-column: 8 / 13; grid-row: 1; margin-top: 60px; align-self: start; position: relative; z-index: 2; }
.times dl { margin: 0 0 40px; display: grid; grid-template-columns: auto 1fr; gap: 4px 20px; }
.times dt { font-weight: 400; }
.times dd { margin: 0; }
.times .prices { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 4px 28px; margin: 0 0 20px; }
@media (max-width: 860px) {
  .times { display: block; }
  .times .media { margin: -24px var(--gutter) 0; }
}

.venue { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); padding: 80px 0; }
.venue .slideshow { grid-column: 5 / 13; grid-row: 1; }
.venue .card { grid-column: 1 / 7; grid-row: 1; margin-top: 360px; background: var(--yellow); padding: 48px clamp(24px, 9vw, 128px) 48px; position: relative; z-index: 2; }
.venue .card h2 { font-size: 29px; margin-bottom: 24px; }
@media (max-width: 860px) {
  .venue { display: block; padding: 0 0 48px; }
  .venue .card { margin: -40px var(--gutter) 0; }
}

.video-band { position: relative; height: clamp(320px, 60vw, 712px); overflow: hidden; background: #111; }
.video-band video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Slideshow ---------- */
.slideshow { position: relative; background: var(--charcoal); aspect-ratio: 691 / 480; overflow: hidden; }
.slideshow figure { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .5s; }
.slideshow figure.active { opacity: 1; }
.slideshow img { width: 100%; height: 100%; object-fit: contain; }
.slideshow button {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 72px; border: 0; background: transparent; color: var(--white);
  cursor: pointer; display: grid; place-items: center;
}
.slideshow button svg { width: 22px; height: 40px; filter: drop-shadow(0 1px 3px rgba(0,0,0,.6)); }
.slideshow .prev { left: 4px; }
.slideshow .next { right: 4px; }
.slideshow .count { position: absolute; right: 14px; bottom: 10px; color: var(--white); font-size: 14px; text-shadow: 0 1px 3px rgba(0,0,0,.7); }

/* ---------- Schule page ---------- */
.history { display: grid; grid-template-columns: repeat(12, 1fr); padding-bottom: 80px; }
.history .card { grid-column: 1 / 10; grid-row: 1; background: var(--blue); padding: 56px clamp(24px, 6vw, 72px) 64px; }
.history .card h2 { font-size: 29px; margin-bottom: 24px; }
.history .portrait { grid-column: 9 / 12; grid-row: 1; align-self: end; margin-bottom: -40px; position: relative; }
.history .portrait img { width: 100%; box-shadow: 0 10px 30px rgba(0,0,0,.15); }
.history .portrait figcaption { font-size: 14px; margin-top: 8px; }
@media (max-width: 860px) {
  .history { display: block; }
  .history .portrait { width: min(240px, 60%); margin: -24px auto 0; }
}

.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 64px 0; }
.pillars .number { display: flex; align-items: center; gap: 24px; }
.pillars .number b { font-weight: 400; font-size: clamp(140px, 20vw, 220px); line-height: .8; }
.pillars .number h2 { font-size: clamp(28px, 3.5vw, 40px); max-width: 7em; }
.pillars ul { list-style: none; margin: 0; padding: 48px clamp(24px, 6vw, 72px); background: var(--yellow); font-size: 22px; display: grid; gap: 18px; border: 2px solid var(--navy); }
@media (max-width: 720px) { .pillars { grid-template-columns: 1fr; } }

.federation { background: var(--grey); padding: 72px 0; }
.federation .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; }
.federation h2 { font-size: 29px; margin-bottom: 24px; }
.federation .btn { margin-top: 24px; }
@media (max-width: 860px) { .federation .wrap { grid-template-columns: 1fr; } }

/* ---------- Contact + footer ---------- */
.contact { display: grid; grid-template-columns: 2fr 3fr; margin-top: 80px; }
.contact .info { background: var(--blue-light); padding: 64px var(--gutter) 64px max(var(--gutter), (100vw - var(--wrap)) / 2); }
.contact .info h2 { font-size: clamp(52px, 6.5vw, 65px); margin-bottom: 24px; }
.contact .info strong { font-weight: 400; display: block; font-family: Arial, sans-serif; font-size: 16px; line-height: 1.7; margin-bottom: 20px; }
.contact form { background: var(--grey); padding: 64px max(var(--gutter), (100vw - var(--wrap)) / 2) 64px var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; align-content: start; }
.contact label { display: block; font-size: 14px; }
.contact .full { grid-column: 1 / -1; }
.contact input, .contact textarea {
  display: block; width: 100%; margin-top: 4px; padding: 8px 0;
  font: 300 17px var(--font); color: var(--navy);
  background: transparent; border: 0; border-bottom: 2px solid var(--navy); border-radius: 0;
}
.contact textarea { min-height: 110px; resize: vertical; }
.contact input:focus, .contact textarea:focus { outline: none; border-bottom-color: #89aeb3; }
.contact button { grid-column: 1 / -1; justify-self: center; background: none; border: 0; font: 400 24px var(--font); color: var(--navy-dark); cursor: pointer; padding: 8px 32px; }
.contact button:hover { text-decoration: underline; }
.contact .note { grid-column: 1 / -1; text-align: center; font-size: 15px; margin: -12px 0 0; }
@media (max-width: 720px) {
  .contact { grid-template-columns: 1fr; }
  .contact form { grid-template-columns: 1fr; padding-inline: var(--gutter); }
}

.site-footer { background: var(--yellow); text-align: center; padding: 22px var(--gutter); font-size: 15px; font-weight: 400; }

/* ---------- Reveal on scroll (decorative) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}
