/* === Alveros Group — Premium Vastgoed & Vakantiewoningen === */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&family=Cormorant+Garamond:wght@400;500;600;700&display=swap');

:root {
  --primary: #1E3048;
  --primary-dark: #131F30;
  --primary-light: #E8EDF2;
  --accent: #C49A3C;
  --accent-hover: #A8832E;
  --accent-light: #F3EBDA;
  --light-bg: #FAF8F4;
  --white: #FFFFFF;
  --dark: #2A2A2A;
  --dark-soft: #4D4D4D;
  --gray: #7A7A7A;
  --gray-light: #DDD9D2;
  --gray-lighter: #EEEAE4;
  --taupe: #B8AFA3;
  --success: #10B981;
  --danger: #EF4444;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow: 0 4px 20px rgba(30,48,72,0.08);
  --shadow-lg: 0 8px 30px rgba(30,48,72,0.12);
  --shadow-xl: 0 12px 40px rgba(30,48,72,0.16);
  --shadow-card: 0 2px 16px rgba(30,48,72,0.06);
  --shadow-card-hover: 0 8px 30px rgba(30,48,72,0.12);
  --transition: 0.25s ease;
  --transition-slow: 0.4s ease;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
}

/* === SMOOTH SCROLL & BASE ANIMATIONS === */
html {
  scroll-behavior: smooth;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.01); }
}

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

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === HEADER / NAV === */
.header {
  background: var(--white);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  padding: 0 56px;
  gap: 32px;
}
.header:hover .logo-img {
  transform: scale(1.03);
}

/* Transparent header on hero pages */
.header-transparent {
  position: fixed;
  left: 0;
  right: 0;
  background: transparent;
  box-shadow: none;
}
.header-transparent .nav a { color: rgba(255,255,255,0.85); }
.header-transparent .nav a:hover,
.header-transparent .nav a.active { color: #fff; }
.header-transparent .nav a::after { background: var(--accent); }
.header-transparent .nav-toggle { color: #fff; }
.header-transparent .logo-dark { display: none; }
.header-transparent .logo-light { display: block; }

/* Scrolled state */
.header-scrolled {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(30,48,72,0.08);
}
.header-scrolled .nav a { color: var(--dark); }
.header-scrolled .nav a:hover,
.header-scrolled .nav a.active { color: var(--primary); }
.header-scrolled .nav a::after { background: var(--accent); }
.header-scrolled .logo-dark { display: block; }
.header-scrolled .logo-light { display: none; }

/* === LOGO ===
   Tight PNG: 945×331 (aspect ratio ≈ 2.85:1)
   Sized by HEIGHT only — width auto preserves aspect
   No !important — clean cascade overridden in media queries below */
.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  transition: opacity var(--transition);
}
.logo:hover { opacity: 0.92; }
.logo-img {
  height: 64px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.logo-dark { display: block; }
.logo-light { display: none; }
/* Light logo on dark/transparent header gets subtle glow for contrast */
.header-transparent .logo-light {
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.35));
}
.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 10px 26px !important;
  border-radius: 6px;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--accent-hover);
  color: var(--white) !important;
  transform: translateY(-1px);
}
.nav-cta::after {
  display: none !important;
}
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav a {
  color: var(--dark);
  font-weight: 400;
  font-size: 0.93rem;
  transition: color var(--transition);
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  transition: width var(--transition);
}
.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}
.nav a:hover,
.nav a.active {
  color: var(--primary);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--primary);
  padding: 10px 14px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  line-height: 1;
}
.nav-toggle:hover {
  color: var(--accent);
}
.nav-toggle-icon { font-size: 1.6rem; line-height: 1; color: var(--accent); }
.nav-toggle-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
}
/* Op hero-pagina's (transparante header) gebruiken we wit/goud contrast */
.header-transparent .nav-toggle,
.header-transparent .nav-toggle-label { color: #fff; }
.header-transparent .nav-toggle-icon { color: var(--accent); }

/* === TABLET (≤1024px) === */
@media (max-width: 1024px) {
  .header .container { min-height: 88px; padding: 0 36px; }
  .logo-img { height: 56px; }
  .nav { gap: 18px; }
  .nav a { font-size: 0.88rem; }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    flex-direction: column;
    padding: 20px;
    border-bottom: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    gap: 2px;
  }
  .nav.open {
    display: flex;
    animation: fadeInUp 0.2s ease;
  }
  .nav a {
    padding: 12px 16px;
    border-radius: var(--radius);
    width: 100%;
    color: rgba(255,255,255,0.85) !important;
    font-size: 0.95rem;
  }
  .nav a:hover,
  .nav a.active {
    background: rgba(255,255,255,0.08);
    color: #fff !important;
  }
  .nav a::after {
    display: none;
  }
  .nav-cta {
    margin-top: 8px;
    text-align: center;
  }
}

