/* ============================================
   D'ARCY HARRIS — REAL ESTATE WEBSITE STYLES
   Luxury aesthetic: Navy + Gold + Clean
   ============================================ */

:root {
  --navy-900: #080f1e;
  --navy-800: #0c1628;
  --navy-700: #111d35;
  --navy-600: #1a2a4a;
  --navy-500: #243660;
  --gold: #c9a84c;
  --gold-light: #dfc478;
  --gold-dark: #a88a35;
  --cream: #f5f0e8;
  --cream-light: #faf7f2;
  --white: #ffffff;
  --text-primary: #f0ece4;
  --text-secondary: #a8a29e;
  --text-muted: #78716c;
  --border: rgba(201, 168, 76, 0.15);
  --border-light: rgba(255, 255, 255, 0.08);
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--navy-900);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

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

.center {
  text-align: center;
}

.section {
  padding: 6rem 0;
}

.section-dark {
  background: var(--navy-800);
}

.section-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section-subtitle {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
}

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

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-align: center;
}

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

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

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

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

.btn-full {
  width: 100%;
}

/* NAVIGATION */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.4s ease;
  background: transparent;
}

#navbar.scrolled {
  background: rgba(8, 15, 30, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LinkedIn links */
.linkedin-about-link {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  padding: 0.55rem 1.1rem;
  background: #0077B5;
  color: #fff !important;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.2s;
}
.linkedin-about-link:hover { background: #005f8e; }

.footer-linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 0.9rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-linkedin-link:hover { color: #fff; }

.footer-logo-img {
  height: 20px;
  width: auto;
  opacity: 0.85;
  filter: brightness(0) invert(1);
  display: block;
  margin: 0 auto 1rem;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  vertical-align: middle;
  margin-left: 10px;
  filter: brightness(0) invert(1);
}

.nav-logo {
  font-size: 1rem;
  letter-spacing: 0.25em;
  font-weight: 300;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}

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

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

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.nav-cta {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--gold) !important;
  color: var(--gold) !important;
  border-radius: 2px;
}

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

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s ease;
}

/* HERO */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  background:
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 40%, var(--navy-600) 70%, var(--navy-800) 100%);
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201, 168, 76, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(201, 168, 76, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 50px,
      rgba(201, 168, 76, 0.02) 50px,
      rgba(201, 168, 76, 0.02) 51px
    );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  letter-spacing: 0.02em;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}

.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ABOUT */
.about-grid {
  grid-template-columns: auto 1fr;
}

.about-photo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.about-image {
  width: 280px;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 8px;
  border: 2px solid var(--border);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-photo-badges {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.about-badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 4px;
  text-align: center;
}

.about-badge-gold {
  background: var(--gold);
  color: var(--navy-900);
}

.about-badge-outline {
  border: 1px solid var(--gold);
  color: var(--gold);
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.stat-number {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--navy-700);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  transition: all 0.4s ease;
  position: relative;
}

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

.service-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.service-cta {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gold);
  transition: letter-spacing 0.3s ease;
}

.service-card-link:hover .service-cta {
  letter-spacing: 0.1em;
}

.service-card.featured {
  border-color: var(--gold);
  background: linear-gradient(to bottom, var(--navy-600), var(--navy-700));
}

.service-badge {
  position: absolute;
  top: -0.6rem;
  right: 1.5rem;
  background: var(--gold);
  color: var(--navy-900);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  color: var(--gold);
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--white);
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  padding: 0;
}

.service-features li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.4rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

/* LISTINGS */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.listing-card {
  display: block;
  border-radius: 4px;
  overflow: hidden;
  background: var(--navy-800);
  border: 1px solid var(--border-light);
  transition: all 0.4s ease;
  color: var(--text-primary);
}

.listing-card:hover {
  transform: translateY(-4px);
  border-color: var(--border);
  color: var(--text-primary);
}

.listing-image {
  height: 220px;
  background: linear-gradient(135deg, var(--navy-600), var(--navy-500));
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.4s;
}

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

.listing-image-2 {
  background: linear-gradient(135deg, var(--navy-500), var(--navy-700));
}

.listing-image-3 {
  background: linear-gradient(135deg, var(--navy-700), var(--navy-500));
}

.listing-price {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(8, 15, 30, 0.9);
  color: var(--white);
  padding: 0.4rem 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 2px;
  z-index: 2;
}

.listing-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--gold);
  color: var(--navy-900);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  z-index: 2;
}

.listing-info {
  padding: 1.25rem;
}

.listing-info h4 {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.listing-location {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.listing-details {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.listing-details span {
  padding-right: 1rem;
  border-right: 1px solid var(--border-light);
}

.listing-details span:last-child {
  border-right: none;
  padding-right: 0;
}

/* NEIGHBOURHOODS */
.neighbourhoods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.neighbourhood-card {
  background: var(--navy-700);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 2rem;
  transition: all 0.3s ease;
}

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

.neighbourhood-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.neighbourhood-card h3 {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
}

.neighbourhood-tag {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  font-weight: 600;
  white-space: nowrap;
}

.neighbourhood-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.neighbourhood-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.neighbourhood-stats strong {
  color: var(--text-secondary);
  font-weight: 500;
}

/* RESOURCES */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.resource-card {
  background: var(--navy-800);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 2rem;
  transition: all 0.3s ease;
}

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

.resource-type {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 600;
}

.resource-card h3 {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.resource-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.resource-link {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 500;
}

/* TRUST BAND */
.trust-band {
  padding: 5rem 0;
  background: var(--navy-900);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-content {
  text-align: center;
}

.trust-quote {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.trust-attribution {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* CONTACT */
.contact-grid {
  gap: 4rem;
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

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

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

.contact-item svg {
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 0.2rem;
}

.contact-item a {
  color: var(--text-primary);
}

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

.contact-form-wrapper {
  background: var(--navy-700);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 2.5rem;
}

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

.form-group label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--navy-800);
  border: 1px solid var(--border-light);
  border-radius: 2px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23a8a29e' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group select option {
  background: var(--navy-800);
  color: var(--text-primary);
}

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

/* FOOTER */
.footer {
  background: var(--navy-900);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
}

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

.footer-brand h3 {
  font-size: 1rem;
  letter-spacing: 0.2em;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-tagline {
  color: var(--gold) !important;
  margin-top: 0.5rem;
  font-size: 0.85rem !important;
  letter-spacing: 0.1em;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-weight: 600;
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.footer-contact p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.footer-contact a {
  color: var(--text-muted);
}

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

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.footer-disclaimer {
  font-size: 0.7rem !important;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

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

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

/* RESPONSIVE */
@media (max-width: 968px) {
  .section-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .services-grid,
  .listings-grid,
  .neighbourhoods-grid,
  .resources-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(8, 15, 30, 0.98);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
  }

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

  .nav-toggle {
    display: flex;
  }

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

  .about-photo-col {
    max-width: 260px;
    margin: 0 auto;
  }

  .about-image {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 4rem 0;
  }

  .container {
    padding: 0 1.25rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .about-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .neighbourhood-stats {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }
}

/* Neighbourhood card links */
a.neighbourhood-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

a.neighbourhood-card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  text-decoration: none;
  color: inherit;
}

a.neighbourhood-card-link .neighbourhood-cta {
  display: block;
  margin-top: 1rem;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}

a.neighbourhood-card-link:hover .neighbourhood-cta {
  color: #f0d080;
}
