/* ===========================================================
   HOUZEZ CHILD – DUBAI LUXURY EDITION
   Par Houngues Dev Team
   =========================================================== */

/* === TYPOGRAPHIE === */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@400;500&display=swap');

body {
  background-color: #0a0a0a;
  color: #f2f2f2;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: #d4af37;
  font-weight: 600;
  letter-spacing: 0.4px;
}

/* === COULEURS PRINCIPALES === */
:root {
  --gold: #d4af37;
  --black: #0a0a0a;
  --anthracite: #1c1c1c;
  --white: #f2f2f2;
  --sand: #c2a878;
}

/* === HEADER === */
.header {
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  transition: all 0.3s ease-in-out;
}
.header.sticky-header {
  background: rgba(10, 10, 10, 0.95);
  border-bottom-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}
.main-nav > li > a {
  color: var(--white) !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
  transition: color 0.3s;
}
.main-nav > li > a:hover {
  color: var(--gold) !important;
}
.header .logo img:hover {
  filter: drop-shadow(0 0 8px rgba(212,175,55,0.6));
}

/* === HERO GLOBAL (appliqué à toutes les sections avec image de fond) === */
.elementor-section[data-id*="3b1845a"],
.houzez-banner-main,
.header-media {
  position: relative;
  color: var(--white);
  overflow: hidden;
}
.elementor-section[data-id*="3b1845a"] > .elementor-background-overlay,
.houzez-banner-main > .elementor-background-overlay {
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.85) 0%,
    rgba(212,175,55,0.18) 40%,
    rgba(0,0,0,0.9) 100%
  ) !important;
  mix-blend-mode: multiply;
  opacity: 1 !important;
  filter: brightness(1.05) contrast(1.1) saturate(1.15);
}
.elementor-section[data-id*="3b1845a"] .elementor-button,
.houzez-banner-main .btn {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: rgba(0,0,0,0.25);
  transition: all 0.3s ease;
}
.elementor-section[data-id*="3b1845a"] .elementor-button:hover,
.houzez-banner-main .btn:hover {
  background: var(--gold);
  color: var(--black);
  box-shadow: 0 0 12px rgba(212,175,55,0.4);
}

/* === BOUTONS GLOBAUX === */
.btn-primary, .houzez-button {
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  transition: all 0.3s ease;
}
.btn-primary:hover, .houzez-button:hover {
  background: var(--gold);
  color: var(--black);
  box-shadow: 0 0 10px rgba(212,175,55,0.4);
}

/* === CARTES PROPRIÉTÉS === */
.property-item, .listing-card {
  background: var(--anthracite);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.property-item:hover, .listing-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(212,175,55,0.15);
}
.property-item .item-title a {
  color: var(--white);
}
.property-item .item-title a:hover {
  color: var(--gold);
}

/* === FORMULAIRES === */
input, select, textarea {
  background-color: #111;
  color: var(--white);
  border: 1px solid rgba(212,175,55,0.2);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 8px rgba(212,175,55,0.3);
}

/* === FOOTER === */
.footer {
  background: var(--black);
  color: #ccc;
  border-top: 1px solid rgba(212,175,55,0.15);
}
.footer a {
  color: #bbb;
}
.footer a:hover {
  color: var(--gold);
}

/* === SCROLLBAR PERSONNALISÉE === */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--gold), var(--anthracite));
  border-radius: 10px;
}
::-webkit-scrollbar-track {
  background: #111;
}



/* === HERO FINAL – DUBAI SUNSET PREMIUM === */

/* Cible toutes les sections héro avec image de fond */
.elementor-section[data-id*="3b1845a"],
.houzez-banner-main,
.header-media {
  position: relative;
  overflow: hidden;
  color: #f2f2f2;
}

/* Superposition dorée équilibrée */
.elementor-section[data-id*="3b1845a"] > .elementor-background-overlay,
.houzez-banner-main > .elementor-background-overlay {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(212, 175, 55, 0.12) 30%,
    rgba(212, 175, 55, 0.22) 50%,
    rgba(0, 0, 0, 0.92) 100%
  ) !important;
  mix-blend-mode: multiply;
  opacity: 1 !important;
  transition: opacity 0.8s ease, filter 0.8s ease;
  filter: brightness(1.05) contrast(1.15) saturate(1.1);
}

/* Légère animation d’apparition au chargement */
.elementor-section[data-id*="3b1845a"] > .elementor-background-overlay {
  animation: fadeGold 1.2s ease-in-out forwards;
}
@keyframes fadeGold {
  0% { opacity: 0; filter: brightness(0.7) saturate(0.8); }
  100% { opacity: 1; filter: brightness(1.05) contrast(1.15) saturate(1.1); }
}

/* Contenu par-dessus */
.elementor-section[data-id*="3b1845a"] .elementor-container {
  position: relative;
  z-index: 2;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
}

/* Boutons du hero */
.elementor-section[data-id*="3b1845a"] .elementor-button {
  border: 1px solid #d4af37;
  color: #d4af37;
  background: rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}
.elementor-section[data-id*="3b1845a"] .elementor-button:hover {
  background: #d4af37;
  color: #0a0a0a;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

/* HEADER effet au scroll */
.header {
  background: rgba(10,10,10,0.7);
  backdrop-filter: blur(8px);
  transition: background 0.4s ease;
}
.header.sticky-header {
  background: rgba(10,10,10,0.98);
  border-bottom-color: rgba(212,175,55,0.35);
  box-shadow: 0 0 20px rgba(212,175,55,0.15);
}