/* === HERO ===
   Hero background zit in een apart .hero__bg laag.
   Zoom-animatie gebruikt transform: scale() — GPU-accelerated (butter-smooth).
   Voorheen werd background-size geanimeerd wat repaints forceerde = jank. */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  isolation: isolate; /* nieuwe stacking context — voorkomt z-index bugs */
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('/img/villa-infinity-pool-zonsondergang-900.webp');
  background-size: cover;
  background-position: center 35%;
  will-change: transform;
  transform-origin: center center;
  animation: heroZoom 20s ease-out forwards;
  z-index: 0;
}
/* Fallback voor heel oude browsers zonder WebP support — zelden nodig maar veilig */
@supports not (background-image: url('x.webp')) {
  .hero__bg { background-image: url('/img/villa-infinity-pool-zonsondergang.jpg'); }
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.10); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__bg { animation: none; }
}
/* Warme overlay — zwart, niet navy */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.6) 0%,
    rgba(0,0,0,0.32) 42%,
    rgba(0,0,0,0.08) 72%,
    transparent 100%
  );
  z-index: 1;
}
/* Fade naar wit onderin */
.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 220px;
  background: linear-gradient(to top, var(--white) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  padding: 0 24px 180px;
}

/* Stagger fade-in */
@keyframes heroFadeUp {
  from { transform: translateY(24px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.hero-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  white-space: nowrap;                   /* altijd op één regel */
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
  opacity: 0;
  animation: heroFadeUp 0.9s ease forwards 0.3s;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: 4.2rem;
  font-weight: 400;
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  max-width: 520px;
  opacity: 0;
  animation: heroFadeUp 0.9s ease forwards 0.6s;
}
.hero p {
  font-size: 1.05rem;
  max-width: 460px;
  margin: 0 0 40px;
  opacity: 0;
  line-height: 1.85;
  font-weight: 300;
  animation: heroFadeUp 0.8s ease forwards 0.9s;
}
.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroFadeUp 0.8s ease forwards 1.2s;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  animation: scrollBounce 2.5s ease infinite 2s;
  opacity: 0.5;
}
.hero-scroll svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.5;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50% { transform: translateX(-50%) translateY(10px); opacity: 0.3; }
}

