/* ============================================
   Vodia Ventures — Main Stylesheet
   Light theme with navy accents
   ============================================ */

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

:root {
  --navy: #0f2a4a;
  --navy-dark: #0a1e38;
  --navy-deep: #071525;
  --accent: #1a5fb4;
  --accent-light: #2d7be0;
  --gold: #b8941f;
  --gold-light: #d4ac2b;
  --text: #1e293b;
  --text-body: #374151;
  --text-muted: #6b7280;
  --white: #ffffff;
  --off-white: #f8f9fb;
  --bg-light: #f1f3f7;
  --border: #e2e6ec;
  --border-light: #eef0f4;
  --radius: 8px;
  --transition: 0.3s ease;
  --max-width: 1200px;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--navy);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

/* Dark header variant for hero overlay pages */
.site-header--dark {
  background: rgba(10, 30, 56, 0.8);
  border-bottom-color: rgba(255,255,255,0.1);
}

.site-header--dark .nav-links a {
  color: rgba(255,255,255,0.7);
}

.site-header--dark .nav-links a:hover,
.site-header--dark .nav-links a.active {
  color: #ffffff;
}

.site-header--dark .nav-cta {
  border-color: rgba(255,255,255,0.4) !important;
  color: rgba(255,255,255,0.9) !important;
}

.site-header--dark .nav-cta:hover {
  background: rgba(255,255,255,0.15);
  color: #ffffff !important;
}

.site-header--dark .nav-toggle span {
  background: #ffffff;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--navy);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
}

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

.site-header--dark .nav-links a::after {
  background: #ffffff;
}

.nav-cta {
  font-size: 0.8rem !important;
  padding: 8px 20px;
  border: 1px solid var(--navy);
  border-radius: 4px;
  color: var(--navy) !important;
  transition: all var(--transition) !important;
}

.nav-cta:hover {
  background: var(--navy);
  color: var(--white) !important;
}

.nav-cta::after { display: none !important; }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: all var(--transition);
  display: block;
}

/* --- Hero (with background image) --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
  background: var(--navy-deep);
  color: #ffffff;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(7, 21, 37, 0.88) 0%,
    rgba(15, 42, 74, 0.75) 40%,
    rgba(15, 42, 74, 0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  text-align: center;
}

.hero-logo {
  width: min(92vw, 1000px);
  height: auto;
  margin-bottom: 64px;
  display: block;
  opacity: 0.85;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5)) drop-shadow(0 -1px 1px rgba(255,255,255,0.06));
}

.hero .section-label {
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
}

.hero h1 {
  color: #ffffff;
  margin-bottom: 24px;
}

.hero h1 .highlight {
  color: var(--gold-light);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.75);
  margin: 0 auto;
  margin-bottom: 10vh;
  line-height: 1.8;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat .number {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
}

.hero-stat .label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  background: transparent;
  border: 1.5px solid var(--gold-light);
  padding: 14px 32px;
  border-radius: 4px;
  transition: all var(--transition);
}

.hero-cta:hover {
  background: var(--gold-light);
  color: var(--navy-deep);
}

.hero-cta svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.hero-cta:hover svg {
  transform: translateX(4px);
}

/* --- Section Shared --- */
.section {
  padding: 100px 0;
}

.section-white {
  background: var(--white);
}

.section-light {
  background: var(--off-white);
}

.section-navy {
  background: var(--navy-dark);
  color: #ffffff;
}

.section-header {
  margin-bottom: 60px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
}

/* --- Who We Are --- */
.who-we-are {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: center;
}

.who-we-are-text .section-label {
  margin-bottom: 12px;
}

.who-we-are-text h2 {
  margin-bottom: 24px;
}

.who-we-are-text p {
  color: var(--text-body);
  font-size: 1.05rem;
  margin-bottom: 20px;
  line-height: 1.9;
}

.who-we-are-text p:last-child { margin-bottom: 0; }

.who-we-are-img img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

/* --- Investment Rows (logo left, copy right) --- */
.investment-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: center;
  padding: 44px 0;
  border-bottom: 1px solid var(--border);
}

.investment-row:last-child {
  border-bottom: none;
}

