/*
Theme Name: Champagnecollectie
Theme URI: https://champagnecollectie.nl
Description: Een elegant one-page WordPress thema voor champagnecollectie.nl — diepgroen en goud, strak en klassiek.
Version: 1.0
Author: champagnecollectie.nl
Text Domain: champagnecollectie
*/

/* =============================================
   CSS CUSTOM PROPERTIES
   ============================================= */
:root {
  --green-darkest: #0f2218;
  --green-dark:    #162e21;
  --green-mid:     #1e3d2a;
  --green-card:    #1a3525;
  --green-light:   #2d5940;
  --gold:          #c9a051;
  --gold-light:    #e2c174;
  --gold-dim:      #8a6c33;
  --cream:         #f5f0e8;
  --cream-dim:     #c2b49a;
  --cream-muted:   #8a7d6a;
  --white:         #ffffff;
  --border-gold:   rgba(201, 160, 81, 0.25);
  --border-gold-strong: rgba(201, 160, 81, 0.55);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Lato', 'Helvetica Neue', sans-serif;

  --radius: 2px;
  --transition: 0.3s ease;
  --shadow: 0 8px 40px rgba(0,0,0,0.45);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.35);
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--green-dark);
  color: var(--cream);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--gold-light); }

/* =============================================
   NAVIGATION
   ============================================= */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 70px;
  background: rgba(15, 34, 24, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-gold);
  transition: background var(--transition);
}

.site-nav__logo {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav__links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.site-nav__links a {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-dim);
  transition: color var(--transition);
}
.site-nav__links a:hover { color: var(--gold-light); }

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 70px 24px 40px;
  background:
    radial-gradient(ellipse at 50% 60%, rgba(45, 89, 64, 0.35) 0%, transparent 70%),
    linear-gradient(180deg, var(--green-darkest) 0%, var(--green-dark) 60%, var(--green-mid) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(201, 160, 81, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(201, 160, 81, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--cream);
  max-width: 820px;
  margin-bottom: 36px;
}

.hero__title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero__divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 36px;
  opacity: 0.7;
}

.hero__intro {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--cream-dim);
  max-width: 680px;
  margin: 0 auto 28px;
}

.hero__scroll { display: none; }
.hero__scroll-line { display: none; }

/* =============================================
   SECTION WRAPPER
   ============================================= */
.section {
  padding: 52px 24px;
}

.section--alt {
  background-color: var(--green-darkest);
}

.container {
  max-width: 1160px;
  margin: 0 auto;
}

/* =============================================
   REGION HEADER
   ============================================= */
.region-header {
  text-align: center;
  margin-bottom: 36px;
}

.region-header__number {
  display: none;
}

.region-header__label {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.region-header__title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 20px;
}

.region-header__subtitle {
  font-style: italic;
  font-family: var(--font-serif);
  color: var(--cream-dim);
  font-size: 1rem;
}

.region-header__bar {
  width: 48px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
  margin: 20px auto 0;
}

/* =============================================
   HOUSE BLOCK
   ============================================= */
.house {
  margin-bottom: 44px;
}

.house:last-child { margin-bottom: 0; }

.house__header {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-gold);
}

.house__info { /* linker kolom */ }

.house__tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 8px;
}

.house__name {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 12px;
  line-height: 1.2;
}

.house__desc {
  color: var(--cream-dim);
  font-size: 0.92rem;
  line-height: 1.75;
}

/* Compacte duurzaamheidsbadge */
.house__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.house__badge::before {
  content: '✦';
  color: var(--gold);
  font-size: 0.55rem;
}

/* Mini Google Maps per huis */
.house__map {
  height: 210px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  background: var(--green-mid);
}

.house__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(0.85) brightness(0.95);
  transition: filter var(--transition);
}

.house__map:hover iframe {
  filter: saturate(1) brightness(1);
}

.house__map--placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.house__map--placeholder::before {
  content: '📍';
  font-size: 1.8rem;
  opacity: 0.5;
}

/* =============================================
   CHAMPAGNE CARDS GRID
   ============================================= */
.champagne-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Alle grid-varianten zijn nu één kolom met horizontale kaarten */
.champagne-grid--1,
.champagne-grid--2,
.champagne-grid--3 { max-width: 900px; }

