/* ============================================================
   Forest Glen Mobile Home Park — Main Stylesheet
   Adapted from Harbor Vista MHP design system
   ============================================================ */

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

:root {
  /* Matched directly to Forest Glen logo colors */
  --forest:        #002e36;   /* exact logo background teal — nav bar */
  --forest-hover:  #001e24;   /* darker hover */
  --forest-deep:   #001820;   /* footer, darkest surfaces */
  --pine:          #3e8040;   /* bright logo green — buttons, CTAs, labels, accents */
  --pine-hover:    #2f6632;   /* darker green hover */
  --pine-light:    #e6f4e7;   /* light green tint — icon bg, tinted areas */
  --fern:          #4a9c4c;   /* mid green — feature checks, active accents */
  --bark:          #8c6b3e;   /* warm brown highlight */
  --text:          #0d2428;   /* deep teal body text */
  --muted:         #4a6a6e;   /* muted teal-grey secondary text */
  --border:        #c8dfe0;   /* light teal-grey border */
  --bg:            #eef6f6;   /* lightest teal-white — alternate section bg */
  --white:         #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.2;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── UTILITIES ── */
.container { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pine);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--forest);
  margin-bottom: 14px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--pine); color: white; }
.btn-primary:hover { background: var(--pine-hover); box-shadow: 0 6px 20px rgba(46,125,69,0.35); }
.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover { border-color: white; background: rgba(255,255,255,0.1); }
.btn-outline-pine {
  background: transparent;
  color: var(--pine);
  border: 2px solid var(--pine);
}
.btn-outline-pine:hover { background: var(--pine-light); }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--forest);   /* #002e36 — exact logo background */
  border-bottom: 1px solid rgba(0,0,0,0.2);
  height: 90px;
  display: flex;
  align-items: center;
  padding: 0 40px;
  justify-content: space-between;
  transition: box-shadow 0.2s;
}
.nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.35); }
.nav-logo { display: flex; align-items: center; }
.nav-logo img {
  height: 78px; width: auto;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: white; font-weight: 600; }
.nav-tenant {
  color: rgba(255,255,255,0.65) !important;
  font-size: 0.85rem !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  padding: 7px 14px;
  border-radius: 7px;
  transition: border-color 0.2s, color 0.2s !important;
}
.nav-tenant:hover { border-color: rgba(255,255,255,0.5) !important; color: white !important; }
.nav-cta {
  background: var(--pine) !important;
  color: white !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700 !important;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 0.875rem !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--pine-hover) !important; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── HERO ── */
.hero {
  margin-top: 90px;
  min-height: 90vh;
  background:
    linear-gradient(to bottom, rgba(10,30,15,0.68) 0%, rgba(15,40,20,0.38) 55%, rgba(15,40,20,0.08) 100%),
    url('../images/hero-redwoods.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 0 40px;
}
.hero-content {
  flex: 1;
  display: flex;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  padding: 80px 0 140px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(8px);
  color: white;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  color: white;
  font-weight: 800;
  max-width: 640px;
  margin-bottom: 18px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.25);
}
.hero h1 span { color: #a8dbb0; }
.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.86);
  max-width: 500px;
  margin-bottom: 36px;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* hero stats bar */
.hero-stats {
  background: white;
  border-top: 1px solid var(--border);
}
.hero-stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  padding: 0 40px;
}
.stat {
  flex: 1;
  padding: 26px 28px;
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 14px;
}
.stat:last-child { border-right: none; }
.stat-icon {
  width: 44px; height: 44px;
  background: var(--pine-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 2px;
}
.stat-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--forest);
}

/* ── SECTIONS ── */
.section { padding: 96px 40px; }
.section-alt { background: var(--bg); }
.section-dark {
  background: linear-gradient(135deg, #001820 0%, #002e36 50%, #001820 100%);
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='20'%3E%3Cpath d='M0 10 Q25 0 50 10 Q75 20 100 10' stroke='rgba(255,255,255,0.03)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-size: 100px 20px;
  pointer-events: none;
}

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}
.about-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about-image-badge {
  position: absolute;
  bottom: 20px; left: 20px;
  background: white;
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  gap: 12px;
}
.badge-icon { font-size: 1.5rem; }
.badge-text-main {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700; font-size: 0.95rem;
  color: var(--forest);
}
.badge-text-sub { font-size: 0.75rem; color: var(--muted); }
.about-features { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.feature-row { display: flex; align-items: flex-start; gap: 14px; }
.feature-check {
  width: 24px; height: 24px;
  background: var(--fern);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 0.75rem;
  flex-shrink: 0; margin-top: 2px;
}
.feature-text strong {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600; font-size: 0.95rem;
  display: block; color: var(--forest); margin-bottom: 2px;
}
.feature-text span { font-size: 0.875rem; color: var(--muted); }

/* ── AMENITIES ── */
.amenities-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 52px;
}
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.amenity-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px 26px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.amenity-card:hover {
  box-shadow: 0 8px 32px rgba(30,77,43,0.1);
  transform: translateY(-2px);
}
.amenity-icon { font-size: 2rem; margin-bottom: 14px; display: block; }
.amenity-card h3 {
  font-size: 1.02rem; font-weight: 700;
  color: var(--forest); margin-bottom: 8px;
}
.amenity-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

