﻿/*
Theme Name: Balcon Modern
Theme URI: https://www.balconduleman.com
Author: Balcon du Leman
Description: Warm modern holiday rental theme with multilingual mode, booking forms and Airbnb calendar sync.
Version: 1.6.38
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 5.6
Text Domain: balcon-modern
*/
:root {
  --bg: #f7f2eb;
  --surface: #fffaf4;
  --ink: #2a2a28;
  --muted: #6a665d;
  --accent: #b36a2e;
  --accent-2: #d28b47;
  --line: #e6d9c7;
  --ok-bg: #e3f3de;
  --ok-ink: #2f6a36;
  --busy-bg: #f8dfdf;
  --busy-ink: #8b2e2e;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: radial-gradient(circle at 15% -10%, #f3ddc0 0%, #f7f2eb 40%), #f7f2eb;
  color: var(--ink);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  line-height: 1.55;
  padding-top: 72px;
}
a { color: var(--accent); }
img { max-width: 100%; display: block; height: auto; }
.blm-wrap { width: min(1140px, 92vw); margin: 0 auto; }

.blm-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 248, 238, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
  transition: transform .28s ease;
}
.blm-header.is-hidden { transform: translateY(-100%); }

.blm-nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .9rem;
  padding: .55rem 0;
}
.blm-brand {
  text-decoration: none;
  color: #8d4f1f;
  font-weight: 700;
  letter-spacing: .03em;
  white-space: nowrap;
}

.blm-menu {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: .9rem;
  align-items: center;
}
.blm-menu a,
.blm-lang a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: .93rem;
  padding: .28rem .55rem;
  border-radius: 999px;
}
.blm-menu a:hover,
.blm-lang a:hover,
.blm-lang .current-lang {
  background: #f2e4d2;
  color: #8b4f1f;
}
.blm-lang { display: flex; gap: .35rem; }

.blm-hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(130deg, rgba(255,250,244,.92), rgba(249,238,222,.78)),
    url('/wp-content/gallery/les-marmottes/balcony-Large.jpg') center/cover no-repeat;
}
.blm-hero-inner { padding: 4.8rem 0 3.6rem; }
.blm-hero h1 { margin: 0 0 .7rem; font-size: clamp(2rem, 4vw, 3.2rem); max-width: 19ch; }
.blm-hero p { margin: 0 0 1.2rem; max-width: 56ch; color: var(--muted); }

.blm-btn {
  display: inline-block;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  padding: .72rem 1.06rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
}
.blm-btn.alt { background: var(--accent-2); color: #3a2a1a; }

.blm-section,
.blm-page,
.blm-card,
.blm-calendar,
.blm-booking {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(85, 53, 22, 0.07);
}
.blm-section { margin: 1.15rem auto; padding: 1rem; }
.blm-feature-list { margin: 0; padding-left: 1.1rem; color: var(--muted); }

.blm-listings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1rem;
  margin: 0 auto 2.2rem;
}
.blm-thumb { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px 18px 0 0; border-bottom: 1px solid var(--line); }
.blm-card-body { padding: .85rem .95rem; }
.blm-card h3 { margin: 0 0 .3rem; font-size: 1.06rem; }
.blm-card p { margin: 0; color: var(--muted); }

.blm-page { margin: 1rem auto 2rem; padding: 1rem; }
.blm-gallery { margin: .1rem 0 .9rem; }
.blm-main-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--line); border-radius: 14px; }
.blm-thumb-grid {
  margin-top: .45rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .4rem;
  max-height: 460px;
  overflow: auto;
  padding-right: .15rem;
}
.blm-thumb-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }

.blm-meta-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1rem;
  margin-top: .9rem;
}
.blm-calendar,
.blm-booking { padding: .78rem; }