.investment-logo-col {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 4px;
}

.investment-logo {
  width: 180px;
  height: 180px;
  object-fit: contain;
}

.investment-logo-placeholder {
  width: 240px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.investment-content h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.investment-former {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 10px;
}

.investment-content p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 8px;
}

.investment-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 14px;
}

.investment-role {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.investment-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

.investment-link:hover {
  color: var(--navy);
}

.portfolio-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.portfolio-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}

.portfolio-link:hover svg {
  transform: translateX(3px);
}

/* --- About / Team --- */
.about-hero {
  padding-top: 140px;
  padding-bottom: 80px;
}

.about-hero.section-navy .section-label {
  color: rgba(255,255,255,0.5);
}

.about-hero.section-navy h1 {
  color: #ffffff;
}

.team-section {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: start;
}

.team-photo-wrapper {
  position: relative;
}

.team-photo {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.team-photo-wrapper::after {
  content: '';
  position: absolute;
  bottom: -12px;
  right: -12px;
  width: 100%;
  height: 100%;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
}

.team-info h2 {
  color: var(--navy);
  margin-bottom: 4px;
}

.team-title {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.team-links {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

.team-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--accent);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: all var(--transition);
}

.team-links a:hover {
  background: var(--off-white);
  border-color: var(--accent);
}

.team-bio p {
  color: var(--text-body);
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.8;
}

.team-bio p:last-child { margin-bottom: 0; }

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-intro p {
  color: var(--text-body);
  font-size: 1.05rem;
  margin-bottom: 40px;
  line-height: 1.8;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-method {
  display: flex;
  gap: 16px;
  align-items: center;
}

.contact-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.contact-method h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.contact-method p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.contact-method a {
  font-size: 0.9rem;
  color: var(--accent);
}

.contact-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.contact-card h3 {
  color: var(--navy);
  margin-bottom: 16px;
}

.contact-card p {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.contact-card .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  background: var(--navy);
  padding: 14px 32px;
  border-radius: 4px;
  transition: all var(--transition);
  align-self: center;
}

.contact-card .btn-primary:hover {
  background: var(--accent);
  color: var(--white);
}

/* --- Legal Page --- */
.legal-content {
  max-width: 800px;
}

.legal-content h2 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p {
  color: var(--text-body);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.8;
}

/* --- Footer --- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
}

.site-footer a {
  color: rgba(255,255,255,0.6);
}

.site-footer a:hover {
  color: #ffffff;
}

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

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  margin-top: 16px;
  max-width: 300px;
  line-height: 1.7;
}

.footer-logo {
  height: 22px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.footer-col a {
  font-size: 0.85rem;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}

.footer-social a:hover {
  border-color: rgba(255,255,255,0.4);
  color: #ffffff;
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a {
  color: rgba(255,255,255,0.4);
}

.footer-bottom a:hover {
  color: #ffffff;
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .team-section {
    grid-template-columns: 300px 1fr;
    gap: 40px;
  }

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    right: 24px;
    min-width: 220px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 0;
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.05);
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    color: var(--navy) !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    display: block;
    padding: 16px 28px;
    transition: background 0.2s ease;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(15, 42, 74, 0.06);
  }

  .nav-links a::after {
    display: none !important;
  }

  .nav-links .nav-cta {
    border: none !important;
    padding: 16px 28px !important;
    border-radius: 0 !important;
    color: var(--accent) !important;
    font-weight: 600 !important;
  }

  .nav-toggle {
    display: flex;
  }

  .hero { min-height: 90vh; }

  .hero-stats {
    flex-wrap: wrap;
    gap: 32px;
  }

  .hero-stat {
    min-width: 120px;
  }

  .investment-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .investment-logo-col {
    justify-content: center;
    align-items: center;
  }

  .investment-logo {
    width: min(42vw, 170px);
    height: auto;
  }

  .investment-logo-placeholder {
    width: min(50vw, 200px);
    height: 80px;
  }

  .who-we-are {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .team-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .team-photo-wrapper {
    max-width: 320px;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .section { padding: 64px 0; }
  .about-hero { padding-top: 110px; padding-bottom: 48px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
}
