/* ==========================================================================
   CHARTE GRAPHIQUE MAISON KATE
   Couleurs officielles :
   - Bordeaux : #33090E
   - Blanc cassé / Crème : #F5ECE3
   - Terracotta : #BF6447
   - Sable / Beige : #E7C99F
   - Marron Foncé : #573020
   - Vert Sauge : #74826A
   ========================================================================== */

:root {
  --primary-color: #33090E;
  --bg-cream: #F5ECE3;
  --terracotta: #BF6447;
  --sand-gold: #E7C99F;
  --brown-accent: #573020;
  --sage-green: #74826A;
  --white: #FFFFFF;
  
  --font-serif: 'Libre Baskerville', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-cream);
  color: var(--primary-color);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  background-color: var(--bg-cream);
  z-index: 1000;
  border-bottom: 1px solid rgba(51, 9, 14, 0.1);
  padding: 15px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 2px;
  color: var(--primary-color);
}

.logo-subtitle {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--terracotta);
}

.nav-menu {
  display: flex;
  gap: 25px;
}

.nav-item {
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-item:hover, .nav-item.active {
  color: var(--terracotta);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.lang-btn {
  background: none;
  border: 1px solid var(--primary-color);
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

/* BOUTONS */
.btn-primary {
  background-color: var(--brown-accent);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: var(--primary-color);
}

.btn-secondary {
  background-color: var(--sand-gold);
  color: var(--primary-color);
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
}

.btn-reservation {
  background-color: var(--brown-accent);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 600;
}

/* HERO SECTION */
.hero-section {
  position: relative;
  height: 80vh;
  background: url('maison.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.25);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 42px;
  margin-bottom: 25px;
  background: rgba(245, 236, 227, 0.85);
  color: var(--primary-color);
  padding: 15px 30px;
  border-radius: 10px;
  display: inline-block;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

/* SECTIONS COMMUNE */
.section {
  padding: 60px 20px;
}

.bg-light {
  background-color: #ECE1D5;
}

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

.section-title {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 25px;
}

/* TEASER ACCUEIL */
.teaser-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.img-placeholder {
  width: 100%;
  height: 300px;
  background: url('bureau.png') center/cover;
  border-radius: 8px;
}

/* MOSAÏQUE À PROPOS */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.photo-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mosaic-item {
  height: 180px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
}

.img-house { background-image: url('maison.png'); }
.img-lounge { background-image: url('salon.png'); }
.img-garden { background-image: url('jardin.png'); }
.img-room { background-image: url('savanna.png'); }

/* CHAMBRES */
.intro-desc {
  margin-bottom: 30px;
  font-size: 16px;
}

.rooms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.room-card {
  background: var(--bg-cream);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.room-img {
  height: 250px;
  background-size: cover;
  background-position: center;
}

.savanna-bg { background-image: url('savanna.png'); }
.karoo-bg { background-image: url('karoo.png'); }

.room-info {
  padding: 20px;
}

.room-info h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  margin-bottom: 10px;
}

/* GALERIE */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.gallery-item {
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: 6px;
}

.item-1 { background-image: url('galerie1.png'); }
.item-2 { background-image: url('galerie2.png'); }
.item-3 { background-image: url('galerie3.png'); }
.item-4 { background-image: url('galerie4.png'); }
.item-5 { background-image: url('galerie5.png'); }
.item-6 { background-image: url('galerie6.png'); }
.item-7 { background-image: url('galerie7.png'); }
.item-8 { background-image: url('galerie8.png'); }

/* EXPÉRIENCES */
.exp-category {
  margin-bottom: 25px;
}

.exp-category h3 {
  font-family: var(--font-serif);
  color: var(--brown-accent);
  margin-bottom: 10px;
}

.exp-category ul {
  list-style: square inside;
}

/* CONTACT */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: url('catherine.png') center/cover;
  margin-bottom: 15px;
}

.phone-link {
  font-size: 20px;
  font-weight: bold;
  color: var(--terracotta);
  margin-bottom: 15px;
}

.contact-house-img {
  height: 200px;
  background: url('maison.png') center/cover;
  border-radius: 8px;
  margin-top: 20px;
}

/* RÉSERVATION DYNAMIQUE */
.booking-bar {
  background: var(--white);
  padding: 20px;
  border-radius: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.date-picker-group input {
  padding: 8px 12px;
  border: 1px solid #CCC;
  border-radius: 15px;
  margin-right: 15px;
}

.nights-counter {
  font-weight: bold;
  font-size: 18px;
  color: var(--brown-accent);
}

.booking-card {
  background: var(--white);
  border-radius: 12px;
  display: flex;
  margin-bottom: 25px;
  overflow: hidden;
}

.booking-card-img {
  width: 35%;
  background-size: cover;
  background-position: center;
}

.booking-card-content {
  width: 65%;
  padding: 25px;
}

.booking-action-row {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}

.counter-control {
  display: flex;
  align-items: center;
  background: #F0F0F0;
  border-radius: 15px;
  padding: 2px 8px;
}

.btn-counter {
  background: none;
  border: none;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  padding: 5px 10px;
}

.price-tag {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
}

/* MODALE */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0; top: 0; width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.6);
}

.modal-content {
  background-color: var(--bg-cream);
  margin: 5% auto;
  padding: 30px;
  border-radius: 10px;
  max-width: 500px;
  position: relative;
}

.close-modal {
  position: absolute;
  right: 20px; top: 15px;
  font-size: 28px;
  cursor: pointer;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #CCC;
  border-radius: 6px;
}

.btn-block {
  width: 100%;
}

footer {
  text-align: center;
  padding: 20px;
  background: var(--primary-color);
  color: var(--white);
  font-size: 13px;
}

/* RESPONSIVE DESIGN MOBILE */
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .teaser-container, .page-layout, .rooms-grid, .contact-layout {
    grid-template-columns: 1fr;
  }
  .booking-card { flex-direction: column; }
  .booking-card-img { width: 100%; height: 200px; }
  .booking-card-content { width: 100%; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .booking-bar { flex-direction: column; gap: 15px; text-align: center; }
}
/* TAILLE ET ALIGNEMENT DU LOGO */
.site-logo {
  height: 85px !important;
  max-height: 85px !important;
  width: auto !important;
  display: block;
  object-fit: contain;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}