:root {
  --accent: #00AEEF;
  --dark: #2B2B2B;
  --muted: #F8FAFC;
  --text: #222;
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
}

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

body {
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

/* ===== HEADER ===== */
header.site-header {
  background: #fff;
  border-bottom: 1px solid #eaeaea;
  padding: 20px 24px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;  /* titel centreren */
  position: relative;
}

/* Logo linksboven */
.logo {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.logo img {
  height: 95px;
  width: auto;
  transition: transform 0.3s;
}

.logo img:hover {
  transform: scale(1.05);
}

/* Bedrijfsnaam in het midden */
.site-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  text-align: center;
  margin: 0;
  text-decoration: none;  /* geen onderlijning */
}

/* ===== ADMIN MENU ===== */

.admin-menu {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.admin-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}

.admin-btn:hover {
  background: #008ccc;
  transform: scale(1.05);
}

.admin-dropdown {
  position: absolute;
  right: 0;
  top: 100%;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  min-width: 140px;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.admin-dropdown a {
  padding: 10px 14px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
}

.admin-dropdown a:hover {
  background: var(--muted);
}

/* Toon dropdown bij hover */
.admin-menu:hover .admin-dropdown {
  display: flex;
}

/* ===== NAVIGATIE ===== */
nav.top-nav {
  background:#00AEEF ;
  padding: 12px 0;
  text-align: center;
}

nav.top-nav ul {
  list-style: none;
  display: inline-flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

nav.top-nav li {
  display: inline-block;
  margin-right: 20px;
}
nav.top-nav li:last-child {
  margin-right: 0;
}

nav.top-nav a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.3s, color 0.3s;
}

nav.top-nav a:hover,
nav.top-nav a.active {
  background: var(--accent);
  color: #fff;
}

/* ===== PAGINA-INHOUD ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

main.content {
  flex: 1;
  margin-top: 20px;
}

h1, h2 {
  color: var(--dark);
}

h1 {
  display: inline-block;
  padding-bottom: 6px;
  margin-bottom: 20px;
}

/* ===== WONINGEN (HOME) ===== */
.property-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 320px));
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
}
.property {
  width: 320px;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.property:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

/* Thumbnails vaste afmetingen */
.property img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 10px;
}

.property h3 {
  color: var(--accent);
  margin-bottom: 8px;
}


/* Knoppen */
.btn,
button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s;
}

.btn:hover,
button:hover {
  background: #008ccc;
}

/* ===== FORMULIEREN (CONTACT / VRAGEN) ===== */
form.question-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 400px;
  margin-top: 16px;
}

input,
textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
}

/* ===== DETAILPAGINA (PROPERTY.PHP) ===== */
.property-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  align-items: flex-start;
}

/* Generic thumb used for images and video containers */
.property-gallery .thumb {
  width: 150px;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f2f2f2;
  overflow: hidden;
  border: 1px solid #e6e6e6;
}

/* Image-type thumb */
.property-gallery .thumb[data-type="image"] {
  padding: 0;
}
.property-gallery .thumb[data-type="image"] {
  width: 150px;
  height: 100px;
}
.property-gallery .thumb[data-type="image"] {
  display: inline-block;
}
.property-gallery .thumb[data-type="image"]:hover {
  transform: scale(1.03);
}

/* Video thumbnail styling */
.video-thumb {
  background: #000;
  color: #fff;
  position: relative;
}

/* Inline SVG play icon */
.play-svg {
  width: 48px;
  height: 48px;
  opacity: 0.95;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
  transform: translateZ(0);
}

/* Hover effect for thumbs */
.property-gallery .thumb:hover {
  transform: scale(1.05);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px;
  gap: 20px;
}

.lightbox-inner {
  max-width: 90%;
  max-height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 6px;
  margin-bottom: 0;
}

/* container where video element is injected */
.lightbox-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.lightbox .close {
  position: absolute;
  top: 16px;
  right: 28px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  background: transparent;
  border: none;
  line-height: 1;
}

.lightbox-controls {
  display: flex;
  gap: 12px;
  align-items: center;
}

.lightbox-controls .nav-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
}

/* Ensure video inside lightbox scales nicely */
.lightbox-media video {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 6px;
}

/* ===== RESPONSIVE ===== */
@media(max-width: 720px) {
  .header-inner {
    flex-direction: column;
    gap: 8px;
  }

  .logo {
    position: static;
    transform: none;
    margin-bottom: 8px;
  }

  .site-title {
    font-size: 1.4rem;
  }

  nav.top-nav ul {
    flex-direction: column;
    gap: 8px;
  }

  .property-list {
    grid-template-columns: 1fr;
  }

  .property-gallery .thumb {
    width: 100px;
    height: 70px;
  }
}

/* ====== Interesse mail ====== */
.interest {
  margin-top: 40px;
  padding-top: 20px;
}

.interest h2 {
  color: var(--accent);
  margin-bottom: 12px;
}

form.interest-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 500px;
  margin-top: 16px;
}

form.interest-form input,
form.interest-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
}

form.interest-form button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
}

form.interest-form button:hover {
  background: #008ccc;
}

.site-footer {
    background:#00AEEF;       /* donkere achtergrond */
    color: #fff;                /* witte tekst */
    text-align: center;         /* centrum tekst horizontaal */
    padding: 12px 20px;         /* binnenruimte */
    font-size: 0.9rem;          
    position: relative;         /* zorg dat het geen overlap veroorzaakt */
}

.site-footer a {
    color: var(--accent);
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}
