/* Apollo Property Management - Shared Styles */
:root {
  --bg: #0b0f19;
  --panel: #101726;
  --panel-2: #121a2b;
  --text: #e6edf6;
  --muted: #9fb3c8;
  --brand: #4aa3ff;
  --brand-2: #7cc9ff;
  --accent: #63f5a1;
  --danger: #ff6b6b;
  --ring: 0 0 0 3px rgba(74, 163, 255, 0.25);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1200px 800px at 100% -10%, rgba(99,245,161,0.08), transparent 60%),
              radial-gradient(1200px 800px at -10% 120%, rgba(74,163,255,0.10), transparent 60%),
              var(--bg);
  line-height: 1.6;
}

/* Layout */
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.stack-24 > * + * { margin-top: 24px; }
.stack-16 > * + * { margin-top: 16px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,15,25,0.7);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(124,201,255,0.15);
}
.site-header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); font-weight: 700; }
.brand-logo { width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, var(--brand), var(--accent)); box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.brand span { letter-spacing: 0.4px; }

.nav { display: flex; gap: 8px; align-items: center; }
.nav a {
  color: var(--text);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 10px;
  transition: 180ms ease;
}
.nav a:hover { background: rgba(124,201,255,0.12); color: white; }
.nav a.active { background: linear-gradient(180deg, rgba(124,201,255,0.25), rgba(124,201,255,0.08)); border: 1px solid rgba(124,201,255,0.25); }

/* Hero */
.hero { padding: 56px 0 28px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: center; }
.hero h1 { margin: 0; font-size: 44px; line-height: 1.15; letter-spacing: -0.5px; }
.hero p { margin: 8px 0 0; font-size: 18px; color: var(--muted); }

.hero-card {
  background: linear-gradient(180deg, rgba(10,16,29,0.9), rgba(16,23,38,0.9));
  border: 1px solid rgba(124,201,255,0.16);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
}
.hero-media { position: relative; aspect-ratio: 16/10; background: #0e1626; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 500px at 80% 20%, rgba(74,163,255,0.20), transparent), radial-gradient(700px 400px at 10% 90%, rgba(99,245,161,0.18), transparent); mix-blend-mode: screen; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; display: block;}

/* Sections */
.section { padding: 24px 0 56px; }
.section h2 { font-size: 28px; margin: 0 0 16px; letter-spacing: -0.2px; }
.section p.lead { color: var(--muted); margin-top: 0; }

/* Cards grid */
.grid { display: grid; gap: 16px; }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 980px) { .hero-inner { grid-template-columns: 1fr; } .grid.cols-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; } .hero h1 { font-size: 32px; } }

.card {
  background: linear-gradient(180deg, rgba(16,23,38,0.9), rgba(18,26,43,0.9));
  border: 1px solid rgba(124,201,255,0.14);
  border-radius: 16px;
  padding: 18px;
  transition: 200ms ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,0.28); border-color: rgba(124,201,255,0.28); }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); }
.card .thumb { border-radius: 12px; overflow: hidden; aspect-ratio: 16/10; margin-bottom: 10px; background: #0e1626; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Badges and pills */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 6px 10px; border-radius: 999px; background: rgba(124,201,255,0.14); color: var(--text); border: 1px solid rgba(124,201,255,0.18); font-size: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; text-decoration: none; color: var(--text); background: linear-gradient(180deg, rgba(124,201,255,0.22), rgba(124,201,255,0.10)); border: 1px solid rgba(124,201,255,0.25); transition: 160ms ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0,0,0,0.25); }
.btn.secondary { background: linear-gradient(180deg, rgba(99,245,161,0.22), rgba(99,245,161,0.10)); border-color: rgba(99,245,161,0.25); }

/* Footer */
.site-footer { margin-top: 36px; padding: 24px 0 40px; border-top: 1px solid rgba(124,201,255,0.14); background: linear-gradient(180deg, rgba(16,23,38,0.6), rgba(18,26,43,0.6)); }
.site-footer p { color: var(--muted); margin: 8px 0 0; font-size: 14px; }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between;}
.site-footer__bottom a { font-size: 14px; color: var(--muted);}
.site-footer__bottom a:hover { color: #fff; transition: .3s color ease;}
@media (max-width: 1023px) {
  .site-footer__bottom { flex-direction: column; align-items: flex-start; row-gap: 10px;}
}

/* Forms */
input, textarea { width: 100%; color: var(--text); background: var(--panel); border: 1px solid rgba(124,201,255,0.16); border-radius: 12px; padding: 12px 14px; outline: none; transition: 160ms ease; }
input:focus, textarea:focus { border-color: var(--brand-2); box-shadow: var(--ring); }
label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 14px; }

/* Utilities */
.muted { color: var(--muted); }
.divider { height: 1px; background: rgba(124,201,255,0.14); margin: 16px 0; border-radius: 1px; }
.map-embed { position: relative; overflow: hidden; width: 100%; border-radius: 16px; border: 1px solid rgba(124,201,255,0.18); }
.map-embed iframe { display: block; width: 100%; height: 420px; filter: saturate(1.05) contrast(1.05); }

/* Skip link for accessibility */
.skip-link { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { position: static; width: auto; height: auto; padding: 8px 12px; background: var(--panel); border: 1px solid rgba(124,201,255,0.25); border-radius: 10px; }