/* === MOBILE HERO & HEADER (≤768px) === */
@media (max-width: 768px) {
  /* Header: identical logic to desktop — transparent, fixed, over hero */
  /* Mobiel: header wordt een echte banner bovenaan met merkkleur (navy)
     als achtergrond. Scrollt mee met de pagina (niet sticky/fixed) zodat
     het logo uit beeld verdwijnt als je naar beneden gaat. */
  .header,
  .header-transparent {
    position: relative;
    top: auto;
    background: var(--primary);
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  }
  /* Op de navy banner altijd de lichte logo-variant tonen */
  .header .logo-dark,
  .header-transparent .logo-dark { display: none; }
  .header .logo-light,
  .header-transparent .logo-light { display: block; }
  /* MENU-label wit, hamburger-icoon goud — contrast tegen navy */
  .header .nav-toggle-label,
  .header-transparent .nav-toggle-label { color: #fff; }
  .header .nav-toggle-icon,
  .header-transparent .nav-toggle-icon { color: var(--accent); }
  .header-transparent .logo-dark { display: none; }
  .header-transparent .logo-light { display: block; }
  .header-transparent .nav-toggle { color: #fff; }

  /* Logo: prominent op mobiel (was te klein) */
  .logo-img { height: 48px; }
  /* Rechts minder padding zodat globe + MENU dichter tegen de rand zitten */
  .header .container { min-height: 72px; padding: 0 8px 0 20px; gap: 8px; }

  /* Hero: identical to desktop — 100vh, same overlay, same composition */
  .hero {
    min-height: 100vh;
  }
  .hero__bg {
    background-position: 35% 40%;
    animation: none; /* geen zoom op mobiel — rustiger en zuiniger met batterij */
    background-image: url('/img/villa-infinity-pool-zonsondergang-900.webp');
  }
  .hero .container {
    padding: 0 20px 140px;
  }
  .hero h1 {
    font-size: 2.6rem;
    max-width: 100%;
    letter-spacing: 0.015em;
  }
  .hero p {
    font-size: 0.95rem;
    max-width: 100%;
  }
  .hero-label {
    font-size: 0.72rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
  }
  /* Same overlay direction as desktop: dark left, light right */
  .hero::after {
    background: linear-gradient(
      to right,
      rgba(0,0,0,0.65) 0%,
      rgba(0,0,0,0.4) 50%,
      rgba(0,0,0,0.15) 100%
    );
  }
  .hero::before { height: 160px; }
  .hero-scroll { bottom: 24px; }
  .hero-buttons {
    gap: 14px;
  }
  .hero-buttons .btn-accent,
  .hero-buttons .btn-outline-light {
    padding: 16px 32px;
    font-size: 0.88rem;
  }

  /* Nav dropdown: top matches header min-height */
  .nav {
    top: 80px;
  }
}

/* === SMALL MOBILE (≤430px) === */
@media (max-width: 430px) {
  .logo-img { height: 42px; }
  .header .container { min-height: 64px; padding: 0 6px 0 14px; gap: 4px; }
  /* Op hele kleine schermen: MENU-tekst verbergen, alleen ☰ icoon tonen */
  .nav-toggle-label { display: none; }
  .nav-toggle { padding: 8px 10px; }
  /* Taalknop iets compacter */
  .lang-switcher-mobile .lang-current { padding: 6px 10px; font-size: 0.8rem; }
  .lang-switcher-mobile .lang-current svg { width: 16px; height: 16px; }
  /* Zoekicoon kleiner */
  .header-search-toggle { padding: 6px; }
  .header-search-toggle svg { width: 20px; height: 20px; }
  .hero__bg { background-position: 30% 42%; }
  .hero h1 { font-size: 2.2rem; }
  .hero .container { padding: 0 16px 120px; }
  .hero-label { font-size: 0.62rem; letter-spacing: 1.5px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn-accent,
  .hero-buttons .btn-outline-light {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .nav { top: 150px; }
}

/* === TINY MOBILE (≤390px) === */
@media (max-width: 390px) {
  .logo-img { height: 38px; }
  .header .container { min-height: 60px; padding: 0 16px; }
  .hero__bg { background-position: 28% 42%; }
  .hero h1 { font-size: 2rem; }
  .hero .container { padding: 0 14px 100px; }
  .nav { top: 66px; }
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-align: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  background: var(--primary);
  color: var(--white);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,60,94,0.25);
  color: var(--white);
}
.btn:active {
  transform: translateY(0);
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
}
.btn-accent {
  background: var(--accent);
  color: var(--white);
}
.btn-accent:hover {
  background: var(--accent-hover);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(201,169,110,0.3);
}
.btn-secondary {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(4px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.25);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}
.btn-lg {
  padding: 16px 40px;
  font-size: 1rem;
}

/* === SECTIONS === */
.section {
  padding: 100px 0;
}
.section-alt {
  background: var(--light-bg);
  position: relative;
}
.section-flow {
  background: var(--light-bg);
  border-radius: 40px 40px 0 0;
  padding-top: 100px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: var(--dark);
}
.section-subtitle {
  font-size: 1.02rem;
  color: var(--gray);
  text-align: center;
  max-width: 580px;
  margin: 0 auto 56px;
  line-height: 1.85;
  font-weight: 400;
}
.section-label {
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--accent);
  text-align: center;
  margin-bottom: 12px;
}
.section-divider {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 16px;
}

/* Overlap sectie */
.section-overlap {
  position: relative;
  z-index: 5;
  margin-top: -100px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.06);
  padding: 64px 56px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 1024px) {
  .section-overlap {
    margin-left: 24px;
    margin-right: 24px;
    padding: 56px 40px;
  }
}
@media (max-width: 768px) {
  .section-overlap {
    margin-top: -60px;
    margin-left: 16px;
    margin-right: 16px;
    padding: 40px 24px;
    border-radius: 16px;
  }
}

/* Editorial strip */
.editorial-strip {
  text-align: center;
  padding: 32px 24px;
  font-family: var(--font-body);
  font-size: 0.76rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--taupe);
  font-weight: 500;
  line-height: 2.2;
}
.editorial-strip span {
  margin: 0 16px;
  opacity: 0.4;
}
@media (max-width: 768px) {
  .editorial-strip {
    font-size: 0.68rem;
    letter-spacing: 2px;
    padding: 24px 20px;
    line-height: 2.4;
  }
  .editorial-strip span {
    margin: 0 8px;
  }
}
@media (max-width: 430px) {
  .editorial-strip span { display: none; }
  .editorial-strip {
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: 2;
  }
}

/* Scroll animation base */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-title { font-size: 1.9rem; }
  .section-subtitle { margin-bottom: 32px; font-size: 0.95rem; }
  .section-flow { border-radius: 24px 24px 0 0; padding-top: 64px; }
  .section-label { font-size: 0.65rem; letter-spacing: 3px; }
}
@media (max-width: 430px) {
  .section { padding: 48px 0; }
  .section-title { font-size: 1.7rem; }
  .container { padding: 0 16px; }
}

/* === PROPERTY CARDS === */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.property-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  text-decoration: none;
  color: inherit;
  display: block;
}
.property-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.property-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform var(--transition-slow);
  display: block;
}
.property-card:hover .property-card-img {
  transform: scale(1.03);
}
/* Image container for overlay effects */
.property-card > a,
.property-card {
  overflow: hidden;
}
.property-card-body {
  padding: 20px;
  position: relative;
}
.property-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  font-weight: 600;
}
.property-card-body .location {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.property-card-body .price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}
.property-card-body .meta {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--gray);
}

