/*
Theme Name: Chateau Lacomte Estate
Theme URI: https://campinglacomte.com
Author: Arco Heuvelman
Author URI: https://arcoheuvelman.nl
Description: Simple, elegant bilingual (EN/FR) one-package WordPress theme built to present Chateau de Lacomte - Adult Only Camping - to prospective buyers. No page builder required.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lacomte-estate
Tags: custom-menu, featured-images, translation-ready
*/

/* -------------------------------------------------
   0. RESET & BASE
------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, Segoe UI, Arial, sans-serif;
  color: #2c2a25;
  background: #faf7f0;
  line-height: 1.7;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #7a5c2e; text-decoration: none; transition: color .2s ease; }
a:hover { color: #b08d3f; }
ul { padding-left: 1.2em; }
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  color: #23331e;
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 .5em;
}
h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1.2em; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  color: #b08d3f;
  font-weight: 700;
  margin-bottom: .6em;
  display: block;
}
.btn {
  display: inline-block;
  padding: 14px 30px;
  background: #23331e;
  color: #fff;
  border-radius: 2px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .85rem;
  border: 1px solid #23331e;
  cursor: pointer;
}
.btn:hover { background: #b08d3f; border-color: #b08d3f; color: #fff; }
.btn-outline {
  background: transparent;
  color: #23331e;
  border: 1px solid #23331e;
}
.btn-outline:hover { background: #23331e; color: #fff; }

/* -------------------------------------------------
   1. HEADER
------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,247,240,.97);
  border-bottom: 1px solid #e8e1d0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1160px;
  margin: 0 auto;
  gap: 20px;
}
.site-branding { display: flex; align-items: center; gap: 12px; }
.site-branding img.custom-logo { max-height: 54px; width: auto; }
.site-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  color: #23331e;
  margin: 0;
  line-height: 1.1;
}
.site-title span { display: block; font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; color: #b08d3f; font-family: 'Lato', sans-serif; font-weight: 700; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.main-nav a {
  color: #23331e;
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .02em;
}
.main-nav a:hover, .main-nav .current-menu-item > a { color: #b08d3f; }

.lang-switch { display: flex; gap: 6px; align-items: center; font-size: .82rem; font-weight: 700; }
.lang-switch a, .lang-switch span {
  padding: 4px 9px;
  border: 1px solid #23331e;
  border-radius: 2px;
  color: #23331e;
}
.lang-switch span.is-active { background: #23331e; color: #fff; }
.lang-switch a:hover { background: #23331e; color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 26px; height: 2px; background: #23331e; display: block; }

@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #faf7f0;
    border-bottom: 1px solid #e8e1d0;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 26px;
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 14px; width: 100%; }
  .lang-switch { margin-top: 16px; }
}

/* -------------------------------------------------
   2. HERO
------------------------------------------------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(20,28,17,.35) 0%, rgba(20,28,17,.75) 100%), #3a4a30;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.hero.has-image { background-blend-mode: multiply; }
.hero-inner { max-width: 1160px; margin: 0 auto; padding: 70px 24px 60px; width: 100%; }
.hero .eyebrow { color: #e3cd8a; }
.hero h1 { color: #fff; font-size: 3rem; max-width: 780px; }
.hero p.lead { font-size: 1.2rem; max-width: 640px; color: #f1efe6; }
.hero-cta { display: flex; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 46px;
  border-top: 1px solid rgba(255,255,255,.25);
  padding-top: 26px;
}
.hero-facts .fact strong { display: block; font-family: 'Playfair Display', serif; font-size: 1.7rem; color: #e3cd8a; }
.hero-facts .fact span { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: #f1efe6; }
@media (max-width: 780px) {
  .hero h1 { font-size: 2.1rem; }
  .hero-facts { grid-template-columns: repeat(2, 1fr); }
}

/* page (non-front) header banner */
.page-banner {
  background: #23331e;
  color: #fff;
  padding: 90px 24px 46px;
  text-align: center;
}
.page-banner h1 { color: #fff; }
.page-banner .eyebrow { color: #e3cd8a; }

/* -------------------------------------------------
   3. SECTIONS / GENERIC CONTENT
------------------------------------------------- */
section { padding: 78px 0; }
section.alt { background: #f1ecdf; }
.section-head { max-width: 700px; margin: 0 auto 44px; text-align: center; }
.section-head.left { margin: 0 0 34px; text-align: left; }

.entry-content h2 { margin-top: 1.4em; }
.entry-content h2:first-child { margin-top: 0; }
.entry-content ul li { margin-bottom: .4em; }
.entry-content { max-width: 820px; margin: 0 auto; }
.entry-content.wide { max-width: 1000px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid #e8e1d0;
  padding: 30px 26px;
  border-radius: 3px;
}
.card h3 { margin-bottom: .4em; }
.card .icon { font-size: 1.8rem; margin-bottom: 14px; display: block; }

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: #23331e;
  color: #fff;
  padding: 40px 24px;
  border-radius: 3px;
}
.stat-strip .stat strong { display: block; font-family: 'Playfair Display', serif; font-size: 2rem; color: #e3cd8a; }
.stat-strip .stat span { font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; }
@media (max-width: 780px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }

.photo-placeholder {
  background: linear-gradient(135deg,#3a4a30,#23331e);
  color: #e3cd8a;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 3px;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  padding: 20px;
}

/* Real photo container (Featured Image) replacing a .photo-placeholder */
.photo-box {
  min-height: 260px;
  border-radius: 3px;
  overflow: hidden;
}
.photo-box img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
  border-radius: 3px;
}

/* Real photos inside a .gallery-grid (attached page images) */
.gallery-grid img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 3px;
  display: block;
}

.cta-band {
  background: #23331e;
  color: #fff;
  text-align: center;
  padding: 70px 24px;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #f1efe6; max-width: 560px; margin: 0 auto 26px; }

/* -------------------------------------------------
   4. GALLERY
------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-grid .photo-placeholder { min-height: 190px; }
@media (max-width: 780px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------
   5. CONTACT
------------------------------------------------- */
.contact-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; }
@media (max-width: 900px) { .contact-wrap { grid-template-columns: 1fr; } }
.contact-info h3 { margin-top: 1.4em; }
.contact-info h3:first-child { margin-top: 0; }
.contact-form label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .9rem; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d8cfb8;
  border-radius: 2px;
  margin-bottom: 18px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.form-notice { padding: 14px 18px; border-radius: 2px; margin-bottom: 20px; font-weight: 700; }
.form-notice.success { background: #e4efe0; color: #23331e; border: 1px solid #b6d2ac; }
.form-notice.error { background: #f6e3e0; color: #7a2a20; border: 1px solid #e3b7ae; }
.map-embed { border: 1px solid #e8e1d0; border-radius: 3px; overflow: hidden; margin-top: 30px; }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

/* -------------------------------------------------
   6. FOOTER
------------------------------------------------- */
.site-footer {
  background: #1a2416;
  color: #cfd3c7;
  padding: 60px 24px 30px;
  font-size: .92rem;
}
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 40px; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }
.site-footer h4 { color: #e3cd8a; font-family: 'Playfair Display', serif; font-size: 1.1rem; }
.site-footer a { color: #cfd3c7; }
.site-footer a:hover { color: #e3cd8a; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 22px;
  text-align: center;
  font-size: .82rem;
  color: #8b9184;
}

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
