/* ============================================================
   Domaine de Pouligny — style.css
   Soft beige palette · Cormorant Garamond + Mulish
   ============================================================ */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: #efe9dc;
  color: #33312a;
  font-family: 'Mulish', -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a { color: #6a6e4b; }
a:hover { color: #a4603c; }

.serif { font-family: 'Cormorant Garamond', serif; }

/* ---------- Animations ---------- */
@keyframes pgfade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes slowzoom { from { transform: scale(1.06); } to { transform: scale(1.14); } }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent;
  border-bottom: 1px solid rgba(247,243,233,.22);
  transition: background .3s, border-color .3s;
}
.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { background: none; border: none; padding: 0; cursor: pointer; text-align: left; display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 26px;
  letter-spacing: .5px; color: #fbf8f0; transition: color .3s;
}
.brand-sub {
  font-weight: 500; font-size: 10px; letter-spacing: 3.5px; text-transform: uppercase;
  color: rgba(247,243,233,.8); margin-top: 5px; transition: color .3s;
}
.header-actions { display: flex; align-items: center; gap: 9px; }
.icon-btn {
  width: 37px; height: 37px; border: 1px solid rgba(247,243,233,.4); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #f4efe4; text-decoration: none; transition: all .3s; background: none; cursor: pointer;
}
.icon-btn:hover { background: #6a6e4b; border-color: #6a6e4b; color: #f4efe4; }

.lang-wrap { position: relative; margin-left: 4px; }
.lang-btn {
  display: flex; align-items: center; gap: 6px; background: none;
  border: 1px solid rgba(247,243,233,.4); border-radius: 22px; padding: 8px 13px; cursor: pointer;
  font-family: 'Mulish', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 1.5px;
  color: #f4efe4; transition: all .3s;
}
.lang-menu {
  position: absolute; right: 0; top: 46px; background: #faf7ee;
  border: 1px solid rgba(54,52,43,.15); border-radius: 8px;
  box-shadow: 0 12px 30px rgba(54,52,43,.18); overflow: hidden; min-width: 160px; display: none;
}
.lang-menu.open { display: block; }
.lang-menu button {
  display: block; width: 100%; text-align: left; background: none; border: none;
  padding: 12px 16px; cursor: pointer; font-family: 'Mulish', sans-serif; font-size: 14px; color: #33312a;
}
.lang-menu button + button { border-top: 1px solid rgba(54,52,43,.08); }
.lang-menu button:hover { background: #ece4d2; }

.main-nav { border-top: 1px solid rgba(247,243,233,.22); display: none; }
.main-nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2px;
}
.nav-btn {
  position: relative; background: none; border: none; padding: 13px 16px; cursor: pointer;
  font-family: 'Mulish', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: #f0ead9; transition: color .3s;
}
.nav-btn:hover { color: #a4603c; }
.nav-btn.active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px; background: #a4603c;
}

/* Solid header (scrolled, or any page except home top) */
.site-header.solid { background: rgba(239,233,220,.95); border-bottom-color: rgba(54,52,43,.12); }
.site-header.solid .brand-name { color: #33312a; }
.site-header.solid .brand-sub { color: #8a8470; }
.site-header.solid .icon-btn { border-color: rgba(54,52,43,.18); color: #5a5648; }
.site-header.solid .icon-btn:hover { background: #6a6e4b; border-color: #6a6e4b; color: #f4efe4; }
.site-header.solid .lang-btn { border-color: rgba(54,52,43,.18); color: #5a5648; }
.site-header.solid .main-nav { display: block; border-top-color: rgba(54,52,43,.12); }
.site-header.solid .nav-btn { color: #5a5648; }
.site-header.solid .nav-btn:hover { color: #a4603c; }

/* ============================================================
   PAGES
   ============================================================ */
.page { display: none; }
.page.active { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; display: flex; align-items: flex-end; overflow: hidden; }
.hero-full { height: 100vh; min-height: 600px; align-items: center; justify-content: center; }
.hero-tall { height: 78vh; min-height: 480px; }
.hero-mid  { height: 64vh; min-height: 420px; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-img.kenburns { animation: slowzoom 20s ease-in-out infinite alternate; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35,33,26,.25), rgba(35,33,26,.55)); }
.hero-shade.deep { background: linear-gradient(180deg, rgba(35,33,26,.42) 0%, rgba(35,33,26,.2) 45%, rgba(35,33,26,.55) 100%); }
.hero-content { position: relative; max-width: 1280px; margin: 0 auto; padding: 0 32px clamp(40px, 6vw, 72px); width: 100%; text-align: center; }
.hero-full .hero-content { padding: 0 28px; max-width: 1000px; animation: pgfade 1s ease both; }

.kicker {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 5px;
  text-transform: uppercase; color: #f0ead9;
}
.kicker.underlined { padding-bottom: 6px; border-bottom: 1px solid rgba(240,234,217,.45); }
.hero h1 {
  font-family: 'Cormorant Garamond', serif; font-weight: 400; color: #fbf8f0;
  font-size: clamp(44px, 7vw, 92px); line-height: 1; margin: 14px 0 0;
}
.hero-full h1 { font-size: clamp(50px, 9vw, 116px); line-height: .98; margin-top: 26px; text-shadow: 0 2px 30px rgba(20,18,12,.35); }
.hero-tag {
  font-family: 'Cormorant Garamond', serif; font-style: italic; color: #f2ecdd;
  font-size: clamp(20px, 2.4vw, 30px); margin: 18px 0 0; text-shadow: 0 1px 16px rgba(20,18,12,.5);
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 40px; }
.scroll-hint { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); color: rgba(247,243,233,.8); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; border: none; padding: 16px 32px; border-radius: 2px; cursor: pointer;
  font-family: 'Mulish', sans-serif; font-size: 12.5px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; text-decoration: none; transition: all .25s;
}
.btn-light { background: #f7f3e9; color: #33312a; }
.btn-light:hover { background: #6a6e4b; color: #f7f3e9; }
.btn-ghost { background: transparent; color: #fbf8f0; border: 1px solid rgba(247,243,233,.55); }
.btn-ghost:hover { background: rgba(247,243,233,.16); color: #fbf8f0; }
.btn-olive { background: #6a6e4b; color: #f7f3e9; padding: 15px 30px; }
.btn-olive:hover { background: #565937; color: #f7f3e9; }

/* ---------- Sections ---------- */
.section { background: #efe9dc; padding: clamp(64px, 9vw, 110px) 28px; }
.section.alt { background: #e7dfcc; }
.section.tight { padding: clamp(60px, 9vw, 104px) 28px; }
.container { max-width: 1180px; margin: 0 auto; }
.container-wide { max-width: 1280px; margin: 0 auto; }
.center { text-align: center; }

.section-kicker { font-size: 11px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: #a4603c; }
.section-kicker.olive { color: #6a6e4b; }
.section h2 {
  font-family: 'Cormorant Garamond', serif; font-weight: 400;
  font-size: clamp(28px, 3.6vw, 42px); color: #33312a; margin: 12px 0 20px;
}
.lead {
  font-family: 'Cormorant Garamond', serif; font-weight: 400;
  font-size: clamp(22px, 2.8vw, 32px); line-height: 1.4; color: #3d3a31; margin: 0 auto; max-width: 700px;
}
.body-text { font-size: 16px; color: #5f5a4b; line-height: 1.85; }

/* Welcome */
.welcome { padding: clamp(70px, 11vw, 130px) 28px; text-align: center; }
.welcome .inner { max-width: 780px; margin: 0 auto; }
.welcome img.logo { height: clamp(54px, 7vw, 84px); width: auto; margin-bottom: 30px; opacity: .88; }
.welcome h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.2; color: #3d3a31; margin: 0; }
.welcome p { margin: 26px 0 0; }
.welcome p + p { margin-top: 18px; }

/* Quote band */
.band { position: relative; height: 62vh; min-height: 380px; overflow: hidden; display: flex; align-items: flex-end; }
.band .bg { position: absolute; inset: 0; background-size: cover; background-position: center 60%; }
.band .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(35,33,26,.55), rgba(35,33,26,.05)); }
.band .content { position: relative; padding: clamp(36px, 6vw, 72px); max-width: 620px; }
.band .quote {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: clamp(24px, 3vw, 34px); color: #fbf8f0; margin: 14px 0 0; line-height: 1.3;
}

/* Discover trio */
.trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.trio-card {
  position: relative; height: 440px; border: none; border-radius: 3px; overflow: hidden;
  cursor: pointer; padding: 0; display: flex; align-items: flex-end; transition: transform .3s;
}
.trio-card:hover { transform: translateY(-4px); }
.trio-card .bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .6s; }
.trio-card:hover .bg { transform: scale(1.05); }
.trio-card .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35,33,26,0) 40%, rgba(35,33,26,.7)); }
.trio-card .label { position: relative; padding: 30px; text-align: left; width: 100%; }
.trio-card h3 { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 30px; margin: 0; color: #fbf8f0; }
.trio-card p { font-size: 13.5px; color: #e6dfcd; margin: 6px 0 0; }

/* Stats */
.stats { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(28px, 6vw, 72px); margin-top: 54px; }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 52px; font-weight: 500; color: #6a6e4b; line-height: 1; }
.stat-label { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: #8a8470; margin-top: 8px; }

/* Cards */
.card {
  background: #f6f1e5; border: 1px solid rgba(54,52,43,.08); border-radius: 3px;
  padding: 32px 30px; text-align: left;
}
.card .card-kicker { font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: #a4603c; margin-bottom: 10px; }
.card h3 { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 500; color: #33312a; margin: 0 0 6px; }
.card .rule { width: 38px; height: 2px; background: #a4603c; margin-bottom: 16px; }
.card p { font-size: 14.5px; color: #5f5a4b; margin: 0; line-height: 1.75; }
.card ul { margin: 0; padding: 0 0 0 18px; font-size: 14.5px; color: #5f5a4b; line-height: 1.7; display: flex; flex-direction: column; gap: 10px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card-grid.narrow { max-width: 820px; margin: 56px auto 0; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }

/* Floor cards */
.floor-card { padding: 34px 32px; }
.floor-card h3 { font-size: 26px; }
.floor-card .rule { margin-bottom: 20px; }

/* Photo mosaic */
.mosaic-wrap { padding: 0 0 clamp(40px, 6vw, 80px); }
.mosaic {
  max-width: 1280px; margin: 0 auto; padding: 0 20px;
  display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(150px, 15vw, 210px); gap: 12px;
}
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.mosaic .span4x2 { grid-column: span 4; grid-row: span 2; }
.mosaic .span2 { grid-column: span 2; }
.mosaic .span6 { grid-column: span 6; }

/* Split rows (image + text) */
.split {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(30px, 5vw, 64px); align-items: center;
}
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
.reco-list { margin: 0; padding: 0; list-style: none; font-size: 14.5px; color: #5f5a4b; line-height: 1.7; display: flex; flex-direction: column; gap: 12px; }
.reco-list a {
  color: #3d3a31; font-weight: 700; text-decoration: underline;
  text-decoration-color: rgba(164,96,60,.45); text-underline-offset: 3px;
}
.reco-list a:hover { color: #a4603c; }
.split .body-text { font-size: 15px; line-height: 1.8; margin: 0 0 18px; }

/* Dark CTA */
.dark-cta { background: #33312a; padding: clamp(50px, 7vw, 84px) 28px; text-align: center; }
.dark-cta p {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: clamp(22px, 3vw, 30px); color: #f0ead9; margin: 0 auto 28px; max-width: 34ch;
}

/* ---------- Price table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid rgba(54,52,43,.12); border-radius: 3px; background: #f6f1e5; }
.price-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 14.5px; color: #4a4638; }
.price-table thead tr { background: #33312a; color: #f0ead9; }
.price-table th {
  padding: 16px 22px; font-family: 'Mulish', sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase; text-align: right;
}
.price-table th:first-child { text-align: left; }
.price-table th .sub { font-weight: 400; letter-spacing: 1px; text-transform: none; color: #b6ac90; }
.price-table td { padding: 12px 22px; border-bottom: 1px solid rgba(54,52,43,.06); }
.price-table td + td { text-align: right; }
.price-table tr.season td {
  padding: 18px 22px 10px; font-family: 'Cormorant Garamond', serif; font-size: 21px;
  color: #a4603c; border-bottom: 1px solid rgba(54,52,43,.1);
}
.price-table tr.season .dates { font-family: 'Mulish', sans-serif; font-size: 12px; color: #8a8470; }
.price-table tbody tr:last-child td { border-bottom: none; }
.table-note { font-size: 13px; color: #8a8470; margin: 16px 4px 0; }
.table-note a { color: #6a6e4b; }
.pr-intro {
  text-align: center; max-width: 640px; margin: 0 auto clamp(40px, 6vw, 56px);
  font-family: 'Cormorant Garamond', serif; font-size: clamp(21px, 2.6vw, 28px); line-height: 1.45; color: #3d3a31;
}

/* Maps link */
.maps-link {
  display: inline-flex; align-items: center; gap: 10px; color: #6a6e4b; text-decoration: none;
  font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  border-bottom: 1px solid rgba(106,110,75,.4); padding-bottom: 4px;
}
.maps-link:hover { color: #a4603c; }

/* ============================================================
   GALLERY
   ============================================================ */
.page-galerij { background: #26241c; min-height: 100vh; }
.gal-head { padding: clamp(110px, 14vw, 150px) 28px 24px; text-align: center; }
.gal-head .kicker { color: #b6ac90; }
.gal-head h1 {
  font-family: 'Cormorant Garamond', serif; font-weight: 400;
  font-size: clamp(42px, 6vw, 72px); margin: 10px 0 0; color: #f4efe4;
}
.gal-body { padding: 18px 24px clamp(60px, 8vw, 90px); }
.gal-inner { max-width: 1200px; margin: 0 auto; }
.gal-stage { position: relative; border-radius: 4px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.4); }
.gal-viewport { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #1c1b15; }
.gal-track { display: flex; height: 100%; transition: transform .6s cubic-bezier(.4, 0, .2, 1); }
.gal-slide { flex: 0 0 100%; height: 100%; position: relative; }
.gal-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-slide .ph {
  width: 100%; height: 100%;
  background: repeating-linear-gradient(45deg, #34331f, #34331f 22px, #2c2b18 22px, #2c2b18 44px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
.gal-slide .ph .name { font-family: ui-monospace, Menlo, monospace; font-size: 14px; letter-spacing: 2px; color: #b6ac90; }
.gal-slide .ph .hint { font-family: ui-monospace, Menlo, monospace; font-size: 11px; letter-spacing: 1px; color: #7d7660; }
.gal-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px; border-radius: 50%; border: none;
  background: rgba(247,243,233,.92); color: #33312a; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.gal-arrow:hover { background: #fff; }
.gal-arrow.prev { left: 18px; }
.gal-arrow.next { right: 18px; }
.gal-badge {
  position: absolute; bottom: 18px; background: rgba(0,0,0,.5); color: #f4efe4;
  padding: 7px 15px; border-radius: 20px; font-family: ui-monospace, Menlo, monospace;
  font-size: 12px; letter-spacing: 1px;
}
.gal-badge.name { left: 22px; }
.gal-badge.count { right: 22px; font-size: 13px; }
.gal-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; justify-content: center; }
.gal-thumb {
  width: 66px; height: 42px; border-radius: 3px; overflow: hidden; cursor: pointer;
  padding: 0; background: #2c2b1a; border: 2px solid transparent; opacity: .5;
}
.gal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-thumb .ph { width: 100%; height: 100%; display: block; background: repeating-linear-gradient(45deg, #4a4632, #4a4632 6px, #3d3a29 6px, #3d3a29 12px); }
.gal-thumb.active { border-color: #d99a6c; opacity: 1; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #26241c; color: #d9d2c1; padding: clamp(56px, 7vw, 80px) 28px 36px; }
.footer-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px;
}
.footer-brand { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 26px; color: #f4efe4; }
.footer-tag { font-size: 14px; color: #a8a191; margin: 12px 0 0; line-height: 1.7; max-width: 34ch; }
.footer-label { font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: #8d866f; margin-bottom: 16px; }
.footer-text { font-size: 15px; color: #d9d2c1; margin: 0; line-height: 1.7; }
.footer-mail {
  font-size: 15px; color: #d9d2c1; text-decoration: none; display: inline-block;
  border-bottom: 1px solid rgba(217,210,193,.35); padding-bottom: 2px;
}
.footer-mail:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px; border: 1px solid rgba(217,210,193,.28); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #d9d2c1;
}
.footer-social a:hover { background: #6a6e4b; border-color: #6a6e4b; color: #fff; }
.footer-bottom {
  max-width: 1280px; margin: 46px auto 0; padding-top: 24px;
  border-top: 1px solid rgba(217,210,193,.16); font-size: 12.5px; color: #8d866f;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
}

/* ============================================================
   MOBILE — compact header & single-row scrollable menu
   ============================================================ */
@media (max-width: 640px) {
  .header-inner { padding: 10px 16px; gap: 10px; }
  .brand-name { font-size: 19px; white-space: nowrap; }
  .brand-sub { display: none; }
  .icon-btn { width: 32px; height: 32px; }
  .icon-btn svg { width: 14px; height: 14px; }
  .lang-btn { padding: 6px 10px; font-size: 11px; }
  .main-nav-inner {
    flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start;
    padding: 0 12px; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .main-nav-inner::-webkit-scrollbar { display: none; }
  .nav-btn {
    padding: 11px 12px; font-size: 11px; letter-spacing: 1.5px;
    white-space: nowrap; flex: 0 0 auto;
  }
}