/* === RENTAL CARDS (homepage) === */
.rental-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.rental-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
}
.rental-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(30,48,72,0.1);
  color: inherit;
}
.rental-card-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: var(--gray-light);
  transition: transform var(--transition-slow);
  display: block;
}
.rental-card:hover .rental-card-img {
  transform: scale(1.04);
}
.rental-card-body {
  padding: 24px;
}
.rental-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 6px;
  font-weight: 600;
}
.rental-card .location {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.rental-card .meta {
  display: flex;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-lighter);
}
.rental-card .price {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}
.rental-card .rating {
  color: #F59E0B;
  font-size: 0.9rem;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.rental-card .badge-direct {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.country-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.rental-placeholder {
  background: var(--light-bg);
  border: 2px dashed var(--gray-light);
  border-radius: var(--radius);
  padding: 48px 20px;
  text-align: center;
  color: var(--gray);
  transition: border-color var(--transition);
}
.rental-placeholder:hover {
  border-color: var(--primary);
}

/* === REGIO TILES (verkoop) === */
.regio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.regio-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 240px;
  display: block;
  text-decoration: none;
  color: #fff;
  transition: transform var(--transition), box-shadow var(--transition);
}
.regio-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: #fff;
}
.regio-tile-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.regio-tile:hover .regio-tile-bg {
  transform: scale(1.05);
}
.regio-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.65) 100%);
  transition: background var(--transition);
}
.regio-tile:hover .regio-tile-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.7) 100%);
}
.regio-tile-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  transform: translateY(0);
  transition: transform var(--transition);
}
.regio-tile:hover .regio-tile-content {
  transform: translateY(-3px);
}
.regio-tile-content h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 4px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}
.regio-tile-content .count {
  font-size: 0.88rem;
  opacity: 0.9;
  font-weight: 300;
}
.regio-tile-content .arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  transform: translateX(-8px);
  transition: all var(--transition);
}
.regio-tile:hover .regio-tile-content .arrow {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .regio-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .regio-tile { height: 180px; }
  .regio-tile-content .arrow { opacity: 1; transform: translateX(0); }
  .regio-tile-content h3 { font-size: 1.2rem; }
  .regio-tile-content .count { font-size: 0.8rem; }
}
@media (max-width: 430px) {
  .regio-grid { grid-template-columns: 1fr; }
  .regio-tile { height: 200px; }
}

/* === SERVICES GRID === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px 36px 48px;
  box-shadow: none;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gray-lighter);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(30,48,72,0.08);
  border-color: transparent;
}
.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin: 24px 0 10px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.3;
}
.service-card p {
  color: var(--gray);
  font-size: 0.93rem;
  line-height: 1.75;
}
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  background: var(--accent-light);
  color: var(--accent);
  transition: transform var(--transition);
}
.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card:hover .service-icon {
  transform: scale(1.08);
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* === CTA SECTION === */
.cta-section {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  background-image: url('/img/terras-lounge-avond-kust.jpg');
  background-size: cover;
  background-position: center 60%;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(19,31,48,0.75);
  pointer-events: none;
}
.cta-section .container {
  position: relative;
  z-index: 1;
}
.cta-section h2 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  margin-bottom: 16px;
  font-weight: 500;
}
.cta-section p {
  opacity: 0.85;
  margin-bottom: 36px;
  font-size: 1.1rem;
  font-weight: 300;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}
.cta-section .btn {
  background: var(--accent);
  color: var(--white);
  padding: 16px 40px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}
.cta-section .btn:hover {
  background: var(--accent-hover);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(201,169,110,0.3);
}
@media (max-width: 768px) {
  .cta-section { padding: 72px 0; }
  .cta-section h2 { font-size: 1.8rem; }
  .cta-section p { font-size: 0.95rem; }
}
@media (max-width: 430px) {
  .cta-section h2 { font-size: 1.5rem; }
  .cta-section .btn { width: 100%; justify-content: center; }
}

/* === BOOKING FORM === */
.booking-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid var(--gray-light);
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0 14px;
  height: 34px;
  border: 1px solid var(--gray-light);
  border-radius: 17px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
  color: var(--dark);
}
.form-group textarea {
  height: auto;
  padding: 10px 14px;
  border-radius: var(--radius);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,123,195,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray);
  opacity: 0.7;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* === CALENDAR === */
