/* ================================================
   VIKAS SHYAM — Personal Website
   Design: Editorial Minimal — navy, white, slate
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --navy: #0f1b2d;
  --navy-light: #1a2d47;
  --slate: #3d4f5f;
  --blue: #2a6faf;
  --blue-light: #3a8fd4;
  --blue-muted: #e8f1f8;
  --gold: #c59b4e;
  --white: #ffffff;
  --off-white: #f7f8fa;
  --gray-100: #f0f2f5;
  --gray-200: #e2e5ea;
  --gray-300: #c8cdd4;
  --gray-500: #6b7a8d;
  --gray-700: #3d4955;
  --text: #1a1a2e;
  --text-light: #5a6577;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1200px;
  --section-pad: 80px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color 0.25s; }
a:hover { color: var(--blue-light); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(15, 27, 45, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s;
}
.nav-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 32px;
  display: flex; justify-content: space-between; align-items: center;
  height: 72px;
}
.nav-logo {
  font-family: var(--font-display); font-size: 1.5rem;
  color: var(--white); letter-spacing: -0.02em;
}
.nav-logo:hover { color: var(--gold); }
.nav-links { display: flex; gap: 8px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.7); font-size: 0.875rem; font-weight: 500;
  padding: 8px 16px; border-radius: 6px; transition: all 0.25s;
  letter-spacing: 0.01em;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white); background: rgba(255,255,255,0.08);
}

/* Mobile menu */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--white);
  margin: 6px 0; transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  padding: 160px 0 var(--section-pad);
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-light) 50%, #1e3a5a 100%);
  color: var(--white); position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(to bottom, transparent, var(--white));
}
.hero-content {
  display: grid; grid-template-columns: 1fr 300px; gap: 64px; align-items: center;
  position: relative; z-index: 1;
}
.hero-text h1 {
  font-family: var(--font-display); font-size: 3.5rem; line-height: 1.12;
  letter-spacing: -0.03em; margin-bottom: 24px;
}
.hero-text h1 em { font-style: italic; color: var(--gold); }
.hero-tagline {
  font-size: 1.25rem; color: rgba(255,255,255,0.7); margin-bottom: 40px;
  max-width: 520px; line-height: 1.6;
}
.hero-photo {
  width: 280px; height: 280px; border-radius: 50%; overflow: hidden;
  border: 3px solid rgba(255,255,255,0.15); box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ===== STATS ROW ===== */
.stats {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px;
  padding: 48px 0; margin-top: -40px; position: relative; z-index: 2;
}
.stat {
  text-align: center; padding: 32px 16px;
  background: var(--white); border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border: 1px solid var(--gray-200);
  transition: transform 0.3s, box-shadow 0.3s;
}
.stat:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
.stat-number {
  font-family: var(--font-display); font-size: 2.25rem; color: var(--navy);
  line-height: 1; margin-bottom: 8px;
}
.stat-label { font-size: 0.8rem; color: var(--gray-500); font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }

/* ===== SECTION ===== */
.section { padding: var(--section-pad) 0; }
.section--alt { background: var(--off-white); }
.section--navy { background: var(--navy); color: var(--white); }

.section-header {
  text-align: center; max-width: 700px; margin: 0 auto 56px;
}
.section-header h2 {
  font-family: var(--font-display); font-size: 2.5rem; letter-spacing: -0.02em;
  margin-bottom: 16px; color: var(--navy);
}
.section--navy .section-header h2 { color: var(--white); }
.section-header p { color: var(--text-light); font-size: 1.05rem; }
.section--navy .section-header p { color: rgba(255,255,255,0.6); }

.section-label {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--blue); margin-bottom: 12px;
  display: block;
}

/* ===== TRACK CARDS (Homepage) ===== */
.tracks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.track-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: 16px;
  padding: 40px; transition: all 0.3s; position: relative; overflow: hidden;
}
.track-card:hover {
  border-color: var(--blue); box-shadow: 0 8px 40px rgba(42,111,175,0.08);
  transform: translateY(-2px);
}
.track-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--blue); transform: scaleX(0); transition: transform 0.3s;
  transform-origin: left;
}
.track-card:hover::before { transform: scaleX(1); }
.track-icon {
  width: 48px; height: 48px; border-radius: 12px; display: flex;
  align-items: center; justify-content: center; font-size: 1.5rem;
  margin-bottom: 20px; background: var(--blue-muted); color: var(--blue);
}
.track-card h3 {
  font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 12px;
  color: var(--navy);
}
.track-card p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 20px; }
.track-link {
  font-size: 0.875rem; font-weight: 600; color: var(--blue);
  display: inline-flex; align-items: center; gap: 6px;
}
.track-link::after { content: '\2192'; transition: transform 0.25s; }
.track-card:hover .track-link::after { transform: translateX(4px); }

/* ===== CAREER ARC (Homepage) ===== */
.arc-timeline {
  display: flex; flex-direction: column; gap: 0;
  border-left: 2px solid var(--gray-200); margin-left: 20px; padding-left: 40px;
}
.arc-item { padding: 20px 0; position: relative; }
.arc-item::before {
  content: ''; position: absolute; left: -49px; top: 28px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--blue);
}
.arc-year {
  font-size: 0.75rem; font-weight: 700; color: var(--blue);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px;
}
.arc-title { font-weight: 700; font-size: 1rem; color: var(--navy); margin-bottom: 4px; }
.arc-desc { font-size: 0.9rem; color: var(--text-light); }

