/*
Theme Name: MarocVacance
Theme URI: https://marocvacance.com
Author: MarocVacance
Author URI: https://marocvacance.com
Description: Thème premium pour MarocVacance.com — Plateforme de location de riads, villas et hôtels au Maroc. Design luxe avec formulaire de publication de biens.
Version: 24.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: marocvacance
Tags: travel, luxury, morocco, property-listing, custom-colors, custom-logo, full-width-template
*/

/* =============================================
   GOOGLE FONTS
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@300;400;500;600&display=swap');

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
  --gold:        #C9A84C;
  --gold-light:  #E8C97A;
  --gold-dark:   #8B6914;
  --green:       #2D5A3D;
  --green-light: #4A8A60;
  --terracotta:  #C4622D;
  --deep:        #1A1209;
  --cream:       #FAF6EF;
  --sand:        #F0E6D0;
  --text:        #2A1F0E;
  --muted:       #7A6A50;
  --border:      rgba(201,168,76,0.25);
  --radius:      4px;
  --transition:  0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.1;
}

h1 { font-size: clamp(48px, 8vw, 88px); font-weight: 300; }
h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 300; }
h3 { font-size: clamp(20px, 2.5vw, 28px); font-weight: 400; }
h4 { font-size: 18px; font-weight: 400; }

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

p { font-size: 15px; line-height: 1.75; color: var(--muted); }

/* =============================================
   LAYOUT UTILITIES
   ============================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container--wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
}

.section { padding: 80px 0; }

.section--dark  { background: var(--deep); }
.section--sand  { background: var(--sand); }
.section--cream { background: var(--cream); }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 15px;
  color: var(--muted);
  max-width: 520px;
  margin: 1rem auto 0;
  line-height: 1.75;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  border: none;
}

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

.btn--outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}
.btn--outline:hover { border-color: var(--gold); color: var(--gold); }

.btn--dark {
  background: var(--deep);
  color: var(--gold);
  border: 1px solid var(--border);
}
.btn--dark:hover { background: var(--gold); color: var(--deep); }

/* =============================================
   HEADER / NAVIGATION
   ============================================= */
#site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(26,18,9,0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201,168,76,0.18);
  transition: background var(--transition);
}

#site-header.scrolled {
  background: rgba(26,18,9,0.98);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 3rem;
}

/* Logo */
.site-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.site-logo span { color: #fff; font-weight: 300; }

/* Primary nav */
#primary-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

#primary-menu .menu-item a {
  color: rgba(255,255,255,0.72);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color var(--transition);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}

#primary-menu .menu-item a:hover,
#primary-menu .menu-item.current-menu-item a {
  color: var(--gold);
  border-color: var(--gold);
}

#primary-menu .menu-item--cta a {
  background: var(--gold);
  color: var(--deep) !important;
  padding: 9px 22px;
  border-radius: var(--radius);
  border: none !important;
  font-weight: 600;
}
#primary-menu .menu-item--cta a:hover { background: var(--gold-light); }

/* Hamburger (mobile) */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  color: #fff;
  padding: 8px 12px;
  font-size: 18px;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #1A1209 0%, #2D1F0A 40%, #3D2A0F 70%, #1A1209 100%);
}

.hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpath d='M40 0 L80 40 L40 80 L0 40Z' fill='none' stroke='%23C9A84C' stroke-width='1'/%3E%3Ccircle cx='40' cy='40' r='15' fill='none' stroke='%23C9A84C' stroke-width='0.5'/%3E%3Cpath d='M40 10 L70 40 L40 70 L10 40Z' fill='none' stroke='%23C9A84C' stroke-width='0.5'/%3E%3C/svg%3E");
  background-size: 80px 80px;
}