.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  margin: 16px 0;
}
.calendar-day {
  padding: 8px;
  text-align: center;
  border-radius: var(--radius);
  font-size: 0.9rem;
  transition: all var(--transition);
}
.calendar-day.available {
  background: #D1FAE5;
  cursor: pointer;
}
.calendar-day.available:hover {
  background: var(--success);
  color: white;
  transform: scale(1.05);
}
.calendar-day.booked {
  background: #FEE2E2;
  color: var(--gray);
  cursor: not-allowed;
}
.calendar-day.header {
  font-weight: 600;
  background: none;
  color: var(--gray);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* === BLOG === */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.blog-card-body {
  padding: 24px;
}
.blog-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: 600;
  line-height: 1.4;
}
.blog-card-body p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* === CONTACT === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info h3 {
  margin-bottom: 16px;
  font-weight: 700;
}
.contact-info p {
  margin-bottom: 12px;
  color: var(--gray);
  line-height: 1.7;
}
.contact-info a {
  font-weight: 600;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* === FOOTER === */
.footer {
  background: var(--primary-dark);
  color: var(--white);
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(196,154,60,0.25);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 48px 48px;
}

/* Footer logo */
.footer-logo-img {
  height: 84px;
  width: auto;
  margin-bottom: 28px;
  display: block;
  /* Tight PNG: 945×331, geen extra filter nodig — light versie heeft eigen kleur */
}

/* Brand column */
.footer-brand {
  padding-right: 40px;
}
.footer-brand-text {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  line-height: 1.85;
  max-width: 340px;
}

/* Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 56px;
}

/* Column headings */
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 12px;
  position: relative;
  color: var(--white);
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* Column links */
.footer-col a {
  color: rgba(255,255,255,0.6);
  display: block;
  margin-bottom: 10px;
  font-size: 0.9rem;
  transition: color var(--transition), padding-left var(--transition);
  text-decoration: none;
}
.footer-col a:hover {
  color: var(--accent);
  padding-left: 4px;
}

/* Contact specifics */
.footer-contact-name {
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  font-size: 0.93rem;
  margin-bottom: 10px;
  line-height: 1;
}
.footer-contact-link {
  color: rgba(255,255,255,0.65) !important;
}
.footer-contact-link:hover {
  color: var(--accent) !important;
}
.footer-contact-extra {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color var(--transition);
  font-size: 0.82rem;
}
.footer-bottom a:hover {
  color: var(--accent);
}

/* === FOOTER RESPONSIVE === */
@media (max-width: 1024px) {
  .footer-inner { padding: 80px 32px 40px; }
  .footer-grid { gap: 36px; }
  .footer-logo-img { height: 72px; }
}

@media (max-width: 768px) {
  .footer-inner { padding: 64px 24px 32px; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 28px;
  }
  .footer-brand {
    grid-column: 1 / -1;
    padding-right: 0;
    text-align: center;
  }
  .footer-logo-img {
    height: 64px;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-brand-text {
    max-width: 400px;
    margin: 0 auto;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .property-grid { grid-template-columns: 1fr; }
  .rental-grid { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .footer-inner { padding: 56px 16px 28px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-logo-img { height: 90px; }
  .footer-brand { text-align: left; }
  .footer-logo-img { margin-left: 0; }
  .footer-brand-text { margin: 0; }
}

/* === ALERTS === */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius);
  margin-bottom: 18px;
  font-size: 0.95rem;
  border-left: 3px solid transparent;
  animation: fadeIn 0.2s ease-in;
}
.alert-success {
  background: #D1FAE5;
  color: #065F46;
  border-left-color: var(--success);
}
.alert-error {
  background: #FEE2E2;
  color: #991B1B;
  border-left-color: var(--danger);
}

/* === PAGE CONTENT === */
.page-header {
  background: var(--primary);
  color: var(--white);
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(19,31,48,0.7);
  pointer-events: none;
}
.page-header .container {
  position: relative;
  z-index: 1;
}
.page-header h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  margin-bottom: 16px;
  font-weight: 500;
  animation: fadeInUp 0.5s ease both;
}
.page-header p {
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
  line-height: 1.8;
  animation: fadeInUp 0.5s ease 0.1s both;
}
.page-content {
  padding: 56px 0;
}
.page-content h2 {
  font-size: 1.5rem;
  margin: 32px 0 14px;
  font-weight: 700;
  color: var(--dark);
}
.page-content h3 {
  font-size: 1.2rem;
  margin: 20px 0 10px;
  font-weight: 600;
}
.page-content p {
  margin-bottom: 14px;
  color: #575756;
  line-height: 1.8;
}
.page-content ul {
  margin: 0 0 14px 24px;
}
.page-content li {
  margin-bottom: 6px;
  line-height: 1.7;
}

/* === PROPERTY DETAIL === */
.property-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 6px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
}
.property-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--transition);
}
.property-gallery img:hover {
  opacity: 0.93;
}
.property-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}
.property-sidebar {
  position: sticky;
  top: 90px;
}
.facility-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}
.facility-tag {
  background: var(--light-bg);
  padding: 6px 14px;
  border-radius: 17px;
  font-size: 0.85rem;
  color: var(--dark);
  border: 1px solid var(--gray-lighter);
  transition: all var(--transition);
}
.facility-tag:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

@media (max-width: 768px) {
  .property-detail-grid { grid-template-columns: 1fr; }
  .property-gallery { grid-template-columns: 1fr; }
}

/* === PROPERTY DETAIL PAGE STYLES (inline override support) === */
.pd-gallery {
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow);
}
.pd-gallery img {
  transition: opacity var(--transition), transform var(--transition-slow);
}
.pd-gallery img:hover {
  opacity: 0.95;
}

.pd-grid {
  gap: 36px;
}

.pd-content h1 {
  letter-spacing: -0.01em;
}

.pd-content h2 {
  position: relative;
  padding-bottom: 8px;
}
.pd-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.pd-specs {
  background: var(--light-bg);
  padding: 16px 20px;
  border-radius: var(--radius);
  border-bottom: none;
}
.pd-spec {
  font-size: 0.95rem;
}
.pd-spec strong {
  font-size: 1.05rem;
}

.pd-rating .score {
  background: var(--primary);
  border-radius: var(--radius);
  padding: 5px 10px;
  font-size: 0.95rem;
}

.pd-plus-item {
  padding: 6px 0;
}
.pd-plus-item .check {
  color: var(--success);
  font-weight: 700;
  font-size: 1rem;
}

