/* ===================================
   GHAEMI ESTATES — MAIN STYLES
   =================================== */

:root {
  /* Colors */
  --bg-primary: #0a0a0f;
  --bg-secondary: #0f0f1a;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(161, 130, 98, 0.4);

  /* Text */
  --text-primary: #f0ede8;
  --text-secondary: #9b9089;
  --text-muted: #635c56;

  /* Accent */
  --gold: #c9a96e;
  --gold-light: #e8c98a;
  --gold-dark: #a07840;
  --cream: #f5f0e8;

  /* Gradients */
  --grad-gold: linear-gradient(135deg, #c9a96e 0%, #e8c98a 50%, #a07840 100%);
  --grad-glow: radial-gradient(ellipse at center, rgba(201, 169, 110, 0.15) 0%, transparent 70%);

  /* Fonts */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;

  /* Spacing */
  --section-pad: 100px 0;
  --container-width: 1200px;

  /* Transitions */
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

a { color: inherit; text-decoration: none; cursor: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: none; border: none; background: none; font-family: inherit; }
input, select, textarea, label { cursor: none; }
* { cursor: none !important; }

/* ===== CUSTOM CURSOR ===== */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, background 0.3s ease;
}

.cursor-follower {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(201, 169, 110, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

body.cursor-hover .cursor {
  width: 16px;
  height: 16px;
  background: var(--gold-light);
}

body.cursor-hover .cursor-follower {
  width: 56px;
  height: 56px;
  border-color: rgba(201, 169, 110, 0.3);
}

/* ===== CONTAINER ===== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
}

.section-pad {
  padding: 100px 0;
}

/* ===== TYPOGRAPHY ===== */
.gradient-text {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
}

.section-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 540px;
}

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

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad-gold);
  color: #0a0a0f;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 4px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover::after { opacity: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(201, 169, 110, 0.35); }

.btn-primary.btn-large {
  padding: 18px 48px;
  font-size: 14px;
}

.btn-primary.btn-glow {
  box-shadow: 0 0 30px rgba(201, 169, 110, 0.3);
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(201, 169, 110, 0.3); }
  50% { box-shadow: 0 0 40px rgba(201, 169, 110, 0.6); }
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 30px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 169, 110, 0.06);
  transform: translateY(-2px);
}

.btn-ghost.btn-sm {
  font-size: 11px;
  padding: 10px 22px;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  transition: var(--transition);
}

.btn-link .arrow {
  transition: transform 0.3s ease;
}

.btn-link:hover .arrow { transform: translateX(6px); }
.btn-link:hover { color: var(--gold-light); }

/* ===== GLASS CARD ===== */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: var(--transition);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
}

.nav-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: var(--transition);
}

.nav-logo:hover .nav-logo-img {
  opacity: 0.85;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 16px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-slow);
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
}

.nav-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  transition: var(--transition);
}

.nav-logo:hover { opacity: 0.85; }

.logo-icon {
  font-size: 22px;
  color: var(--gold);
  line-height: 1;
}

.logo-text {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.logo-accent {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  transition: var(--transition);
  padding-bottom: 2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 10px 22px;
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 4px;
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--gold);
  color: #0a0a0f;
  border-color: var(--gold);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-primary);
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(10, 10, 15, 0.97);
  backdrop-filter: blur(24px);
  padding: 20px 40px 32px;
  border-bottom: 1px solid var(--border-color);
  transform: translateY(-10px);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-menu a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: var(--transition);
}

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

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 140px 40px 80px;
  text-align: center;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 20px;
}

.page-hero-content p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

/* ===== HERO ORBS ===== */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  animation: float-orb 8s ease-in-out infinite;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #c9a96e, transparent);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #6e8ac9, transparent);
  bottom: -100px;
  left: -100px;
  opacity: 0.1;
  animation-delay: -3s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #c96e6e, transparent);
  top: 40%;
  left: 30%;
  opacity: 0.06;
  animation-delay: -5s;
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ===== PROPERTY CARDS (shared) ===== */
.property-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.property-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(201,169,110,0.1);
}

.property-card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.property-img-placeholder {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

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

/* Property gradient backgrounds (since we don't have real photos) */
.img-belair {
  background: linear-gradient(135deg, #1a2a3a 0%, #2a3a2a 50%, #1a2a1a 100%);
  position: relative;
}

.img-belcamp {
  background: linear-gradient(135deg, #2a1a2a 0%, #3a2a1a 50%, #2a1a10 100%);
  position: relative;
}

.img-joppa {
  background: linear-gradient(135deg, #0a1a2a 0%, #1a2a3a 50%, #0a1a2a 100%);
  position: relative;
}

.property-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(10,10,15,0.8) 100%);
}

.property-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.property-badge.unavailable {
  background: rgba(100, 90, 80, 0.7);
  border: 1px solid rgba(150,140,130,0.3);
  color: #aaa;
}

.property-badge.available-soon {
  background: rgba(201, 169, 110, 0.2);
  border: 1px solid rgba(201, 169, 110, 0.4);
  color: var(--gold-light);
}

.property-badge.airbnb {
  background: rgba(255, 90, 95, 0.18);
  border: 1px solid rgba(255, 90, 95, 0.5);
  color: #ff5a5f;
}

.property-hover-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  opacity: 0;
  transform: translateY(8px);
  transition: var(--transition);
}

.property-card:hover .property-hover-btn {
  opacity: 1;
  transform: translateY(0);
}

.property-hover-btn a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(10,10,15,0.8);
  padding: 8px 16px;
  border-radius: 4px;
  border: 1px solid rgba(201,169,110,0.3);
  backdrop-filter: blur(10px);
}

.property-card-body {
  padding: 24px;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.location-pin { font-size: 12px; }

.property-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.property-name small {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 300;
  display: block;
}

.property-features {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.property-features span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

/* ===== CTA BANNER ===== */
.cta-banner {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.cta-orb {
  position: absolute;
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(201,169,110,0.12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .logo-icon { font-size: 28px; color: var(--gold); }
.footer-brand .logo-text {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  display: inline-block;
  margin-left: 8px;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer-links h5,
.footer-locations h5,
.footer-contact-info h5 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul a {
  font-size: 13px;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-links ul a:hover { color: var(--text-primary); }

.footer-locations ul li {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.footer-contact-info p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--text-muted); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 60px 0; }
  .section-pad { padding: 60px 0; }

  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }

  .cursor, .cursor-follower { display: none; }
  body, * { cursor: auto !important; }
  a, button, input, select, textarea, label, .filter-pill { cursor: pointer !important; }
  button { cursor: pointer !important; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .nav-inner { padding: 0 16px; }
  .page-hero { padding: 120px 16px 60px; }
}
