/* Olympia-Gym — stijl gebaseerd op de originele Divi-site */
:root {
  --blue: #0c71c3;
  --blue-dark: #4b5a8e;
  --blue-deep: #0a5a9c;
  --lilac: #8c8eff;
  --lilac-soft: #acade8;
  --white: #ffffff;
  --black: #000000;
  --text: #333333;
  --text-light: #555555;
  --gray: #f5f7fb;
  --shadow: 5px 5px 0 0 #acade8;
  --radius: 6px;
  --max: 1280px;
  --font-head: 'Oswald', Helvetica, Arial, sans-serif;
  --font-body: 'Lato', Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* ========== Top bar ========== */
.topbar {
  background: #2c2c2c;
  color: var(--white);
  font-size: 0.9rem;
  padding: 0.45rem 0;
}

.topbar .container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topbar a {
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.topbar a:hover { color: #9ad0ff; }

/* ========== Header / nav ========== */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 72px;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav > li { position: relative; }

.nav > li > a {
  display: block;
  padding: 0.75rem 1rem;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  color: #2a2a2a;
  transition: color 0.2s;
}

.nav > li > a:hover,
.nav > li:hover > a { color: var(--blue); }

.nav .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-radius: 4px;
  padding: 0.4rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: 0.2s;
  z-index: 50;
}

.nav > li:hover .submenu,
.nav > li:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav .submenu a {
  display: block;
  padding: 0.65rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #333;
  text-transform: none;
  letter-spacing: 0;
}

.nav .submenu a:hover {
  background: #f0f6fc;
  color: var(--blue);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.4rem;
  color: #222;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: clamp(320px, 55vw, 560px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: #1a1a2e center / cover no-repeat;
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.15) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  padding: 4rem 0;
  text-align: right;
}

.hero h1 {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 5.5vw, 5rem);
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
  transform: scaleX(1.05);
  transform-origin: right center;
}

/* ========== About ========== */
.section-about {
  background: linear-gradient(180deg, #4b5a8e 0%, #0c71c3 52%, #0c71c3 100%);
  color: var(--white);
  padding: 4rem 0 3.5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.about-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 0.5rem;
  border: 3px solid rgba(255,255,255,0.35);
}

.about-grid h2 {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
}

.about-grid h6 {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.08em;
  opacity: 0.95;
  margin-bottom: 0.75rem;
}

.about-text {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 1.5rem;
}

.about-text p { margin-bottom: 0.85rem; }

.about-meta {
  font-size: 0.92rem;
  opacity: 0.92;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.9rem;
  padding: 1rem 1.5rem;
  border-radius: 100px;
  border: 2px solid var(--black);
  background: var(--white);
  color: var(--black);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 0 var(--lilac-soft);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.hours-image-wrap {
  margin-top: 2rem;
  max-width: 520px;
  margin-inline: auto;
}

.hours-image-wrap img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

.hours-table-wrap {
  margin-top: 2rem;
  max-width: 520px;
  margin-inline: auto;
  background: #0a0a0a;
  border-radius: 16px;
  padding: 1.5rem 1.35rem 1.25rem;
  border: 2px solid rgba(255,255,255,0.85);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

.hours-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.45rem;
  color: var(--white);
}

.hours-table th {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.35rem;
  padding-bottom: 0.65rem;
  text-align: center;
}

.hours-table td {
  padding: 0.55rem 0.85rem;
  font-size: 0.95rem;
  border: 1.5px solid rgba(255,255,255,0.9);
}

.hours-table td:first-child {
  border-radius: 999px 0 0 999px;
  border-right: none;
  font-weight: 700;
  width: 34%;
}

.hours-table td:last-child {
  border-radius: 0 999px 999px 0;
  border-left: none;
  text-align: center;
  font-weight: 600;
}

.hours-note {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  opacity: 0.85;
  text-align: center;
}

/* ========== Services cards ========== */
.section-services {
  background: var(--blue);
  padding: 3rem 0 4rem;
}

.service-cards {
  display: grid;
  gap: 1.75rem;
  max-width: 1280px;
  margin: 0 auto;
}

.service-card {
  display: block;
  position: relative;
  min-height: 220px;
  border-radius: 4px;
  overflow: hidden;
  background: #0a3d6b center / cover no-repeat;
  color: var(--white);
  padding: 10% 60px 40px;
  transition: transform 0.25s;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(255,255,255,0) 100%);
  transition: background 0.35s;
}

.service-card:hover::before {
  background: linear-gradient(90deg, #8c8eff 0%, rgba(255,255,255,0) 100%);
}

.service-card-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  min-height: 120px;
}

.service-card h2 {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  line-height: 1.15;
}

.service-card .arrow {
  font-size: 2.5rem;
  line-height: 1;
  opacity: 0.9;
}

/* ========== Prices ========== */
.section-prices {
  background: var(--gray);
  padding: 4rem 0;
}

.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 2rem;
  color: #1a1a2e;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem;
  max-width: 960px;
  margin: 0 auto 2.5rem;
}