.pd-fac-tag {
  transition: all var(--transition);
}
.pd-fac-tag:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

/* === SIDEBAR BOOKING CARD === */
.pd-book-card {
  background: var(--white);
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.pd-book-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.pd-book-card .price-big {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 6px;
}
.pd-book-card .price-big span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--gray);
}
.pd-book-card .badge-save {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Booking form inputs in sidebar */
.pd-book-card .form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--dark);
}
.pd-book-card .form-group input,
.pd-book-card .form-group select,
.pd-book-card input[type="date"],
.pd-book-card select {
  border: 1px solid var(--gray-light);
  border-radius: 17px;
  padding: 0 12px;
  height: 34px;
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  font-family: inherit;
}
.pd-book-card input:focus,
.pd-book-card select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,123,195,0.1);
}

/* Calendar styling */
.cal-container {
  margin: 16px 0;
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 14px;
}
.cal-header {
  margin-bottom: 10px;
}
.cal-header h4 {
  font-size: 0.95rem;
  font-weight: 600;
}
.cal-header button {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 5px 10px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all var(--transition);
}
.cal-header button:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.cal-day-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cal-day {
  border-radius: var(--radius);
  font-size: 0.85rem;
  transition: all var(--transition);
  font-weight: 500;
}
.cal-day.available:hover {
  transform: scale(1.05);
  box-shadow: 0 1px 6px rgba(0,123,195,0.2);
}
.cal-day.selected {
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
}

/* Price breakdown */
.pd-breakdown {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 14px;
  margin: 16px 0;
}
.pd-breakdown .row {
  padding: 5px 0;
  font-size: 0.9rem;
}
.pd-breakdown .total {
  border-top: 2px solid var(--dark);
  margin-top: 8px;
  padding-top: 8px;
  font-weight: 700;
  font-size: 1rem;
}

/* Booking CTA button */
.pd-book-card .btn-primary {
  width: 100%;
  padding: 0 16px;
  height: 40px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 20px;
  margin-top: 14px;
}

/* === PROPERTY LISTING PAGE STYLES === */
.property-grid .property-card {
  position: relative;
  overflow: hidden;
}
/* Image overflow container */
.property-grid .property-card > img,
.property-grid .property-card .property-card-img {
  overflow: hidden;
}

/* Filter section styling for listing page */
.property-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.property-filters select,
.property-filters input {
  padding: 0 14px;
  height: 34px;
  border: 1px solid var(--gray-light);
  border-radius: 17px;
  font-family: inherit;
  font-size: 0.9rem;
  min-width: 160px;
  transition: border-color var(--transition);
}
.property-filters select:focus,
.property-filters input:focus {
  outline: none;
  border-color: var(--primary);
}

/* Empty state styling */
.property-grid p[style*="text-align: center"] {
  padding: 48px 20px;
  background: var(--light-bg);
  border-radius: var(--radius);
  border: 2px dashed var(--gray-light);
}

/* === DROPDOWN NAVIGATION ENHANCEMENT === */
.dropdown {
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow) !important;
  border: 1px solid rgba(0, 0, 0, 0.06);
  animation: fadeInUp 0.2s ease-in;
  padding: 8px 0 !important;
}
.dropdown li a {
  transition: all var(--transition) !important;
  border-radius: 3px !important;
  margin: 1px 6px !important;
  padding: 8px 14px !important;
}
.dropdown li a:hover {
  background: var(--primary-light) !important;
  color: var(--primary) !important;
}

/* === SELECTION & SCROLLBAR === */
::selection {
  background: var(--primary);
  color: var(--white);
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--light-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--gray-light);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gray);
}

/* === UTILITY CLASSES === */
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hover-lift {
  transition: transform var(--transition), box-shadow var(--transition);
}
.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Accessible focus styles */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 3px;
}

/* === TABLET-RANGE FIX (769-1024px) ===
   Voorkomt dat foto's "uit verband" lopen op tablets zoals Tab S10 Lite.
   Kernpunt: aspect-ratio ipv vaste hoogte, zodat kaarten mee-schalen
   met hun werkelijke breedte. */