/* ── PHOTO GALLERY ── */
.gallery-header { margin-bottom: 40px; }
.gallery-header .section-label { color: #a8dbb0; }
.gallery-header .section-title { color: white; }
.gallery-header .section-sub { color: rgba(255,255,255,0.6); }
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 10px;
  border-radius: 16px;
  overflow: hidden;
}
.gallery-item {
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: rgba(255,255,255,0.05);
}
.gallery-item:first-child { grid-row: 1 / 3; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,30,15,0.65) 0%, transparent 55%);
  opacity: 0; transition: opacity 0.3s;
  display: flex; align-items: flex-end; padding: 16px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-label {
  color: white; font-size: 0.8rem; font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ── PROPERTY MAP ── */
.map-container {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 12px 48px rgba(0,0,0,0.08);
  position: relative;
}
.map-container img { width: 100%; height: auto; display: block; }
.map-pin-badge {
  position: absolute; top: 20px; left: 20px;
  background: white;
  border-radius: 10px;
  padding: 12px 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.map-pin-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700; font-size: 0.9rem; color: var(--forest);
}
.map-pin-sub { font-size: 0.76rem; color: var(--muted); margin-top: 2px; }

/* ── TESTIMONIAL ── */
.testimonial-inner { max-width: 720px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.quote-mark {
  font-size: 6rem; line-height: 0.7;
  color: rgba(255,255,255,0.1);
  font-family: Georgia, serif;
  margin-bottom: 16px;
}
.testimonial-text {
  font-size: 1.45rem; font-weight: 300;
  color: white; line-height: 1.7;
  margin-bottom: 28px; font-style: italic;
}
.testimonial-author {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600; color: #a8dbb0;
  font-size: 0.88rem;
  text-transform: uppercase; letter-spacing: 0.09em;
}

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: start;
}
.contact-info-items { margin-top: 36px; display: flex; flex-direction: column; gap: 22px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-item-icon {
  width: 48px; height: 48px;
  background: var(--pine-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.contact-item-label {
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); margin-bottom: 4px;
}
.contact-item-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600; font-size: 1rem; color: var(--forest);
}
.contact-item-value:hover { color: var(--pine); }
.contact-map-embed {
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border);
  height: 420px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
}
.contact-map-embed iframe { width: 100%; height: 100%; border: none; display: block; }

/* ── FOOTER ── */
.footer {
  background: #001820;   /* darkest teal — deeper than nav */
  padding: 52px 40px 32px;
  border-top: 1px solid rgba(62,128,64,0.15);
}
.footer-top {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 28px;
}
.footer-logo img {
  height: auto; width: 260px;
  opacity: 0.92;
  margin-bottom: 16px;
}
.footer-tagline { font-size: 0.875rem; color: rgba(255,255,255,0.4); line-height: 1.65; }
.footer-col h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.09em;
  color: rgba(255,255,255,0.3);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 0.875rem; color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: #a8dbb0; }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: rgba(255,255,255,0.28);
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom a { color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-bottom a:hover { color: rgba(255,255,255,0.65); }

/* ── LIGHTBOX ── */
.lightbox {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.93);
  z-index: 999;
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92vw; max-height: 88vh;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute; top: 18px; right: 24px;
  color: white; font-size: 2.2rem;
  cursor: pointer; line-height: 1;
  opacity: 0.65; transition: opacity 0.2s;
  background: none; border: none;
}
.lightbox-close:hover { opacity: 1; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .amenity-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; flex-direction: column; gap: 0; }
  .nav-links.open {
    display: flex;
    position: absolute; top: 90px; left: 0; right: 0;
    background: var(--forest);
    border-bottom: 1px solid rgba(0,0,0,0.2);
    padding: 12px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  }
  .nav-links.open li { border-bottom: 1px solid rgba(255,255,255,0.07); }
  .nav-links.open a { display: block; padding: 13px 24px; color: rgba(255,255,255,0.8); }
  .nav-links.open a:hover { color: white; }
  .nav-links.open .nav-cta { margin: 10px 20px 4px; border-radius: 8px; text-align: center; display: block; }
  .nav-links.open .nav-tenant { margin: 4px 20px; border-radius: 8px; text-align: center; display: block; }
  .nav-hamburger { display: flex; }
  .hero { padding: 0 20px; }
  .hero-content { padding: 60px 0 120px; }
  .hero-stats-inner { flex-direction: column; padding: 0 20px; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); padding: 18px 20px; }
  .stat:last-child { border-bottom: none; }
  .section { padding: 64px 20px; }
  .amenities-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .amenity-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-item:first-child { grid-row: auto; }
  .gallery-item { height: 180px; }
  .footer { padding: 40px 20px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
