/* =====================
   Basis
===================== */

body {
  padding-top: 5px;
  font-family: "Inter", sans-serif;
  line-height: 1.5;
}

h1, h2, h3 {
  font-family: "Montserrat", sans-serif;
}

/* =====================
   Links – centraal geregeld
===================== */

/* Standaard links (content, kolommen, footer) */
.content a,
.column a,
.footer a,
a:visited {
  text-decoration: none; !important
  color: #0066cc;
  transition: color 0.2s ease;
}

.content a:hover,
.column a:hover {
  color: #003366;
}

/* Navigatie-links */
nav a,
nav a:visited {
  color: #ffffff;
}

nav a:hover {
  color: #ff0000;
}


/* =====================
   Layout
===================== */

.page {
  max-width: 1500px;
  margin: 0 auto;
}

/* =====================
   Navigatie
===================== */

nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0 20px;
  background: rgba(51, 51, 51, 0.1);
  backdrop-filter: blur(3px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

nav.scrolled {
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
}

nav li {
  margin-right: 20px;
}

nav a {
  display: block;
  padding: 15px 0;
  color: #fff;
}

nav a:hover {
  color: #ff0000;
}

/* =====================
   Header
===================== */

header.hero {
  margin-top: -60px;
  padding-top: 120px;

  height: 250px;
  background: url("img/top.jpg") center / cover no-repeat;
  color: #fff;
  text-align: center;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  position: relative;
}

header.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
}

header.hero h1,
header.hero p {
  position: relative;
  z-index: 1;
}

header.hero h1 {
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 700;
  margin: 0.1em 0 0.6em;
}

header.hero p {
  font-size: clamp(2.1rem, 3.5vw, 2.4rem);
  font-weight: 500;
}

header.hero a {
  color: #fff;
}

header.hero a:hover {
  color: #ff0000;
}

/* =====================
   Content
===================== */

.content {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.content h2,
.content h3 {
  font-weight: 600;
}

/* =====================
   Tegels
===================== */

.tiles {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 30px 20px;
}

.tile {
  width: 9cm;
  height: 9cm;
  padding: 15px;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: flex-start;
  justify-content: flex-start;

  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);

  position: relative;

  /* ✨ NIEUW */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}


.tile::before {
  content: "";
  position: absolute;
  inset: 0;

  /* ✨ zachtere rand */
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.25),
      rgba(0, 0, 0, 0.05) 40%,
      rgba(0, 0, 0, 0.25)
    );
}
.tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}


.tile > * {
  position: relative;
  z-index: 1;
}

/* Tegel-afbeeldingen */
.tile1 { background-image: url("img/2025winterlicht.jpg"); }
.tile2 { background-image: url("img/2025winterlicht-zaal.jpg"); }
.tile3 { background-image: url("img/pleinfestijn.jpg"); }
.tile4 { background-image: url("img/koor.jpg"); }

/* =====================
   Vier kolommen
===================== */

.columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 40px 20px;
  background: #f5f5f5;
}

.column {
  background: #fff;
  padding: 20px;
  border: 1px solid #ddd;
}

.column h3 {
  margin-top: 0;
}

.column a {
  display: block;
  margin-top: 8px;
}

.column a:hover {
  color: #ff0000;
}



  /* vaste breedte eerste kolom */
  #myTable th:first-child,
  #myTable td:first-child {
    width: 10ch;
    text-align: center;
    font-weight: bold;
  }

  /* hover-effect (past bij w3.css) */
  #myTable tbody tr:hover {
    background-color: #f1f1f1;
  }

  /* links netter */
  #myTable a {
    text-decoration: none;
  }

  #myTable a:hover {
    text-decoration: underline;
  }




/* =====================
   Footer
===================== */

.footer {
  background: #222;
  color: #ccc;
  padding: 25px 20px;
}

.footer-inner {
  max-width: 1500px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-section {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.footer-section i {
  color: #999;
}

.footer-section.social a {
  color: #999;
  margin-left: 12px;
  font-size: 1.1rem;
}

.footer-section.social a:hover {
  color: #fff;
}

/* =====================
   Responsive
===================== */

@media (max-width: 900px) {
  .columns {
    grid-template-columns: repeat(2, 1fr);
  }

  .tiles {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-section {
    justify-content: center;
  }
}

@media (max-width: 500px) {
  .columns {
    grid-template-columns: 1fr;
  }
}


/* =====================
   FORCEER GEEN ONDERSTREPING
===================== */

a,
a:visited,
a:hover,
a:active,
a:focus {
  text-decoration: none !important;
}