@media (min-width: 769px) and (max-width: 1024px) {
  .container { padding: 0 32px; }

  /* Property/rental cards — aspect-ratio 3:2 voor natuurlijke foto's */
  .property-card-img,
  .rental-card img,
  .mq-card-img {
    height: auto !important;
    aspect-ratio: 3 / 2;
  }
  .mq-card-img-wrap { height: auto !important; aspect-ratio: 3 / 2; }

  /* Regio-tegels: iets hoger zodat ze niet gerekt ogen */
  .regio-tile { height: 280px; }

  /* Grids: minder agressief vullen */
  .property-grid,
  .rental-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* === GROTE TABLET / KLEINE DESKTOP (1025-1200px) ===
   Hero-foto krijgt hoger-res variant voor scherpte op tablet-landschap. */
@media (min-width: 769px) {
  .hero__bg {
    background-image: url('/img/villa-infinity-pool-zonsondergang-1600.webp');
  }
}

/* Print */
@media print {
  .header, .footer, .cta-section { display: none; }
  .hero { padding: 20px 0; background: white; color: black; }
}

/* Hero search — zoek op woonplaats */
.hero-search-wrap {
  position: relative;
  max-width: 560px;
  margin-top: 36px;
  animation: heroFadeUp 0.9s ease forwards 0.5s;
  opacity: 0;
}
.hero-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.97);
  border-radius: 999px;
  padding: 8px 8px 8px 24px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.4) inset,
    0 10px 40px rgba(0,0,0,0.35),
    0 2px 8px rgba(0,0,0,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.6);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.hero-search:focus-within {
  box-shadow:
    0 0 0 3px rgba(196,154,60,0.35),
    0 12px 44px rgba(0,0,0,0.4),
    0 2px 8px rgba(0,0,0,0.15);
  transform: translateY(-1px);
}
.hero-search-icon {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.3s ease, color 0.3s ease;
}
.hero-search:focus-within .hero-search-icon {
  color: var(--primary);
  transform: scale(1.08);
}
.hero-search input[type="search"] {
  flex: 1;
  border: none;
  background: transparent;
  padding: 14px 4px;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--dark);
  outline: none;
  min-width: 0;
  letter-spacing: 0.2px;
}
.hero-search input[type="search"]::placeholder {
  color: var(--gray);
  font-weight: 400;
}
.hero-search input[type="search"]::-webkit-search-cancel-button { display: none; }
.hero-search button {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  box-shadow: 0 4px 14px rgba(196,154,60,0.45);
}
.hero-search button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(196,154,60,0.55);
}
.hero-search button:active {
  transform: translateY(0);
  filter: brightness(0.98);
}
.hero-search-suggestions {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 48px rgba(0,0,0,0.28);
  border: 1px solid rgba(0,0,0,0.04);
  max-height: 320px;
  overflow-y: auto;
  z-index: 50;
  animation: heroSearchDropIn 0.18s ease-out;
}
@keyframes heroSearchDropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-search-suggestions li {
  padding: 11px 24px;
  font-size: 0.93rem;
  color: var(--dark);
  cursor: pointer;
  transition: background 0.15s ease, padding-left 0.15s ease;
  position: relative;
}
.hero-search-suggestions li::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 50%;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateY(-50%) scale(0);
  transition: transform 0.2s ease;
}
.hero-search-suggestions li:hover,
.hero-search-suggestions li.active {
  background: var(--light-bg);
  color: var(--primary);
  padding-left: 30px;
}
.hero-search-suggestions li:hover::before,
.hero-search-suggestions li.active::before {
  transform: translateY(-50%) scale(1);
}
.hero-search-suggestions[hidden] { display: none; }
.hero-search-suggestions::-webkit-scrollbar { width: 8px; }
.hero-search-suggestions::-webkit-scrollbar-thumb {
  background: var(--gray-lighter);
  border-radius: 4px;
}

/* Zoek-icoon in de header (naast MENU) — alleen op mobiel zichtbaar.
   Op desktop zit de zoekknop als nav-item in het menu zelf. */
.header-search-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--accent);
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}
@media (max-width: 768px) {
  .header-search-toggle { display: inline-flex; }
}
.header-search-toggle:hover {
  background: rgba(255,255,255,0.12);
  transform: scale(1.08);
}
.header-search-toggle svg {
  width: 22px;
  height: 22px;
}
.header-search-toggle[aria-expanded="true"] {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* Paneel dat uitschuift onder de header */
.header-search-panel {
  background: var(--primary);
  padding: 14px 0 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  animation: headerSearchSlideDown 0.22s ease-out;
}
@keyframes headerSearchSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.header-search-panel[hidden] { display: none; }

/* Zoekbalk in het menu (header) — compacte variant voor desktop + mobiel */
.nav-search-item {
  display: flex;
  align-items: center;
  list-style: none;
}
.nav-search-wrap {
  position: relative;
  width: 280px;
}
.nav-search {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  padding: 4px 4px 4px 14px;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.nav-search:focus-within {
  background: rgba(255,255,255,0.95);
  border-color: var(--accent);
}
.nav-search-icon {
  width: 16px;
  height: 16px;
  color: rgba(255,255,255,0.85);
  flex-shrink: 0;
  transition: color 0.25s ease;
}
.nav-search:focus-within .nav-search-icon { color: var(--primary); }
.nav-search input[type="search"] {
  flex: 1;
  border: none;
  background: transparent;
  padding: 8px 4px;
  font-size: 0.85rem;
  color: #fff;
  outline: none;
  min-width: 0;
}
.nav-search:focus-within input[type="search"] { color: var(--dark); }
.nav-search input[type="search"]::placeholder { color: rgba(255,255,255,0.65); }
.nav-search:focus-within input[type="search"]::placeholder { color: var(--gray); }
.nav-search input[type="search"]::-webkit-search-cancel-button { display: none; }
.nav-search button {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s ease;
}
.nav-search button:hover { background: var(--accent-hover); }
.nav-search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  list-style: none;
  margin: 0;
  padding: 6px 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.28);
  max-height: 320px;
  overflow-y: auto;
  z-index: 200;
}
.nav-search-suggestions li {
  padding: 9px 18px;
  font-size: 0.88rem;
  color: var(--dark);
  cursor: pointer;
  transition: background 0.15s ease, padding-left 0.15s ease;
}
.nav-search-suggestions li:hover,
.nav-search-suggestions li.active {
  background: var(--light-bg);
  color: var(--primary);
  padding-left: 24px;
}
.nav-search-suggestions[hidden] { display: none; }