/* ---- Horizontale kaart ---- */
.champagne-card {
  background: var(--green-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: row;       /* foto links, tekst rechts */
  align-items: stretch;
}

.champagne-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: var(--border-gold-strong);
}

/* Afbeelding: vaste breedte 280px, vaste hoogte 210px (exact 4:3) */
.champagne-card__img-wrap {
  flex: 0 0 280px;
  width: 280px;
  height: 210px;
  overflow: hidden;
  background: var(--green-mid);
  align-self: center;
}

.champagne-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.champagne-card:hover .champagne-card__img-wrap img {
  transform: scale(1.04);
}

/* Placeholder stijl als er geen afbeelding is */
.champagne-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(160deg, var(--green-mid) 0%, var(--green-dark) 100%);
}

.champagne-card__placeholder-icon {
  font-size: 2.8rem;
  opacity: 0.35;
}

.champagne-card__placeholder-text {
  font-family: var(--font-serif);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dim);
  opacity: 0.7;
}

/* Tekstgedeelte rechts van de foto */
.champagne-card__body {
  padding: 24px 28px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.champagne-card__label {
  display: none;
}

.champagne-card__name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 12px;
  line-height: 1.3;
}

.champagne-card__desc {
  color: var(--cream-dim);
  font-size: 0.86rem;
  line-height: 1.75;
  flex: 1;
}

.champagne-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-gold);
}

.champagne-card__price {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--gold);
}

.champagne-card__price-label {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-muted);
}

/* =============================================
   KAART
   ============================================= */
#champagne-map {
  height: 500px;
  border-radius: var(--radius);
  border: 1px solid var(--border-gold);
  overflow: hidden;
}

/* Leaflet popup aanpassen aan thema */
.leaflet-popup-content-wrapper {
  background: var(--green-card) !important;
  border: 1px solid var(--border-gold-strong) !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow) !important;
  padding: 0 !important;
  overflow: hidden;
}

.leaflet-popup-tip {
  background: var(--green-card) !important;
}

.leaflet-popup-content {
  margin: 0 !important;
  width: 220px !important;
}

.map-popup__img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.map-popup__img-placeholder {
  width: 100%;
  height: 140px;
  background: linear-gradient(160deg, var(--green-mid), var(--green-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  opacity: 0.6;
}

.map-popup__body {
  padding: 14px 16px 16px;
}

.map-popup__region {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.map-popup__name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.25;
  margin-bottom: 4px;
}

.map-popup__location {
  font-size: 0.75rem;
  color: var(--cream-dim);
}

/* Aangepast marker-icoon */
.map-marker {
  width: 32px;
  height: 32px;
  background: var(--gold);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  border: 2px solid var(--green-darkest);
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.map-marker:hover {
  background: var(--gold-light);
  transform: rotate(-45deg) scale(1.15);
}

.map-marker::after {
  content: '🍾';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  font-size: 13px;
  line-height: 1;
}

/* =============================================
   GOLD DIVIDER
   ============================================= */
.gold-divider {
  text-align: center;
  padding: 0 24px;
  margin: 0;
  line-height: 0;
}

.gold-divider svg {
  display: inline-block;
  opacity: 0.4;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--green-darkest);
  border-top: 1px solid var(--border-gold);
  padding: 64px 24px 40px;
  text-align: center;
}

.site-footer__logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.site-footer__tagline {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream-muted);
  margin-bottom: 40px;
}

.site-footer__divider {
  width: 40px;
  height: 1px;
  background: var(--border-gold);
  margin: 0 auto 32px;
}

.site-footer__copy {
  font-size: 0.78rem;
  color: var(--cream-muted);
  letter-spacing: 0.06em;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  .site-nav {
    padding: 0 20px;
  }

  .site-nav__links {
    display: none;
  }

  .section {
    padding: 36px 16px;
  }

  .house__header {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .house__map {
    height: 180px;
  }

  /* Op mobiel: kaart wordt verticaal (foto boven, tekst onder) */
  .champagne-card {
    flex-direction: column;
  }

  .champagne-card__img-wrap {
    flex: none;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    align-self: auto;
  }

  .hero__title {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .region-header__number {
    font-size: 3.5rem;
  }
}