.hero__glow {
  position: absolute;
  top: 20%; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 450px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(201,168,76,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 960px;
}

.hero__eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.hero__eyebrow::before,
.hero__eyebrow::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.hero__title {
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero__subtitle {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.58);
  max-width: 520px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

/* Search bar */
.hero__search {
  background: #fff;
  border-top: 3px solid var(--gold);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  border-radius: 4px 4px 0 0;
  overflow: hidden;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.35);
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
}

.search-field {
  padding: 20px 24px;
  border-right: 1px solid #eee;
}

.search-field label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}

.search-field select,
.search-field input {
  width: 100%;
  border: none;
  outline: none;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: transparent;
}

.search-submit {
  background: var(--gold);
  border: none;
  padding: 0 32px;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--deep);
  transition: background var(--transition);
}
.search-submit:hover { background: var(--gold-dark); color: #fff; }

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
  background: var(--deep);
  padding: 60px 0;
}

.stats-bar__inner {
  display: flex;
  justify-content: center;
  gap: 6rem;
  flex-wrap: wrap;
}

.stat-item { text-align: center; }

.stat-item__number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  font-weight: 300;
  color: var(--gold);
  display: block;
  line-height: 1;
}

.stat-item__label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 8px;
  display: block;
}

/* =============================================
   PROPERTY TYPE CARDS
   ============================================= */
.types-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
}

.type-card {
  background: var(--cream);
  padding: 52px 40px;
  text-align: center;
  cursor: pointer;
  transition: background var(--transition);
  position: relative;
  overflow: hidden;
}

.type-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.type-card:hover::after { transform: scaleX(1); }
.type-card:hover { background: #fff; }

.type-card__icon { font-size: 52px; margin-bottom: 1.5rem; display: block; }
.type-card__title { font-size: 28px; font-weight: 400; color: var(--text); margin-bottom: 0.75rem; }
.type-card__desc { font-size: 13px; color: var(--muted); line-height: 1.8; }

.type-card__count {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

/* =============================================
   PROPERTY CARDS
   ============================================= */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 12px 8px 20px; /* Sufficient padding so box-shadows are never clipped */
  align-items: start; /* Prevent cards from stretching to tallest in row */
}

/* ═════════════════════════════════════════════════════════════
   PROPERTY CARDS - DESIGN MODERNE AVEC SLIDER
   ═════════════════════════════════════════════════════════════ */

.mv-prop-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden; /* Clip image corners correctly */
  box-shadow: 0 2px 16px rgba(26, 18, 9, 0.08);   /* Visible at rest */
  border: 1px solid rgba(201, 168, 76, 0.10);      /* Subtle gold border */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mv-prop-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(26, 18, 9, 0.18);
}

/* ─────────────────────────────────────────────────────────────
   IMAGE CONTAINER & SLIDER
   ───────────────────────────────────────────────────────────── */

.mv-prop-card__img-link {
  display: block;
  text-decoration: none;
  position: relative;
  /* border-radius handled by parent card overflow:hidden */
}

.mv-prop-card__img {
  height: 260px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
  /* No border-radius needed — parent card clips */
}

.mv-prop-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.02) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Slider Track */
.mv-slider__track {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
}

/* Individual Slides */
.mv-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.mv-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.mv-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.mv-prop-card:hover .mv-slide.is-active img {
  transform: scale(1.05);
}

/* ─────────────────────────────────────────────────────────────
   SLIDER CONTROLS
   ───────────────────────────────────────────────────────────── */

/* Navigation Arrows */
.mv-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  color: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: all 0.2s ease;
  z-index: 10;
  padding: 0;
}

.mv-slider__arrow svg {
  width: 14px;
  height: 14px;
}

.mv-prop-card__img:hover .mv-slider__arrow {
  opacity: 1;
}

.mv-slider__arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.mv-slider__arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.mv-slider__arrow--prev {
  left: 12px;
}

.mv-slider__arrow--next {
  right: 12px;
}

/* Pagination Dots */
.mv-slider__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.mv-prop-card__img:hover .mv-slider__dots {
  opacity: 1;
  pointer-events: auto;
}

.mv-slider__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.mv-slider__dot:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.3);
}

.mv-slider__dot.is-active {
  background: #fff;
  width: 8px;
  height: 8px;
}