/* Full-width binnen de uitschuifbare zoekbalk-container */
.header-search-panel .nav-search-wrap { width: 100%; max-width: 100%; }
.header-search-panel .nav-search {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
}
@media (max-width: 768px) {
  .header-search-panel .nav-search input[type="search"] { font-size: 0.95rem; padding: 10px 4px; }
  .header-search-panel .nav-search button { padding: 10px 18px; font-size: 0.82rem; }
  .header-search-panel .nav-search-suggestions li { padding: 11px 20px; font-size: 0.93rem; }
}

/* Favorieten: hartknop op property-card */
.mq-card { position: relative; }
.mq-card-fav {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,255,255,0.92);
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, background 0.2s ease;
  z-index: 3;
}
.mq-card-fav:hover { transform: scale(1.1); background: #fff; }
.mq-card-fav svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--primary);
  stroke-width: 2;
  transition: fill 0.25s ease, stroke 0.25s ease;
}
.mq-card-fav.is-fav svg { fill: #e74c3c; stroke: #e74c3c; }
.mq-card-fav.is-fav { background: #fff; }
@keyframes favPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}
.mq-card-fav.just-added { animation: favPop 0.4s ease; }

/* Favorieten nav-link — op desktop icon-only (hartje + teller),
   op mobiel (in uitgeklapt menu) volledig "Mijn favorieten" */
.nav-fav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  position: relative;
}
.nav-fav-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  flex-shrink: 0;
}
@media (min-width: 769px) {
  .nav-fav-link .nav-fav-text { display: none; }
}
@media (max-width: 768px) {
  .nav-fav-icon { width: 16px; height: 16px; margin-right: 4px; }
}

/* Desktop zoek-knop als nav-item */
.nav-search-desktop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 6px;
  cursor: pointer;
  color: currentColor;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-search-desktop-btn svg { width: 20px; height: 20px; }
.nav-search-desktop-btn:hover { color: var(--accent); background: rgba(0,0,0,0.04); }
.header-transparent .nav-search-desktop-btn:hover { background: rgba(255,255,255,0.12); }
/* Op mobiel verbergen — daar gebruiken we de header-search-toggle naast MENU */
@media (max-width: 768px) {
  .nav-search-desktop { display: none; }
}

/* Favorietenteller in menu */
.nav-fav-count {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-left: 4px;
  vertical-align: 1px;
}
.nav-fav-count[hidden] { display: none; }
.hero-search-icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}
.hero-search input[type="search"] {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 8px;
  font-size: 0.95rem;
  color: var(--dark);
  outline: none;
  min-width: 0;
}
.hero-search input[type="search"]::placeholder { color: var(--gray); }
.hero-search button {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition);
}
.hero-search button:hover { background: var(--accent-hover); }
@media (max-width: 480px) {
  .hero-search-wrap { margin-top: 24px; }
  .hero-search { padding: 6px 6px 6px 18px; gap: 8px; }
  .hero-search-icon { width: 18px; height: 18px; }
  .hero-search button { padding: 11px 18px; font-size: 0.78rem; letter-spacing: 0.5px; }
  .hero-search input[type="search"] { font-size: 0.92rem; padding: 11px 4px; }
  .hero-search-suggestions { border-radius: 14px; }
  .hero-search-suggestions li { padding: 12px 20px; font-size: 0.9rem; }
}

/* Mobile header layout fix — logo links, hamburger rechts.

   Probleem: .header > .container is flex met justify-content:space-between.
   Er zitten 3 kinderen in: .logo, .nav-toggle, <nav>. De <nav>-wrapper
   heeft geen class maar telt wél mee in de flex-flow, waardoor de
   hamburger in het midden belandde.

   Oplossing:
   1. <nav>-wrapper volledig uit de flex-flow trekken (position:absolute)
   2. .nav (ul) niet meer absolute positioneren — parent doet dat nu
   3. nav-toggle extra zekerheid geven met margin-left:auto
*/
@media (max-width: 768px) {
  .header .container > nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    pointer-events: none; /* klikken gaan door tenzij menu open is */
  }
  .header .container > nav > ul.nav {
    position: static;
    top: auto;
    left: auto;
    right: auto;
  }
  .header .container > nav > ul.nav.open {
    pointer-events: auto;
  }
  /* margin-left:auto zit nu op .lang-switcher-mobile; die duwt zichzelf
     én de MENU-knop erna naar rechts. Hier geen auto-marge meer zodat
     ze niet tegen elkaar concurreren en de globe in het midden belandt. */
}
