/* ==========================================================================
   Maasmondphoto - Volledige Externe Stylesheet (style.css)
   Geschikt voor zowel index.html als alle vervolgpagina's (uitgelicht/...)
   ========================================================================== */

:root {
  --primary: #0f2942;
  --accent: #0284c7;
  --bg-body: #f0f9ff;
  --bg-card: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border: #dbeafe;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.55;
  top: 0 !important;
}

/* Alleen zichtbaar voor schermlezers (SEO & toegankelijkheid) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ==========================================================================
   Header Banner
   ========================================================================== */
.hero-banner {
  width: 100%;
  height: 440px;
  background-color: var(--primary);
  background-image: url('header-vleugel.jpg');
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Hoofdcontainer & Sectiekop (Hoofdpagina)
   ========================================================================== */
main {
  max-width: 1380px;
  margin: 2.5rem auto;
  padding: 0 2rem;
}

.section-header {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.75rem;
}

.section-header h2 {
  font-size: 1.35rem;
  color: var(--primary);
  text-transform: uppercase;
}

.update-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
}

.update-info span {
  flex: 1;
  min-width: 200px;
}

.update-info span:nth-child(1) {
  text-align: left;
}

.update-info span:nth-child(2) {
  text-align: center;
}

.update-info span:nth-child(3) {
  text-align: right;
}

/* ==========================================================================
   Scheepskaart (3-koloms: Foto 44% | Tekst 26% | Gegevens 30%)
   ========================================================================== */
.ship-card {
  background: var(--bg-card);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 41, 66, 0.06);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 44% 26% 30%;
  padding: 1rem;
  gap: 1.5rem;
  align-items: stretch;
}

/* Linkerkolom: Foto('s) en labels */
.ship-image-wrapper {
  position: relative;
  min-height: 290px;
  border-radius: 10px;
  overflow: hidden;
  background-color: #1e4976;
}

.ship-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Twee foto's naast elkaar voor één scheepsspot */
.ship-dual-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.ship-dual-photos .ship-image-wrapper {
  min-height: 270px;
}

.ship-date {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 41, 66, 0.9);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
}

.badge-spot {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
}

/* Middelste kolom: Titel, locatie, beschrijving en links */
.ship-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.5rem 0;
}

.ship-title {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.ship-location {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.9rem;
  display: block;
}

.ship-desc {
  font-size: 0.92rem;
  color: var(--text-main);
  margin-bottom: 12px;
}

.ship-desc:last-of-type {
  margin-bottom: 0;
}

.ship-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 1rem;
}

.ship-more-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
}

.ship-links .ship-more-link {
  margin-top: 0;
}

.ship-more-link:hover {
  text-decoration: underline;
  color: var(--primary);
}

/* Rechterkolom: Gegevens in 3 overzichtelijke rijen */
.ship-specs-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #f8fbff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.1rem;
}

.specs-table {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.spec-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  border-bottom: 1px solid #e0f2fe;
  padding-bottom: 0.6rem;
}

.spec-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem;
  border-bottom: 1px solid #e0f2fe;
  padding-bottom: 0.6rem;
}

.spec-grid-3:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-label {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

.spec-value {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.88rem;
}

/* Horizontale afscheiding tussen twee schepen */
.horizontale-streep {
  border: none;
  border-top: 2px solid #cbd5e1;
  margin: 2rem 0;
}

/* ==========================================================================
   Vervolgpagina / Detailpagina (bijv. protunus1.html)
   ========================================================================== */
.back-nav {
  margin-bottom: 1.5rem;
}

.back-nav-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  background-color: var(--bg-card);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 6px rgba(15, 41, 66, 0.04);
}

.back-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.detail-card {
  background: var(--bg-card);
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(15, 41, 66, 0.06);
  border: 1px solid var(--border);
}

.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.detail-title {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.detail-meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.detail-date-badge {
  background: var(--primary);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: 62% 35%;
  gap: 3%;
  align-items: start;
  margin-bottom: 2rem;
}

.detail-text p {
  font-size: 0.98rem;
  color: var(--text-main);
  margin-bottom: 1rem;
}

/* Fotogalerij op de vervolgpagina */
.detail-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background-color: #f8fbff;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-caption {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   Footer & Google Translate
   ========================================================================== */
footer {
  background-color: var(--primary);
  color: #94a3b8;
  text-align: center;
  padding: 2rem 1.5rem;
  margin-top: 4rem;
  font-size: 0.9rem;
}

#google_translate_element,
.skiptranslate iframe {
  display: none !important;
}

/* ==========================================================================
   Responsive weergave (Tablets en Mobiel)
   ========================================================================== */
@media (max-width: 1050px) {
  .ship-card {
    grid-template-columns: 1fr;
  }

  .ship-image-wrapper {
    min-height: 320px;
  }

  .detail-content-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .detail-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .hero-banner {
    height: 260px;
  }

  main {
    padding: 0 1rem;
    margin: 1.5rem auto;
  }

  .update-info span:nth-child(1),
  .update-info span:nth-child(2),
  .update-info span:nth-child(3) {
    text-align: left;
  }

  .ship-dual-photos {
    grid-template-columns: 1fr;
  }

  .detail-card {
    padding: 1.25rem;
  }
}
.hero-banner {
  position: relative;
}

.hero-nav {
  position: absolute;
  bottom: 16px;
  right: 24px;
}

.hero-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: rgba(15, 41, 66, 0.55);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.hero-home-btn:hover {
  background-color: rgba(15, 41, 66, 0.9);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}
.foto-blok {
  max-width: 800px; /* Pas dit aan naar de breedte van je pagina */
  margin: 20px auto; /* Centreert het blok op de pagina */
  text-align: center;
}

.foto-blok img {
  width: 100%;
  height: auto; /* Behoudt de juiste verhoudingen */
  display: block;
  border-radius: 4px;
}

.foto-bijschrift {
  font-size: 0.9em;
  color: #555;
  margin-top: 8px;
}
