/* ==========================================
   Golf House - Home Page Styles
   ========================================== */
:root {
  --gold: #d4af37;
  --gold-light: #e8c820;
  --gold-dark: #b8960c;
  --dark-900: #16140c;
  --dark-800: #1a1811;
  --dark-700: #211e15;
  --dark-600: #2b271d;
  --dark-500: #303030;
  --dark-400: #505050;
  --dark-300: #808080;
  --dark-200: #b0b0b0;
  --dark-100: #e0e0e0;
  --white: #ffffff;
  --transition: 0.3s ease;
}

/* Light mode */
[data-theme="light"] {
  --dark-900: #f5f5f0;
  --dark-800: #eaeae5;
  --dark-700: #e0e0db;
  --dark-600: #d5d5d0;
  --dark-500: #c0c0bb;
  --dark-400: #999994;
  --dark-300: #666661;
  --dark-200: #444440;
  --dark-100: #222220;
  --white: #111111;
}

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

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling {
  overflow-x: clip;
}

body.home-page {
  font-family: 'Tajawal', sans-serif;
  background: var(--dark-900);
  color: var(--white);
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Light mode overrides for scrolled navbar */
[data-theme="light"] .navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

[data-theme="light"] .nav-logo span {
  color: var(--gold-dark) !important;
}

[data-theme="light"] .nav-links a {
  color: #333333 !important;
}

[data-theme="light"] .nav-links a:hover,
[data-theme="light"] .nav-links a.active {
  color: var(--gold-dark) !important;
  background: rgba(212, 175, 55, 0.1) !important;
}

[data-theme="light"] .settings-btn {
  background: #f5f5f5 !important;
  border-color: #ddd !important;
  color: #333 !important;
}

[data-theme="light"] .hamburger span {
  background: #333 !important;
}

[data-theme="light"] .default-avatar {
  border-color: var(--gold-dark) !important;
  color: var(--gold-dark) !important;
}

/* Dark mode scrolled navbar text colors */
.navbar.scrolled .nav-logo span {
  color: var(--gold);
}

.navbar.scrolled .nav-links a {
  color: rgba(255, 255, 255, 0.8);
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.1);
}

.navbar.scrolled .settings-btn {
  background: var(--dark-600);
  border-color: var(--dark-400);
  color: var(--dark-200);
}

.navbar.scrolled .hamburger span {
  background: #fff;
}

.navbar.scrolled .default-avatar {
  border-color: var(--gold);
  color: var(--gold);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--white);
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-logo span {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
}

.nav-links a {
  color: var(--dark-200);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
  transition: all var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Settings Button */
.settings-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--dark-400);
  background: var(--dark-600);
  color: var(--dark-200);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

.settings-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: rotate(45deg);
}

.settings-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  width: 280px;
  background: var(--dark-700);
  border: 1px solid var(--dark-400);
  border-radius: 16px;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  z-index: 100;
}

.settings-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.settings-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--dark-500);
}

.settings-item:last-child {
  border-bottom: none;
}

.settings-item label {
  font-size: 0.85rem;
  color: var(--dark-200);
}

.theme-btn {
  background: var(--dark-600);
  color: var(--white);
  border: 1px solid var(--dark-400);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-family: 'Tajawal', sans-serif;
  cursor: pointer;
  transition: all var(--transition);
  font-weight: 500;
}

.theme-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.lang-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 1rem;
  background: rgba(239, 68, 68, 0.08);
  color: #d85c5c;
  border: 1px solid rgba(239, 68, 68, 0.15);
  padding: 0.5rem 0.8rem !important;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: 'Tajawal', sans-serif;
  cursor: pointer;
  transition: all var(--transition);
  font-weight: 800;
  width: 125px !important;
}

.lang-flag-img {
  width: 26px !important;
  height: 26px !important;
  object-fit: contain !important;
  border-radius: 4px;
}

.lang-btn.en-lang {
  background: rgba(59, 130, 246, 0.08);
  color: #5c93d8;
  border-color: rgba(59, 130, 246, 0.15);
}

.lang-btn:hover {
  opacity: 0.8;
}

.sfx-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 1rem;
  background: rgba(59, 130, 246, 0.08);
  color: #5c93d8;
  border: 1px solid rgba(59, 130, 246, 0.15);
  padding: 0.5rem 0.8rem !important;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: 'Tajawal', sans-serif;
  cursor: pointer;
  transition: all var(--transition);
  font-weight: 800;
  width: 125px !important;
}

.sfx-btn.muted {
  background: rgba(249, 115, 22, 0.08);
  color: #e08341;
  border-color: rgba(249, 115, 22, 0.15);
}

.sfx-btn:hover {
  opacity: 0.8;
}

/* Toggle Switch (legacy, left for reference or other uses) */
.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
  background: var(--dark-500);
  border-radius: 12px;
  cursor: pointer;
  transition: background var(--transition);
}

.toggle-switch.active {
  background: var(--gold);
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  background: var(--white);
  border-radius: 50%;
  transition: transform var(--transition);
}

.toggle-switch.active::after {
  transform: translateX(-20px);
}

