/* Advent Morro Equity Partners - Modern Static Site */
/* Google Fonts: Playfair Display (headings) + Lato (body) */

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
  /* Primary Blue Theme */
  --primary: #1e3a5f;
  --primary-dark: #152a45;
  --primary-light: #2d4a6f;
  /* Accent Gold */
  --accent: #B89B5E;
  --accent-dark: #9A7D42;
  --accent-light: #D4B978;
  /* Neutrals */
  --dark: #1a1a2e;
  --slate: #4a5568;
  --gray: #6b7280;
  --gray-light: #9ca3af;
  --light: #f8fafc;
  --white: #ffffff;
  /* Shadows */
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
  /* Fonts */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  line-height: 1.8;
  color: var(--primary-dark);
  background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 0.5em;
}

h1 { font-weight: 700; }
h2 { font-weight: 400; }
h3 { font-weight: 400; }

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

a {
  color: var(--accent-dark);
  text-decoration: none;
  transition: var(--transition);
}

a:hover { color: var(--accent); }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section--gray { background-color: var(--light); }
.section--navy { background-color: var(--primary-dark); color: var(--white); }

.section__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section__header h2 {
  font-family: var(--font-body);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.section__header p {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  color: var(--primary-dark);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.3;
}

.section--navy .section__header h2,
.section--navy .section__header p { color: var(--white); }

.section--navy .section__header h2 { color: var(--accent); }

/* Gold text accent */
.gold {
  color: var(--accent);
}

/* Header & Navigation */
.header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__list {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav__link {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: var(--primary-dark);
  padding: 0.5rem 0;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
}

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

.nav__link--active { color: var(--accent); }

.nav__cta {
  background: var(--accent);
  color: var(--white);
  padding: 0.625rem 1.25rem;
  border-radius: 4px;
  font-weight: 500;
}

.nav__cta:hover {
  background: var(--accent-dark);
  color: var(--white);
}

/* Mobile Navigation */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--primary-dark);
  transition: var(--transition);
}

@media (max-width: 768px) {
  .mobile-toggle { display: flex; }

  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .nav__link {
    display: block;
    padding: 0.75rem;
  }

  .nav__cta {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 10rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(184, 155, 94, 0.1) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero__tagline {
  font-family: var(--font-body);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

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

.hero__subtitle {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.8;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: var(--transition);
}

.hero__btn:hover {
  background: var(--accent-light);
  color: var(--white);
  transform: translateY(-2px);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.stat {
  text-align: center;
}

.stat__number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat__label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.8;
  margin-top: 0.5rem;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card__content { padding: 1.5rem; }

.card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.card__text {
  font-family: var(--font-body);
  color: var(--gray);
  font-size: 0.9375rem;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.team-member {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.team-member__photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--light);
}

.team-member__info {
  padding: 1.5rem;
}

.team-member__name {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.team-member__title {
  font-family: var(--font-body);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 500;
}

.team-member__bio {
  font-family: var(--font-body);
  color: var(--gray);
  font-size: 0.9375rem;
  margin-top: 1rem;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.portfolio-company {
  background: var(--white);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.portfolio-company:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.portfolio-company__logo {
  width: 100%;
  height: 80px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.portfolio-company__name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.portfolio-company__status {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.portfolio-company__status--active { color: #38a169; }
.portfolio-company__status--partial { color: var(--accent); }
.portfolio-company__status--exited { color: var(--gray); }

.portfolio-company__name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.portfolio-company__description {
  font-family: var(--font-body);
  color: var(--gray);
  font-size: 0.875rem;
  flex: 1;
}

/* Sectors */
.sectors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.sector {
  background: var(--white);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  text-decoration: none;
  border-top: 4px solid var(--accent);
}

.sector:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.sector__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--accent);
}

.sector__icon svg {
  width: 100%;
  height: 100%;
}

.sector__name {
  font-family: var(--font-body);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.sector__count {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.sector .card__text {
  font-family: var(--font-body);
  color: var(--gray);
  font-size: 0.9375rem;
}

/* Content Pages */
.content {
  max-width: 800px;
  margin: 0 auto;
}

.content h2 {
  color: var(--primary-dark);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.content h3 {
  margin-top: 1.5rem;
}

.content ul, .content ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.content li {
  margin-bottom: 0.5rem;
}

/* Process Steps */
.process-steps {
  display: grid;
  gap: 3rem;
  margin-top: 3rem;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
}

.process-step__number {
  width: 60px;
  height: 60px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.process-step__content h3 {
  margin-bottom: 0.5rem;
}

.process-step__content p {
  color: var(--gray);
}

@media (max-width: 480px) {
  .process-step {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .process-step__number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-item__icon {
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.contact-item__content h4 {
  margin-bottom: 0.25rem;
}

.contact-item__content p {
  color: var(--gray);
  margin: 0;
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer__about p {
  font-family: var(--font-body);
  color: var(--gray-light);
  font-size: 0.9375rem;
  margin-top: 1rem;
}

.footer__logo {
  height: 40px;
  width: auto;
}

.footer__heading {
  font-family: var(--font-body);
  color: var(--accent);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__links a {
  font-family: var(--font-body);
  color: var(--gray-light);
  font-size: 0.9375rem;
}

.footer__links a:hover {
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid var(--primary);
  padding-top: 2rem;
  text-align: center;
  font-family: var(--font-body);
  color: var(--gray-light);
  font-size: 0.875rem;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-gold { color: var(--accent); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mt-3 { margin-top: 1.5rem; }

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: var(--white);
  padding: 8px;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* Founder Section */
.founder {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 0;
}

.founder__image {
  position: relative;
}

.founder__image img {
  width: 100%;
  max-width: 420px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.founder__image::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -15px;
  width: 80px;
  height: 80px;
  border-top: 4px solid var(--accent);
  border-left: 4px solid var(--accent);
  border-radius: 8px 0 0 0;
}

.founder__image::after {
  content: '';
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 80px;
  height: 80px;
  border-bottom: 4px solid var(--accent);
  border-right: 4px solid var(--accent);
  border-radius: 0 0 8px 0;
}

.founder__content h2 {
  font-family: var(--font-heading);
  margin-bottom: 1rem;
}

.founder__content .founder__name {
  font-family: var(--font-heading);
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.founder__content .founder__title {
  font-family: var(--font-body);
  color: var(--gray);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.founder__content .founder__quote {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--primary-dark);
  border-left: 4px solid var(--accent);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
}

@media (max-width: 768px) {
  .founder {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .founder__image {
    order: -1;
    max-width: 320px;
    margin: 0 auto;
  }

  .founder__image img {
    margin: 0 auto;
  }

  .founder__image::before,
  .founder__image::after {
    width: 60px;
    height: 60px;
  }

  .founder__image::before {
    top: -10px;
    left: -10px;
  }

  .founder__image::after {
    bottom: -10px;
    right: -10px;
  }

  .founder__content .founder__quote {
    border-left: none;
    border-top: 4px solid var(--accent);
    padding-left: 0;
    padding-top: 1rem;
  }
}

/* Print Styles */
@media print {
  .header, .footer, .nav { display: none; }
  .section { padding: 1rem 0; }
}