/* ============================================
   Peak Horizon Developments — Global Styles
   Palette: Navy #0F1E2E · Gold #C8A45E
   Fonts: Playfair Display (headings) · DM Sans (body)
   ============================================ */

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

:root {
  --navy:       #0F1E2E;
  --navy-light: #162A3E;
  --navy-mid:   #1A3350;
  --gold:       #C8A45E;
  --gold-light: #D4B97A;
  --gold-dark:  #A8883E;
  --white:      #F5F5F5;
  --gray:       #A0AEC0;
  --gray-dark:  #64748B;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

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

a { color: var(--gold); text-decoration: none; transition: color .25s; }
a:hover { color: var(--gold-light); }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* --- Typography --- */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.section-label {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: .8rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: .75rem;
}

.section-title { margin-bottom: 1rem; }

.section-subtitle {
  color: var(--gray);
  max-width: 640px;
  font-size: 1.05rem;
}

/* --- Gold Accent Line --- */
.gold-line {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 1.5rem 0;
}

.gold-line--center { margin-left: auto; margin-right: auto; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background .35s, box-shadow .35s, padding .35s;
}

.nav--scrolled {
  background: rgba(15, 30, 46, .97);
  box-shadow: 0 2px 24px rgba(0,0,0,.35);
  padding: .75rem 0;
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .5px;
}

.nav__logo span { color: var(--gold); }

.nav__links { display: flex; gap: 2.25rem; list-style: none; }

.nav__links a {
  color: var(--gray);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .5px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
  transition: color .25s;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .3s;
}

.nav__links a:hover,
.nav__links a.active { color: var(--gold); }

.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav__hamburger span {
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: transform .3s, opacity .3s;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(200,164,94,.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(26,51,80,.5) 0%, transparent 50%);
  pointer-events: none;
}

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

.hero__tagline {
  font-size: 1.15rem;
  color: var(--gray);
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 1rem 2.4rem;
  border: none;
  cursor: pointer;
  transition: background .3s, transform .2s;
}

.hero__cta:hover {
  background: var(--gold-light);
  color: var(--navy);
  transform: translateY(-2px);
}

.hero__cta svg { width: 18px; height: 18px; }

/* ============================================
   STATS BAR
   ============================================ */
.stats {
  background: var(--navy-light);
  border-top: 1px solid rgba(200,164,94,.15);
  border-bottom: 1px solid rgba(200,164,94,.15);
  padding: 3.5rem 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stats__item h3 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--gold);
  margin-bottom: .35rem;
}

.stats__item p {
  color: var(--gray);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ============================================
   ABOUT PREVIEW (Home)
   ============================================ */
.about-preview {
  padding: 6rem 0;
}

.about-preview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-preview__text .section-subtitle { margin-bottom: 2rem; }

.about-preview__highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-preview__highlights li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  color: var(--gray);
  font-size: .95rem;
}

.about-preview__highlights li::before {
  content: '◆';
  color: var(--gold);
  font-size: .7rem;
  margin-top: 5px;
  flex-shrink: 0;
}

.about-preview__visual {
  background: var(--navy-light);
  border: 1px solid rgba(200,164,94,.12);
  border-radius: 4px;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-preview__visual-item h4 {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: .35rem;
}

.about-preview__visual-item p {
  color: var(--gray);
  font-size: .9rem;
}

/* ============================================
   TEAM PAGE
   ============================================ */
.page-header {
  padding: 10rem 0 4rem;
  text-align: center;
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(200,164,94,.06) 0%, transparent 60%);
  pointer-events: none;
}

.team-section { padding: 4rem 0 6rem; }

.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.team-card {
  background: var(--navy-light);
  border: 1px solid rgba(200,164,94,.1);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: border-color .3s, transform .3s;
}

.team-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.team-card__avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--navy-mid);
  border: 2px solid var(--gold);
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--gold);
}

.team-card__name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: .35rem;
}

.team-card__title {
  color: var(--gold);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.25rem;
}

.team-card__bio {
  color: var(--gray);
  font-size: .92rem;
  line-height: 1.7;
}

.team-card__focus {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
}