/* Image Counter */
.mv-slider__counter {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(26, 18, 9, 0.75);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 6px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ─────────────────────────────────────────────────────────────
   BADGES & FAVORITE BUTTON
   ───────────────────────────────────────────────────────────── */

.mv-prop-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--gold);
  color: var(--deep);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 6px;
  z-index: 12;
  box-shadow: 0 2px 8px rgba(201, 168, 76, 0.3);
}

.mv-prop-card__fav {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  z-index: 15;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mv-prop-card__fav:hover {
  background: #fff;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mv-prop-card__fav:active {
  transform: scale(0.95);
}

.mv-prop-card__fav.is-faved {
  color: #C4622D;
}

.mv-prop-card__fav svg {
  transition: all 0.2s ease;
}

.mv-prop-card__fav.is-faved svg {
  fill: currentColor;
  animation: heartBeat 0.3s ease;
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* Placeholder when no image */
.mv-prop-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  width: 100%;
  height: 100%;
  opacity: 0.4;
}

.placeholder--riad {
  background: linear-gradient(135deg, #8B6914 0%, #C9A84C 50%, #6B4E0A 100%);
}

.placeholder--villa {
  background: linear-gradient(135deg, #2D5A3D 0%, #5A9E70 50%, #1A3D28 100%);
}

.placeholder--hotel {
  background: linear-gradient(135deg, #4A2D6B 0%, #8B5CCC 50%, #2D1A4A 100%);
}

/* ─────────────────────────────────────────────────────────────
   CARD BODY
   ───────────────────────────────────────────────────────────── */

.mv-prop-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #fff; /* Ensure white bg even when card clips */
}

.mv-prop-card__type {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mv-prop-card__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 10px 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 54px;
}

.mv-prop-card__name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mv-prop-card__name a:hover {
  color: var(--gold);
}

.mv-prop-card__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.mv-prop-card__meta span {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.01em;
}

.mv-prop-card__divider {
  border: none;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  margin: auto 0 14px 0;
}

.mv-prop-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mv-prop-card__price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
}

.mv-prop-card__price span {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
}

/* ─────────────────────────────────────────────────────────────
   STARS RATING
   ───────────────────────────────────────────────────────────── */

.mv-stars {
  display: flex;
  gap: 2px;
}

.mv-stars svg {
  width: 14px;
  height: 14px;
  fill: var(--gold);
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .mv-prop-card__img {
    height: 220px;
  }
  
  .mv-slider__arrow {
    width: 28px;
    height: 28px;
  }
  
  .mv-slider__arrow svg {
    width: 12px;
    height: 12px;
  }
  
  .mv-prop-card__fav {
    width: 32px;
    height: 32px;
  }
  
  .mv-prop-card__body {
    padding: 16px;
  }
  
  .mv-prop-card__name {
    font-size: 19px;
  }
  
  .mv-prop-card__price {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .mv-prop-card__img {
    height: 200px;
  }
  
  /* Masquer les flèches sur très petit écran (swipe tactile) */
  .mv-slider__arrow {
    display: none;
  }
  
  /* Toujours afficher les dots sur mobile */
  .mv-slider__dots {
    opacity: 1;
    pointer-events: auto;
  }
}

.property-card__stars { color: var(--gold); font-size: 13px; letter-spacing: 2px; }

/* ─ Card meta row (bedrooms / capacity) ─ */
.mv-prop-card__meta {
  display: flex;
  gap: 12px;
  margin: 8px 0 0;
}
.mv-prop-card__meta span {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 3px;
  letter-spacing: .02em;
}

/* =============================================
   DESTINATIONS GRID
   ============================================= */
.destinations-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 12px;
}

.dest-card {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.dest-card--large { grid-row: 1 / 3; }

.dest-card__inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  position: relative;
  transition: filter 0.3s;
}

.dest-card__inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 55%);
  transition: opacity 0.3s;
}
.dest-card:hover .dest-card__inner::after { opacity: 0.55; }

