/*
Theme Name: BA Investment Group
Theme URI: https://bainvest.net
Author: BA Investment Group-Real Estate, LLC
Author URI: https://bainvest.net
Description: Custom institutional theme for BA Investment Group-Real Estate, LLC
Version: 1.0
License: Private
Text Domain: ba-invest
*/

/* Reset & Base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  color: #0a1628;
  background: #f5f1eb;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

:root {
  --navy: #0a1628;
  --navy-mid: #13243d;
  --navy-light: #1a3050;
  --gold: #b89a5a;
  --gold-light: #d4bc82;
  --gold-muted: rgba(184, 154, 90, 0.12);
  --cream: #f5f1eb;
  --cream-dark: #e8e2d8;
  --white: #ffffff;
  --text-primary: #0a1628;
  --text-secondary: #4a5568;
  --text-light: rgba(255,255,255,0.85);
  --text-light-muted: rgba(255,255,255,0.5);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Outfit', sans-serif;
}

/* ===================== NAV ===================== */
nav#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 4rem;
  transition: all 0.4s ease;
}
nav#navbar.scrolled {
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(12px);
  padding: 1rem 4rem;
  box-shadow: 0 1px 20px rgba(0,0,0,0.2);
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.08em;
  text-decoration: none;
  line-height: 1.2;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-light-muted);
  text-decoration: none;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  height: 100vh; min-height: 700px;
  display: flex; align-items: center;
  background: var(--navy);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(184,154,90,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(26,48,80,0.6) 0%, transparent 50%),
    linear-gradient(180deg, var(--navy) 0%, #0d1f35 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(184,154,90,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,154,90,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
}
.hero-line {
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(184,154,90,0.15) 30%, rgba(184,154,90,0.15) 70%, transparent 100%);
}
.hero-line:nth-child(1) { left: 15%; }
.hero-line:nth-child(2) { left: 50%; }
.hero-line:nth-child(3) { left: 85%; }

.hero-content {
  position: relative; z-index: 2;
  padding: 0 4rem;
  max-width: 900px;
}
.hero-tag {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.3s forwards;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.5s forwards;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-desc {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-light-muted);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.7s forwards;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(184,154,90,0.3);
  transition: all 0.3s;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.9s forwards;
}
.hero-cta:hover { border-bottom-color: var(--gold); gap: 1.1rem; }
.hero-cta svg { width: 16px; height: 16px; transition: transform 0.3s; }
.hero-cta:hover svg { transform: translateX(4px); }

.hero-stats {
  position: absolute;
  right: 4rem; bottom: 6rem;
  z-index: 2;
  display: flex; flex-direction: column; gap: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.1s forwards;
}
.stat { text-align: right; }
.stat-value {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-light-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 0.4rem;
}

/* ===================== SECTIONS ===================== */
.ba-section { padding: 8rem 4rem; }

.section-tag {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-title.light { color: var(--white); }

/* ===================== ABOUT ===================== */
#about { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  max-width: 1200px;
  margin: 0 auto;
}
.about-text {
  font-size: 1.02rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}
.about-right {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-top: 1rem;
}
.principle {
  padding: 2rem 0;
  border-bottom: 1px solid var(--cream-dark);
}
.principle:first-child { border-top: 1px solid var(--cream-dark); }
.principle-num {
  font-family: var(--serif);
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.principle-title {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.principle-desc {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===================== FOCUS AREAS ===================== */
#focus { background: var(--navy); }
.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 1200px;
  margin: 3rem auto 0;
}
.focus-card {
  background: var(--navy-mid);
  padding: 3rem 2.5rem;
  transition: background 0.4s;
  position: relative;
}
.focus-card:hover { background: var(--navy-light); }
.focus-card::before {
  content: '';
  position: absolute; top: 0; left: 2.5rem;
  width: 30px; height: 2px;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.4s;
}
.focus-card:hover::before { opacity: 1; }
.focus-icon {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-weight: 300;
}
.focus-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 1rem;
}
.focus-desc {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-light-muted);
  line-height: 1.75;
}

/* ===================== CONTACT ===================== */
#contact { background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  max-width: 1200px;
  margin: 0 auto;
}
.contact-block { margin-bottom: 2.5rem; }
.contact-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.contact-value {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
}
.contact-value a {
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--cream-dark);
  transition: border-color 0.3s;
}
.contact-value a:hover { border-color: var(--gold); }

.contact-form .form-group { margin-bottom: 1.5rem; }
.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.form-input,
.form-textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-primary);
  background: var(--white);
  border: 1px solid var(--cream-dark);
  padding: 1rem 1.25rem;
  outline: none;
  transition: border-color 0.3s;
}
.form-input:focus,
.form-textarea:focus { border-color: var(--gold); }
.form-textarea { resize: vertical; min-height: 140px; }
.form-btn {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--white);
  background: var(--navy);
  border: none;
  padding: 1.1rem 3rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
}
.form-btn:hover { background: var(--navy-mid); }

/* ===================== FOOTER ===================== */
footer.ba-footer {
  background: var(--navy);
  padding: 3rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light-muted);
}
.footer-logo span { color: var(--gold); }
.footer-legal {
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--text-light-muted);
  letter-spacing: 0.05em;
}
.footer-disc {
  text-align: center;
  padding: 1.5rem 4rem;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-disc p {
  font-size: 0.68rem;
  font-weight: 300;
  color: rgba(255,255,255,0.3);
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
}

/* ===================== UTILITIES ===================== */
.divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem 0 2rem;
}
.divider.light { background: rgba(184,154,90,0.4); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  nav#navbar { padding: 1.2rem 2rem; }
  nav#navbar.scrolled { padding: 0.8rem 2rem; }
  .ba-section { padding: 5rem 2rem; }
  .hero-content { padding: 0 2rem; }
  .hero-stats { display: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .focus-grid { grid-template-columns: 1fr; }
  footer.ba-footer { flex-direction: column; gap: 1rem; text-align: center; padding: 2.5rem 2rem; }
}

@media (max-width: 600px) {
  .nav-links { gap: 1.5rem; }
  .nav-links a { font-size: 0.7rem; letter-spacing: 0.1em; }
}