.team-card__tag {
  background: rgba(200,164,94,.1);
  color: var(--gold);
  font-size: .75rem;
  padding: .3rem .75rem;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   STRATEGY PAGE
   ============================================ */
.strategy-intro {
  padding: 4rem 0 3rem;
}

.strategy-intro__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.strategy-intro__content .section-subtitle {
  margin: 0 auto;
}

.pillars {
  padding: 3rem 0 6rem;
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.pillar-card {
  background: var(--navy-light);
  border: 1px solid rgba(200,164,94,.1);
  border-radius: 4px;
  padding: 2.5rem;
  transition: border-color .3s;
}

.pillar-card:hover { border-color: rgba(200,164,94,.35); }

.pillar-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(200,164,94,.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--gold);
  font-size: 1.4rem;
}

.pillar-card h3 { margin-bottom: .75rem; }

.pillar-card p {
  color: var(--gray);
  font-size: .93rem;
}

/* Markets */
.markets {
  padding: 4rem 0 6rem;
  background: var(--navy-light);
}

.markets__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.market-card {
  border: 1px solid rgba(200,164,94,.12);
  border-radius: 4px;
  padding: 2.5rem;
  background: var(--navy);
  transition: border-color .3s;
}

.market-card:hover { border-color: var(--gold); }

.market-card h3 { color: var(--gold); margin-bottom: .5rem; }

.market-card p { color: var(--gray); font-size: .93rem; }

.market-card__stats {
  margin-top: 1.25rem;
  display: flex;
  gap: 1.5rem;
}

.market-card__stat span {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--white);
}

.market-card__stat small {
  color: var(--gray);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Capital Model */
.capital-model {
  padding: 6rem 0;
}

.capital-model__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.capital-model__text .section-subtitle { margin-bottom: 1.5rem; }

.capital-model__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.capital-model__list li {
  color: var(--gray);
  font-size: .93rem;
  padding-left: 1.25rem;
  position: relative;
}

.capital-model__list li::before {
  content: '—';
  color: var(--gold);
  position: absolute;
  left: 0;
}

.capital-model__visual {
  background: var(--navy-light);
  border: 1px solid rgba(200,164,94,.12);
  border-radius: 4px;
  padding: 2.5rem;
}

.capital-model__visual h4 {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.capital-bar {
  margin-bottom: 1.25rem;
}

.capital-bar__label {
  display: flex;
  justify-content: space-between;
  font-size: .85rem;
  margin-bottom: .4rem;
}

.capital-bar__label span:last-child { color: var(--gold); }

.capital-bar__track {
  height: 6px;
  background: var(--navy);
  border-radius: 3px;
  overflow: hidden;
}

.capital-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  border-radius: 3px;
  width: 0;
  transition: width 1.2s ease-out;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
  padding: 4rem 0 6rem;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group label {
  display: block;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray);
  margin-bottom: .4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .9rem 1.1rem;
  background: var(--navy-light);
  border: 1px solid rgba(200,164,94,.15);
  border-radius: 3px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: .95rem;
  transition: border-color .25s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-group select option { background: var(--navy); }

.contact-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 1rem 2.4rem;
  border: none;
  cursor: pointer;
  transition: background .3s, transform .2s;
  align-self: flex-start;
}

.contact-form__submit:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

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

.contact-info__item h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: .4rem;
}

.contact-info__item p,
.contact-info__item a {
  color: var(--gray);
  font-size: .93rem;
}

.contact-info__item a:hover { color: var(--gold-light); }

.contact-info__divider {
  width: 100%;
  height: 1px;
  background: rgba(200,164,94,.12);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy-light);
  border-top: 1px solid rgba(200,164,94,.1);
  padding: 3rem 0 2rem;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--white);
}

.footer__logo span { color: var(--gold); }

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

.footer__links a {
  color: var(--gray);
  font-size: .85rem;
  transition: color .25s;
}

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

.footer__copy {
  width: 100%;
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(200,164,94,.06);
  color: var(--gray-dark);
  font-size: .8rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease-out, transform .7s ease-out;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .team__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .about-preview__grid,
  .pillars__grid,
  .markets__grid,
  .capital-model__content,
  .contact__grid { grid-template-columns: 1fr; }
  .capital-model__content { gap: 2.5rem; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(15,30,46,.98);
    padding: 1.5rem 2rem 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(200,164,94,.12);
  }

  .hero { min-height: 90vh; padding-top: 6rem; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .page-header { padding: 8rem 0 3rem; }
}

@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr; }
  .container { padding: 0 1.25rem; }
}