.dest-card__bg-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-size: 90px;
  opacity: 0.2;
}

.dest-card__info { position: relative; z-index: 1; }

.dest-card__city {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: #fff;
  display: block;
}
.dest-card--large .dest-card__city { font-size: 38px; }

.dest-card__count {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
  margin-top: 4px;
  display: block;
}

/* Background colors per city */
.bg--marrakech    { background: linear-gradient(135deg,#8B3A1A,#C4622D,#5C2210); }
.bg--fes          { background: linear-gradient(135deg,#1A4A5C,#2E7A9E,#0F2D3A); }
.bg--chefchaouen  { background: linear-gradient(135deg,#1A2A5C,#2E4A9E,#0F1A3A); }
.bg--essaouira    { background: linear-gradient(135deg,#1A4A2A,#2E8A4A,#0F2D1A); }
.bg--agadir       { background: linear-gradient(135deg,#5C4A1A,#9E7A2E,#3A2D0F); }

/* =============================================
   LIST PROPERTY SECTION
   ============================================= */
.list-section {
  background: var(--deep);
  position: relative;
  overflow: hidden;
}

.list-section::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(201,168,76,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.list-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 6rem;
  align-items: start;
}

.list-left h2 { color: #fff; }
.list-left p  { color: rgba(255,255,255,0.5); margin-top: 1.5rem; }

.list-benefits {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.list-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14px;
  color: rgba(255,255,255,0.62);
}

.benefit-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 7px;
  flex-shrink: 0;
}

/* Listing Form */
.listing-form-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.22);
  border-radius: var(--radius);
  padding: 44px;
}

.listing-form-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 32px;
}

.type-selector {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.type-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6);
  padding: 8px 16px;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: all var(--transition);
}
.type-btn.is-active,
.type-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--deep);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group--full { grid-column: 1 / -1; }

.form-group label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.7);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px;
  padding: 12px 14px;
  color: #fff;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group select option { background: #2A1F0E; color: #fff; }
.form-group textarea     { resize: vertical; min-height: 100px; line-height: 1.6; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.28); }

.form-submit {
  width: 100%;
  margin-top: 24px;
  background: var(--gold);
  border: none;
  color: var(--deep);
  padding: 16px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.form-submit:hover { background: var(--gold-light); }

/* WP Forms compatibility */
.wpcf7-form .form-group input,
.wpcf7-form .form-group textarea,
.wpcf7-form .form-group select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
}

/* =============================================
   FOOTER
   ============================================= */
#site-footer {
  background: #0F0B05;
  padding: 72px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 52px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand .site-logo { font-size: 20px; }

.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.32);
  margin-top: 1rem;
  line-height: 1.75;
  max-width: 260px;
}

.footer-col h4 {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.38);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: rgba(255,255,255,0.8); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.18);
}

.footer-langs {
  display: flex;
  gap: 1.25rem;
}
.footer-langs a {
  font-size: 11px;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.08em;
  transition: color var(--transition);
}
.footer-langs a:hover { color: var(--gold); }

/* =============================================
   SINGLE PROPERTY PAGE
   ============================================= */
.property-single { padding-top: 80px; }

.property-gallery {
  height: 520px;
  position: relative;
  overflow: hidden;
}
.property-gallery img { width: 100%; height: 100%; object-fit: cover; }

.property-content { padding: 60px 0; }

.property-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}

.property-meta { display: flex; gap: 2rem; flex-wrap: wrap; margin: 1.5rem 0; }
.property-meta span { font-size: 13px; color: var(--muted); }

.property-amenities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
.amenity-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  padding: 12px;
  background: var(--sand);
  border-radius: var(--radius);
}

/* Booking Widget */
.booking-widget {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 88px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}

.booking-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 20px;
}
.booking-price span { font-family: 'Jost', sans-serif; font-size: 14px; color: var(--muted); }

/* =============================================
   ARCHIVE / LISTING PAGE
   ============================================= */
