/* ============================================================
   Agnich Ventures — Shared Stylesheet
   ============================================================ */

/* ------------------------------------------------------------
   Google Fonts Import
   ------------------------------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');


/* ------------------------------------------------------------
   CSS Custom Properties
   ------------------------------------------------------------ */
:root {
  --navy:       #1B2A4A;
  --white:      #FFFFFF;
  --gray:       #F5F5F3;
  --gold:       #C9A96E;
  --text:       #1A1A1A;
  --text-light: #6B7280;
}


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

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
}


/* ------------------------------------------------------------
   Body Defaults
   ------------------------------------------------------------ */
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* ------------------------------------------------------------
   Navigation
   ------------------------------------------------------------ */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  height: 72px;
  background-color: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-logo {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--navy);
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
  transition: color 0.2s ease;
}

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

/* Hamburger button — hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--navy);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

/* Hamburger → X when nav-open */
body.nav-open .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.nav-open .hamburger span:nth-child(2) {
  opacity: 0;
}
body.nav-open .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay — hidden by default */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background-color: var(--navy);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

body.nav-open .nav-overlay {
  display: flex;
}

.nav-overlay a {
  font-size: 20px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--white);
  transition: color 0.2s ease;
}

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


/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 85vh;
  min-height: 480px;
  overflow: hidden;
  text-align: center;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(27, 42, 74, 0.55) 0%,
    rgba(27, 42, 74, 0.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  padding: 0 40px;
  color: var(--white);
}

/* Shorter hero for interior pages */
.hero-short {
  height: 40vh;
  min-height: 260px;
}


/* ------------------------------------------------------------
   Containers & Sections
   ------------------------------------------------------------ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

.section {
  padding: 100px 60px;
}

.section--gray {
  background-color: var(--gray);
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 20px;
}


/* ------------------------------------------------------------
   Typography
   ------------------------------------------------------------ */
h1 {
  font-size: 48px;
  font-weight: 300;
  letter-spacing: 2px;
  line-height: 1.2;
}

h2 {
  font-size: 36px;
  font-weight: 300;
  line-height: 1.3;
}

h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
}

.subtitle {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 640px;
}

.hero-content .subtitle {
  color: rgba(255, 255, 255, 0.80);
  margin: 0 auto;
}

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}


/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.btn-outline {
  display: inline-block;
  border: 1px solid var(--white);
  padding: 16px 48px;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--white);
  background-color: transparent;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-outline:hover {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.btn-navy {
  display: inline-block;
  padding: 16px 48px;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--white);
  background-color: var(--navy);
  border: 1px solid var(--navy);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.btn-navy:hover {
  background-color: var(--gold);
  border-color: var(--gold);
}


/* ------------------------------------------------------------
   Text Links
   ------------------------------------------------------------ */
.text-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.2s ease;
}

.text-link:hover {
  color: var(--gold);
}


/* ------------------------------------------------------------
   Property Card Grid (3-column default)
   ------------------------------------------------------------ */
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.property-card {
  position: relative;
  background-color: var(--white);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.property-card:hover .card-image img {
  transform: scale(1.03);
}

.card-body {
  padding: 28px;
}

.card-body h3 {
  margin-bottom: 8px;
}

.card-body p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 0;
}

.card-type {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-top: 6px;
  margin-bottom: 4px;
}

.card-detail {
  font-size: 14px;
  color: var(--text-light);
}

/* Badge — absolute positioned on card image */
.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  background-color: var(--gold);
  color: var(--white);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 12px;
}


/* ------------------------------------------------------------
   Properties Listing Page — 2-column grid
   ------------------------------------------------------------ */
.property-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}


/* ------------------------------------------------------------
   Stats Section
   ------------------------------------------------------------ */
.stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 100px;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 48px;
  font-weight: 300;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-light);
}


/* ------------------------------------------------------------
   Contact Strip
   ------------------------------------------------------------ */
.contact-strip {
  background-color: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 80px 60px;
}

.contact-strip h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.contact-strip p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 32px;
}

.contact-strip a:not(.btn-outline):not(.btn-navy) {
  color: var(--gold);
  transition: opacity 0.2s ease;
}

.contact-strip a:not(.btn-outline):not(.btn-navy):hover {
  opacity: 0.8;
}


/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.footer {
  background-color: #111827;
  color: rgba(255, 255, 255, 0.65);
  padding: 48px 60px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-logo {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s ease;
}

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

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.40);
}


/* ------------------------------------------------------------
   Key Facts Grid (property detail pages)
   ------------------------------------------------------------ */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.fact-item {
  padding: 28px;
  background-color: var(--gray);
}

.fact-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.fact-value {
  display: block;
  font-size: 20px;
  font-weight: 300;
  color: var(--navy);
}


/* ------------------------------------------------------------
   Availability Callout
   ------------------------------------------------------------ */
.availability {
  border-left: 4px solid var(--gold);
  padding: 24px 32px;
  background-color: #faf8f4;
  margin: 32px 0;
}

.availability h3 {
  margin-bottom: 8px;
  color: var(--navy);
}

.availability p {
  font-size: 15px;
  color: var(--text-light);
}


/* ------------------------------------------------------------
   Leadership Profile
   ------------------------------------------------------------ */
.leadership-profile {
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.profile-photo {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background-color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  overflow: hidden;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.profile-initials {
  font-size: 36px;
  font-weight: 300;
  letter-spacing: 4px;
  color: var(--text-light);
}

.profile-name {
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 1px;
  color: var(--navy);
  margin-bottom: 4px;
}

.profile-title {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 20px;
}

.profile-bio {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
}


/* ------------------------------------------------------------
   Google Maps Embed
   ------------------------------------------------------------ */
.map-container {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
}

.map-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* ------------------------------------------------------------
   Utility / Helpers
   ------------------------------------------------------------ */
.text-center { text-align: center; }
.text-navy   { color: var(--navy); }
.text-gold   { color: var(--gold); }
.text-light  { color: var(--text-light); }

.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }


/* ============================================================
   RESPONSIVE — 1024px (tablets / small laptops)
   ============================================================ */
@media (max-width: 1024px) {
  .property-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats {
    gap: 60px;
  }

  .nav {
    padding: 0 40px;
  }

  .section {
    padding: 80px 40px;
  }

  .container {
    padding: 0 40px;
  }
}


/* ============================================================
   RESPONSIVE — 768px (mobile)
   ============================================================ */
@media (max-width: 768px) {

  /* Nav */
  .nav {
    padding: 0 24px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Hero */
  .hero h1,
  .hero-content h1 {
    font-size: 32px;
    letter-spacing: 1px;
  }

  .hero {
    height: 75vh;
  }

  .hero-short {
    height: 35vh;
  }

  /* Grids → single column */
  .property-grid,
  .property-grid-2col,
  .facts-grid {
    grid-template-columns: 1fr;
  }

  /* Stats → vertical stack */
  .stats {
    flex-direction: column;
    gap: 40px;
  }

  /* Footer → stack */
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 16px;
  }

  /* Sections */
  .section {
    padding: 64px 24px;
  }

  .container {
    padding: 0 24px;
  }

  .contact-strip {
    padding: 60px 24px;
  }

  /* Typography */
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
  }

  /* Buttons */
  .btn-outline,
  .btn-navy {
    padding: 14px 32px;
  }

  /* Stat numbers */
  .stat-number {
    font-size: 36px;
  }

  /* Map height */
  .map-container {
    height: 300px;
  }
}