/* ===== PAGE HERO (Interior pages) ===== */
.page-hero {
  padding: 140px 0 64px;
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
}
.page-hero h1 {
  font-family: var(--font-display); font-size: 3rem; letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.page-hero p { font-size: 1.1rem; color: rgba(255,255,255,0.65); max-width: 600px; }

/* ===== CONTENT BLOCKS ===== */
.content { max-width: 800px; }
.content h2 {
  font-family: var(--font-display); font-size: 2rem; color: var(--navy);
  margin: 48px 0 16px; letter-spacing: -0.01em;
}
.content h3 {
  font-size: 1.15rem; font-weight: 700; color: var(--navy);
  margin: 32px 0 12px;
}
.content p { margin-bottom: 20px; color: var(--text); font-size: 1rem; }
.content ul {
  list-style: none; margin-bottom: 24px;
}
.content ul li {
  padding: 8px 0 8px 24px; position: relative; color: var(--text);
  font-size: 0.95rem;
}
.content ul li::before {
  content: ''; position: absolute; left: 0; top: 16px;
  width: 8px; height: 2px; background: var(--blue);
}

/* ===== PROOF POINTS GRID ===== */
.proof-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 32px 0; }
.proof-item {
  padding: 24px; background: var(--off-white); border-radius: 12px;
  border-left: 3px solid var(--blue);
}
.proof-item strong { display: block; color: var(--navy); margin-bottom: 4px; }
.proof-item span { font-size: 0.9rem; color: var(--text-light); }

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 64px; background: var(--navy); border-radius: 20px;
  text-align: center; margin: var(--section-pad) 0;
}
.cta-section h2 {
  font-family: var(--font-display); font-size: 2.25rem; color: var(--white);
  margin-bottom: 16px;
}
.cta-section p { color: rgba(255,255,255,0.6); margin-bottom: 32px; font-size: 1.05rem; }
.cta-btn {
  display: inline-block; padding: 14px 36px; background: var(--gold);
  color: var(--navy); font-weight: 700; font-size: 0.95rem;
  border-radius: 8px; transition: all 0.3s; border: none; cursor: pointer;
  letter-spacing: 0.02em;
}
.cta-btn:hover { background: #d4ab5e; color: var(--navy); transform: translateY(-1px); }

/* ===== ABOUT PAGE ===== */
.about-intro {
  display: grid; grid-template-columns: 200px 1fr; gap: 48px; align-items: start;
  margin-bottom: 48px;
}
.about-photo {
  width: 200px; height: 200px; border-radius: 50%; overflow: hidden;
  border: 3px solid var(--gray-200);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-quote {
  padding: 24px 32px; background: var(--blue-muted); border-radius: 12px;
  border-left: 4px solid var(--blue); margin: 32px 0;
  font-family: var(--font-display); font-size: 1.25rem; font-style: italic;
  color: var(--navy); line-height: 1.5;
}
.about-quote cite {
  display: block; font-size: 0.85rem; font-family: var(--font-body);
  font-style: normal; color: var(--gray-500); margin-top: 8px;
}

/* ===== REAL ESTATE CARDS ===== */
.re-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.re-card {
  padding: 32px; background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 12px; transition: all 0.3s;
}
.re-card:hover { border-color: var(--blue); box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.re-card h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 8px; }
.re-card p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 16px; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  width: 48px; height: 48px; border-radius: 12px; display: flex;
  align-items: center; justify-content: center; font-size: 1.25rem;
  background: var(--blue-muted); color: var(--blue); flex-shrink: 0;
}
.contact-item h3 { font-size: 0.95rem; color: var(--navy); margin-bottom: 2px; }
.contact-item p, .contact-item a { font-size: 0.9rem; color: var(--text-light); }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form input, .contact-form textarea, .contact-form select {
  padding: 14px 18px; border: 1px solid var(--gray-200); border-radius: 8px;
  font-family: var(--font-body); font-size: 0.95rem; color: var(--text);
  background: var(--white); transition: border-color 0.25s; width: 100%;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none; border-color: var(--blue);
}
.contact-form textarea { min-height: 140px; resize: vertical; }

/* ===== FOOTER ===== */
.footer {
  background: var(--navy); color: rgba(255,255,255,0.5);
  padding: 48px 0; text-align: center; font-size: 0.85rem;
}
.footer a { color: rgba(255,255,255,0.7); }
.footer a:hover { color: var(--white); }
.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 20px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  :root { --section-pad: 56px; }
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-photo { margin: 0 auto; width: 200px; height: 200px; }
  .hero-text h1 { font-size: 2.5rem; }
  .hero-tagline { margin: 0 auto 32px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .tracks { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; text-align: center; }
  .about-photo { margin: 0 auto; }
  .re-services { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 2.25rem; }
  .section-header h2 { font-size: 2rem; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 72px; left: 0; right: 0; background: var(--navy);
    padding: 16px; border-top: 1px solid rgba(255,255,255,0.06);
  }
}
@media (max-width: 600px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero-text h1 { font-size: 2rem; }
  .container { padding: 0 20px; }
  .cta-section { padding: 40px 24px; }
}