.settings-version {
  text-align: center;
  font-size: 0.7rem;
  color: var(--dark-400);
  padding-top: 0.5rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--dark-500);
}

/* Login Button */
.login-btn {
  padding: 0.5rem 1.2rem;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  color: var(--dark-900);
  font-weight: 700;
  font-size: 0.85rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  font-family: 'Tajawal', sans-serif;
}

.login-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

/* User Avatar */
.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
  cursor: pointer;
  transition: all var(--transition);
}

.user-avatar:hover {
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

.default-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--dark-600);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  cursor: pointer;
  transition: all var(--transition);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  background: none;
  border: none;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Mobile Nav Sidebar */
.mobile-nav {
  position: fixed;
  top: 0;
  inset-inline-start: -100%;
  width: 280px;
  height: 100vh;
  background: var(--dark-900);
  border-inline-end: 1px solid var(--dark-700);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 100px 2rem 2rem;
  gap: 1.5rem;
  transition: inset-inline-start 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
}

.mobile-nav.open {
  inset-inline-start: 0;
}

.mobile-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  display: block;
  width: 100%;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--dark-700);
  transition: color var(--transition);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav a:hover {
  color: var(--gold);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(212, 175, 55, 0.15) 0%, transparent 60%),
    linear-gradient(to bottom, rgba(10, 10, 10, 0.3) 0%, rgba(10, 10, 10, 0.8) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 2rem;
}

.hero-logo {
  width: 180px;
  height: auto;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: heroFadeIn 1s 0.2s forwards;
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: heroFadeIn 1s 0.5s forwards;
}

.hero-title .gold {
  color: var(--gold);
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--dark-200);
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0;
  animation: heroFadeIn 1s 0.7s forwards;
}

.scroll-indicator {
  opacity: 0;
  animation: heroFadeIn 1s 1s forwards;
}

.scroll-indicator a {
  display: inline-flex;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  align-items: center;
  justify-content: center;
  color: var(--gold);
  text-decoration: none;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stats Bar */
.stats-bar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  padding: 1.5rem 3rem;
  background: rgba(37, 37, 37, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(80, 80, 80, 0.3);
  border-radius: 20px;
  opacity: 0;
  animation: heroFadeIn 1s 1.2s forwards;
}

.stat-item {
  text-align: center;
  min-width: 100px;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--dark-300);
  margin-top: 0.25rem;
}

/* ---- SECTIONS (shared) ---- */
.section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 20px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--white);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--dark-300);
  max-width: 600px;
  line-height: 1.8;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* ---- ABOUT ---- */
.about-section {
  text-align: center;
  padding: 5rem 2rem;
}

.about-text {
  max-width: 700px;
  margin: 1.5rem auto 0;
  font-size: 1.05rem;
  color: var(--dark-200);
  line-height: 2;
}

/* ---- SERVICES ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.service-card {
  background: var(--dark-700);
  border: 1px solid var(--dark-500);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.2rem;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--gold);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.service-card p {
  font-size: 0.85rem;
  color: var(--dark-300);
  line-height: 1.8;
}

/* ---- PROPERTIES ---- */
.properties-section {
  text-align: center;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

/* ---- UNIT CARD (Projects) ---- */
.unit-card {
  background: var(--dark-800);
  border: 1px solid var(--dark-600);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.unit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
  border-color: var(--gold-500);
}

.unit-img-wrapper {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  display: block;
}

.unit-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  display: block;
}

.unit-card:hover .unit-img-wrapper img {
  transform: scale(1.1);
}

.dev-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #ef4444; /* var(--red) fallback */
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  z-index: 1;
}

.project-logo-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--white);
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  height: 40px;
  z-index: 1;
}

.project-logo-badge img {
  height: 100%;
  object-fit: contain;
}

.property-card {
  background: var(--dark-700);
  border: 1px solid var(--dark-500);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.property-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.property-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.property-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.property-card:hover .property-img img {
  transform: scale(1.08);
}

.property-price {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--gold);
  color: var(--dark-900);
  padding: 0.3rem 0.8rem;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.9rem;
}

.property-info {
  padding: 1.2rem;
  text-align: right;
}

.property-info h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--white);
}

.property-info p {
  font-size: 0.8rem;
  color: var(--dark-300);
}

.view-all-btn {
  display: inline-block;
  margin-top: 2.5rem;
  padding: 0.8rem 2rem;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-weight: 600;
  border-radius: 14px;
  text-decoration: none;
  font-family: 'Tajawal', sans-serif;
  cursor: pointer;
  transition: all var(--transition);
  font-size: 0.95rem;
}

.view-all-btn:hover {
  background: var(--gold);
  color: var(--dark-900);
}

/* ---- PROP CARD (Resale) ---- */
.prop-card {
  background: var(--dark-700);
  border: 1px solid var(--dark-500);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  display: block;
}

.prop-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.prop-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
  display: block;
}

.prop-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
  display: block;
}

.prop-card:hover .prop-card-img img {
  transform: scale(1.06);
}

.prop-card-img .no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-600);
  color: var(--dark-400);
}