.price-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(12, 113, 195, 0.08);
  border: 1px solid rgba(12, 113, 195, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(12, 113, 195, 0.15);
}

.price-card .label {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--blue-dark);
  margin-bottom: 0.5rem;
}

.price-card .amount {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2rem;
  color: var(--blue);
  line-height: 1.2;
}

.price-card .amount span {
  font-size: 1.1rem;
  vertical-align: super;
  margin-right: 2px;
}

.price-notes {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.75;
}

.price-notes p { margin-bottom: 0.6rem; }
.price-notes strong { color: #1a1a2e; }
.price-notes em { font-style: italic; }

/* ========== Photo gallery ========== */
.section-photos {
  padding: 4rem 0;
  background: var(--white);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.85rem;
}

.photo-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: #e8eef5;
  cursor: pointer;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.photo-item:hover img { transform: scale(1.06); }

.photo-empty {
  text-align: center;
  color: var(--text-light);
  padding: 3rem;
  grid-column: 1 / -1;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: min(96vw, 1100px);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
}

.lightbox-nav:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* ========== Contact ========== */
.section-contact {
  background: linear-gradient(180deg, #4b5a8e 0%, #0c71c3 100%);
  color: var(--white);
  padding: 4rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}

.contact-info h2,
.contact-form-wrap h2 {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}

.contact-info p { margin-bottom: 0.5rem; line-height: 1.6; }
.contact-info a { text-decoration: underline; text-underline-offset: 3px; }
.contact-info a:hover { opacity: 0.85; }

.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #222;
}

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

.form-group input:focus,
.form-group textarea:focus {
  outline: 3px solid var(--lilac);
}

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

.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.alert {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-weight: 600;
}

.alert-success { background: #d4edda; color: #155724; }
.alert-error { background: #f8d7da; color: #721c24; }

/* ========== Service page ========== */
.page-hero {
  background: linear-gradient(135deg, #4b5a8e, #0c71c3);
  color: var(--white);
  padding: 3.5rem 0 2.5rem;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.page-hero p {
  margin-top: 0.5rem;
  opacity: 0.95;
  font-size: 1.1rem;
}

.page-content {
  padding: 3rem 0 4rem;
  max-width: 760px;
  margin: 0 auto;
}

.page-content p {
  margin-bottom: 1rem;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text);
}

.page-content .content-h {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.35rem;
  color: var(--blue);
  margin: 2rem 0 0.85rem;
  letter-spacing: 0.03em;
}

.page-content .content-h:first-child { margin-top: 0; }

.page-content .content-list {
  margin: 0 0 1.25rem 1.25rem;
  padding: 0;
  list-style: disc;
}

.page-content .content-list li {
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
}

.page-content .back {
  margin-top: 2rem;
}

/* ========== Footer ========== */
.site-footer {
  background: #1a1a2e;
  color: rgba(255,255,255,0.75);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
}

.site-footer strong { color: var(--white); }
.site-footer a { color: #9ad0ff; }
.site-footer a:hover { text-decoration: underline; }

/* ========== Responsive ========== */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .service-card { padding: 10% 30px 30px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
    padding: 0.5rem 0 1rem;
  }

  .nav.open { display: flex; }

  .nav > li > a { padding: 0.9rem 1.25rem; }

  .nav .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    min-width: 0;
    padding: 0 0 0.5rem 1rem;
    display: none;
  }

  .nav > li.open .submenu,
  .nav > li:hover .submenu { display: block; }

  .site-header { position: relative; }
  .site-header .container { position: relative; }

  .hero-inner { text-align: center; }
  .hero h1 { transform: none; }

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

  .service-card-inner { flex-direction: column; align-items: flex-start; }
  .service-card .arrow { align-self: flex-end; }
}

@media (max-width: 480px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
}