.archive-header {
  background: var(--deep);
  padding: 140px 0 60px;
  text-align: center;
}
.archive-header h1 { color: #fff; }

.archive-filters {
  background: #fff;
  padding: 24px 0;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 68px;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.filters-inner {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.filter-select {
  border: 1px solid #ddd;
  border-radius: var(--radius);
  padding: 10px 16px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  color: var(--text);
  background: #fff;
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition);
}
.filter-select:focus { border-color: var(--gold); }

/* =============================================
   BREADCRUMBS
   ============================================= */
.breadcrumbs {
  font-size: 12px;
  color: var(--muted);
  padding: 16px 0;
  display: flex;
  gap: 8px;
  align-items: center;
}
.breadcrumbs a { color: var(--gold); }
.breadcrumbs span { color: #ccc; }

/* =============================================
   WIDGETS
   ============================================= */
.widget { margin-bottom: 2rem; }
.widget-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

/* =============================================
   PAGINATION
   ============================================= */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 3rem;
}

.page-number, .prev, .next {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text);
  transition: all var(--transition);
  text-decoration: none;
}
.page-number:hover, .prev:hover, .next:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.page-number.current {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--deep);
  font-weight: 600;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .properties-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .types-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .list-inner { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .header-inner { padding: 0 1.5rem; }
  #primary-menu { display: none; flex-direction: column; position: fixed; top: 68px; left: 0; right: 0; background: rgba(26,18,9,0.98); padding: 2rem; gap: 1.25rem; }
  #primary-menu.is-open { display: flex; }
  .menu-toggle { display: block; }

  .hero__search { grid-template-columns: 1fr; }
  .search-field { border-right: none; border-bottom: 1px solid #eee; }
  .search-submit { padding: 18px; }

  .stats-bar__inner { gap: 2.5rem; }
  .properties-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .destinations-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .dest-card--large { grid-row: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group--full { grid-column: 1; }
  .footer-top { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .container, .container--wide { padding: 0 1.25rem; }
  .property-layout { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero__buttons { flex-direction: column; align-items: center; }
  .listing-form-card { padding: 28px 20px; }
}

/* =============================================
   BLOG SECTION — Front Page
   ============================================= */
.mv-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.mv-blog-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0,0,0,.07);
  border: 1px solid rgba(201,168,76,.08);
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.mv-blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,.13);
}

.mv-blog-card__img {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #7A2210, #C4622D);
}
.mv-blog-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.mv-blog-card:hover .mv-blog-card__img img { transform: scale(1.05); }
.mv-blog-card__img--placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #8B6914 0%, #C9A84C 50%, #6B4E0A 100%);
  opacity: .7;
}

.mv-blog-card__cat {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--gold);
  color: var(--deep);
  font-size: 9px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 2px;
}

.mv-blog-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mv-blog-card__meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
}

.mv-blog-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.25;
  margin: 0 0 10px;
}
.mv-blog-card__title a { color: var(--text); text-decoration: none; }
.mv-blog-card__title a:hover { color: var(--gold); }

.mv-blog-card__excerpt {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
}

.mv-blog-card__read {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}
.mv-blog-card__read:hover { color: var(--copper); }

.mv-blog-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--muted);
  font-size: 15px;
}

/* =============================================
   PREMIUM BADGE (dashboard inline)
   ============================================= */
.mv-action-btn--ical {
  background: rgba(201,168,76,.12);
  color: #8B6914;
  border: 1px solid rgba(201,168,76,.3);
}
.mv-action-btn--ical:hover { background: rgba(201,168,76,.22); }
.mv-action-btn--copy {
  background: rgba(201,168,76,.08);
  color: #8B6914;
  border: 1px solid rgba(201,168,76,.2);
  font-family: inherit; font-size: inherit;
}
.mv-action-btn--copy:hover { background: rgba(201,168,76,.18); }

/* Blog grid responsive */
@media (max-width: 960px) {
  .mv-blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .mv-blog-grid { grid-template-columns: 1fr; }
}