.prop-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.prop-price-tag {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--gold);
  color: var(--dark-900);
  padding: 0.35rem 0.9rem;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.prop-card-body {
  padding: 1.2rem;
  text-align: right;
  direction: rtl;
}

.prop-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.prop-card-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--dark-300);
  margin-bottom: 1rem;
}

.prop-card-location svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
  flex-shrink: 0;
}

.prop-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.prop-feature {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--dark-200);
  background: var(--dark-600);
  padding: 0.3rem 0.65rem;
  border-radius: 8px;
}

.prop-feature svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
  flex-shrink: 0;
}

.prop-badge svg {
  width: 12px;
  height: 12px;
}

.prop-card-img .no-img svg {
  width: 48px;
  height: 48px;
}

.prop-card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end; /* right-align details button since no broker */
  padding-top: 1rem;
  border-top: 1px solid var(--dark-500);
}

.prop-details-btn {
  padding: 0.45rem 1rem;
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  font-family: 'Tajawal', sans-serif;
  cursor: pointer;
}

.prop-details-btn:hover {
  background: var(--gold);
  color: var(--dark-900);
}
.cta-section {
  text-align: center;
  padding: 5rem 2rem;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.02));
  border-top: 1px solid var(--dark-500);
  border-bottom: 1px solid var(--dark-500);
}

.cta-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-subtitle {
  color: var(--dark-300);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-primary {
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--dark-900);
  font-weight: 700;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  text-decoration: none;
  font-family: 'Tajawal', sans-serif;
  font-size: 1rem;
  transition: all var(--transition);
}

.cta-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.cta-secondary {
  padding: 0.8rem 2rem;
  background: transparent;
  border: 1px solid var(--dark-400);
  color: var(--white);
  font-weight: 600;
  border-radius: 14px;
  cursor: pointer;
  text-decoration: none;
  font-family: 'Tajawal', sans-serif;
  font-size: 1rem;
  transition: all var(--transition);
}

.cta-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ---- FOOTER ---- */
.footer {
  padding: 3rem 2rem 1.5rem;
  border-top: 1px solid var(--dark-500);
  background: var(--dark-800);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand img {
  height: 50px;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--dark-300);
  font-size: 0.85rem;
  line-height: 1.8;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  color: var(--dark-300);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.3rem 0;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--dark-400);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-300);
  transition: all var(--transition);
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--dark-500);
  font-size: 0.75rem;
  color: var(--dark-400);
}

/* ---- COMING SOON TOAST ---- */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--dark-700);
  border: 1px solid var(--gold);
  color: var(--white);
  padding: 0.8rem 1.5rem;
  border-radius: 14px;
  font-size: 0.9rem;
  z-index: 9999;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  .services-grid,
  .properties-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-bar {
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
  }

  .stat-item {
    min-width: 80px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-logo {
    width: 130px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .services-grid,
  .properties-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    margin: 2rem 1rem 0;
  }

  .stat-item {
    min-width: 70px;
  }

  .stat-number {
    font-size: 1.3rem;
  }

  .navbar {
    padding: 0.8rem 1rem;
  }

  .cta-title {
    font-size: 1.5rem;
  }

  .settings-dropdown {
    left: auto;
    right: auto;
    inset-inline-end: 0;
    width: 250px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.6rem;
  }

  .stats-bar {
    margin: 1.5rem 0.5rem 0;
  }
}

/* ================================================
   LIGHT MODE OVERRIDES
   ================================================ */

/* --- Hero background brighter --- */
[data-theme="light"] .hero-bg img {
  filter: brightness(0.82);
}

/* --- Hero text: white with shadow for readability --- */
[data-theme="light"] .hero-title {
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
}

[data-theme="light"] .hero-title .gold {
  color: var(--gold);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .hero-subtitle {
  color: #f5f5f5;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}

/* --- Stats bar text --- */
[data-theme="light"] .stat-number {
  color: var(--gold);
}

[data-theme="light"] .stat-label {
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

/* --- Navbar links & icons (only when transparent over hero) --- */
[data-theme="light"] body.has-hero .navbar:not(.scrolled) .nav-links a {
  color: #ffffff !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] body.has-hero .navbar:not(.scrolled) .nav-links a:hover,
[data-theme="light"] body.has-hero .navbar:not(.scrolled) .nav-links a.active {
  color: var(--gold) !important;
  background: rgba(212, 175, 55, 0.15) !important;
}

[data-theme="light"] body.has-hero .navbar:not(.scrolled) .hamburger span {
  background: #ffffff !important;
}

[data-theme="light"] body.has-hero .navbar:not(.scrolled) .settings-btn {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  background: rgba(0, 0, 0, 0.25) !important;
}

[data-theme="light"] body.has-hero .navbar:not(.scrolled) .settings-btn:hover {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
}

[data-theme="light"] body.has-hero .navbar:not(.scrolled) .nav-logo {
  color: #ffffff !important;
}

/* --- Scroll indicator --- */
[data-theme="light"] .scroll-indicator a {
  border-color: var(--gold);
  color: var(--gold);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}