.blm-cal-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .55rem;
}
.blm-cal-btn {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #825025;
  background: #fff;
  font-weight: 700;
  padding: .2rem .58rem;
}
.blm-cal-head { margin: 0; font-weight: 700; }
.blm-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .25rem; }
.blm-cal-cell { text-align: center; font-size: .82rem; border-radius: 7px; padding: .34rem 0; }
.blm-cal-cell.head { font-weight: 700; color: var(--muted); }
.blm-cal-cell.day { border: 1px solid var(--line); }
.blm-cal-cell.busy { background: var(--busy-bg); color: var(--busy-ink); }
.blm-cal-cell.free { background: var(--ok-bg); color: var(--ok-ink); }

.blm-booking label { display: block; font-size: .84rem; color: var(--muted); margin-bottom: .2rem; font-weight: 700; }
.blm-booking input,
.blm-booking textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .56rem;
  margin-bottom: .6rem;
  font: inherit;
  background: #fff;
}

.blm-footer { border-top: 1px solid var(--line); padding: 1rem 0 2rem; color: var(--muted); }

@media (max-width: 980px) {
  body { padding-top: 88px; }
  .blm-nav { flex-wrap: wrap; }
  .blm-menu { order: 3; justify-content: flex-start; width: 100%; overflow-x: auto; white-space: nowrap; }
  .blm-meta-grid { grid-template-columns: 1fr; }
  .blm-thumb-grid { grid-template-columns: repeat(2, 1fr); }
}

.blm-page-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
}

.blm-photo-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
  margin: .2rem 0 1rem;
}

.blm-photo-item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.blm-photo-item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blm-map-wrap {
  margin-top: .8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.blm-map-wrap iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
}

@media (max-width: 700px) {
  .blm-photo-strip {
    grid-template-columns: 1fr;
  }
  .blm-map-wrap iframe {
    min-height: 320px;
  }
}

.blm-card-desc {
  margin: .35rem 0 .55rem;
  color: var(--muted);
  min-height: 2.6em;
}

.blm-traits {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}

.blm-traits span {
  display: inline-block;
  border: 1px solid var(--line);
  background: #fff;
  color: #6b5b45;
  font-size: .78rem;
  border-radius: 999px;
  padding: .18rem .5rem;
}






.blm-equip-note {
  margin: .6rem 0 .2rem;
  color: var(--muted);
  font-weight: 600;
}











.blm-prices h2 {
  margin: 0 0 .45rem;
}

.blm-price-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.blm-price-list li {
  margin-bottom: .2rem;
}





.blm-cal-cell.day.free {
  cursor: pointer;
}

.blm-cal-cell.day.free.selected-range {
  background: #f6e8d4;
  color: #6e4420;
  border-color: #e3c9a8;
}

.blm-cal-cell.day.free.selected-start,
.blm-cal-cell.day.free.selected-end {
  background: #d28b47;
  color: #fff;
  border-color: #b36a2e;
  font-weight: 700;
}




.blm-cal-day-btn {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  border-radius: 6px;
  padding: .08rem 0;
}

.blm-cal-day-btn.selected-range {
  background: #f6e8d4;
  color: #6e4420;
}

.blm-cal-day-btn.selected-start,
.blm-cal-day-btn.selected-end {
  background: #d28b47;
  color: #fff;
  font-weight: 700;
}


.blm-cal-feedback {
  min-height: 1.2em;
  margin: .45rem 0 0;
  color: #8b2e2e;
  font-weight: 700;
  font-size: .85rem;
}

.blm-form-error {
  margin: .35rem 0 .6rem;
  color: #8b2e2e;
  font-weight: 700;
}


.blm-seo-copy p {
  color: var(--muted);
}

.blm-seo-columns {
  display: grid;
  grid-template-columns: 1.2fr .95fr;
  gap: 1.2rem;
}

.blm-seo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1rem;
}

.blm-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
}

.blm-faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .95rem;
}

.blm-faq-item h3 {
  margin: 0 0 .45rem;
  font-size: 1rem;
}

.blm-faq-item p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .blm-seo-columns {
    grid-template-columns: 1fr;
  }

  .blm-faq-grid {
    grid-template-columns: 1fr;
  }
}

.blm-link-list {
  margin: .75rem 0 0;
  padding-left: 1.15rem;
}

.blm-link-list li {
  margin-bottom: .45rem;
  color: var(--muted);
}



