/* Cedar West Apartments — Landing Page Styles */

:root {
  --navy: #12213f;
  --navy-dark: #0b1730;
  --navy-light: #1f3a68;
  --gold: #a98a5b;
  --gold-light: #c9ad82;
  --cream: #f6f4f0;
  --gray-bg: #f0efec;
  --text: #2a2a28;
  --text-muted: #5c5b57;
  --white: #ffffff;
  --success: #2e7d4f;
  --error: #b3261e;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(18, 33, 63, 0.12);
  --shadow-sm: 0 4px 14px rgba(18, 33, 63, 0.08);
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--navy);
  margin: 0 0 0.5em;
  line-height: 1.2;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.section { padding: 84px 0; }
.section-alt { background: var(--gray-bg); }
.section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-lede {
  max-width: 640px;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 40px;
}
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--gold-light); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-outline-navy {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-block { width: 100%; }

/* Top announcement bar */
.announce {
  background: var(--navy-dark);
  color: var(--cream);
  font-size: 0.9rem;
  text-align: center;
  padding: 8px 16px;
}
.announce a { color: var(--gold-light); font-weight: 700; text-decoration: none; }
.announce a:hover { text-decoration: underline; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand img { height: 46px; width: auto; }
.brand-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  color: var(--navy);
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  line-height: 1.1;
}
.brand-text span {
  display: block;
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 3px;
  color: var(--gold);
}

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
}
.main-nav a:hover { color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.phone-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  font-size: 0.98rem;
}
.phone-link:hover { color: var(--gold); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
  color: var(--white);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('images/hero-drone.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.28;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,23,48,0.55) 0%, rgba(11,23,48,0.85) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 76px 0 90px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-copy .eyebrow { color: var(--gold-light); }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  margin-bottom: 18px;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold-light);
}
.hero p.lede {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.88);
  max-width: 540px;
  margin-bottom: 30px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.hero-fact { font-size: 0.92rem; color: rgba(255,255,255,0.85); }
.hero-fact strong { display: block; color: var(--white); font-size: 1.05rem; }

/* Hero form card */
.hero-form-card {
  background: var(--white);
  color: var(--text);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.hero-form-card h3 { font-size: 1.35rem; margin-bottom: 4px; }
.hero-form-card .form-sub { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 20px; }

/* Forms */
.lead-form { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.82rem; font-weight: 700; color: var(--navy); }
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid #d8d5cd;
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(169,138,91,0.18);
}
.field textarea { resize: vertical; min-height: 90px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.form-status {
  display: none;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
}
.form-status.success { display: block; background: #e6f4ea; color: var(--success); }
.form-status.error { display: block; background: #fbe9e7; color: var(--error); }
.form-disclaimer {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Feature strip */
.feature-strip {
  background: var(--white);
  border-bottom: 1px solid #eee;
}
.feature-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.feature-item { text-align: center; }
.feature-item .icon {
  width: 52px; height: 52px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border-radius: 50%;
  color: var(--gold);
}
.feature-item h4 { font-size: 1rem; margin-bottom: 4px; }
.feature-item p { font-size: 0.86rem; color: var(--text-muted); margin: 0; }

/* Pricing stats */
.pricing-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}
.pricing-stat {
  text-align: center;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 34px 20px;
}
.pricing-icon {
  width: 60px; height: 60px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1.5px solid #e4e0d6;
  border-radius: 50%;
  color: var(--navy);
}
.pricing-value {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.pricing-value-price { color: var(--success); }
.pricing-label {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--navy);
}

/* Amenities */
.amenities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.amenity-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #eceae4;
}
.amenity-card h3 {
  font-size: 1.3rem;
  border-bottom: 3px solid var(--gold);
  padding-bottom: 12px;
  margin-bottom: 20px;
}
.amenity-card .sub-label {
  font-weight: 700;
  color: var(--text);
  margin: 0 0 10px;
  font-size: 0.95rem;
}
.amenity-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.amenity-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.98rem;
}
.amenity-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 9px; height: 9px;
  margin-top: 7px;
  background: var(--gold);
  border-radius: 50%;
}

/* Gallery / photo band */
.photo-band {
  position: relative;
  height: 420px;
  background-image: url('images/hero-drone.jpg');
  background-size: cover;
  background-position: center;
  background-color: var(--navy-light);
}
.photo-band .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11,23,48,0.75) 0%, rgba(11,23,48,0) 45%);
  display: flex;
  align-items: flex-end;
  padding: 36px;
}
.photo-band .overlay .container { color: var(--white); }
.photo-band .overlay h3 { color: var(--white); margin-bottom: 6px; }
.photo-band .overlay p { margin: 0; color: rgba(255,255,255,0.85); max-width: 560px; }

/* Location */
.location-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: stretch;
}
.location-info {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
}
.location-info h3 { color: var(--white); }
.location-line { display: flex; gap: 12px; align-items: flex-start; }
.location-line .icon { color: var(--gold-light); flex: 0 0 auto; margin-top: 3px; }
.location-line strong { display: block; }
.location-info a.btn { align-self: flex-start; margin-top: 8px; }
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-height: 320px;
}
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* Final CTA */
.final-cta {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-light));
  color: var(--white);
}
.final-cta .section-title,
.final-cta h2 { color: var(--white); }
.final-cta .section-lede { color: rgba(255,255,255,0.82); }
.final-cta-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px;
  color: var(--text);
  max-width: 760px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 24px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 40px; filter: brightness(0) invert(1); }
.footer-brand-text { color: var(--white); font-family: 'Poppins', sans-serif; font-weight: 800; }
.site-footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: rgba(255,255,255,0.75); }
.site-footer a:hover { color: var(--gold-light); }
.footer-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
}
.eho-badge { display: flex; align-items: center; gap: 8px; }

/* Sticky mobile CTA */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--white);
  box-shadow: 0 -6px 20px rgba(0,0,0,0.15);
  padding: 10px 14px;
  gap: 10px;
}
.mobile-cta .btn { flex: 1; padding: 13px 10px; font-size: 0.92rem; }

/* Responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-form-card { order: -1; }
  .amenities-grid { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .feature-strip .container { grid-template-columns: repeat(2, 1fr); }
  .pricing-stats { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .main-nav, .header-actions .phone-link-text, .header-actions .btn-primary { display: none; }
  .nav-toggle { display: block; }
  .header-actions { gap: 8px; }
  .section { padding: 56px 0; }
  .form-row { grid-template-columns: 1fr; }
  .pricing-stat { padding: 20px 8px; }
  .pricing-icon { width: 46px; height: 46px; margin-bottom: 10px; }
  .pricing-value { font-size: 1.05rem; }
  .pricing-label { font-size: 0.68rem; letter-spacing: 1px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 68px; }
  .photo-band { height: 280px; }
}

/* Mobile nav drawer */
.main-nav.open {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  flex-direction: column;
  padding: 18px 24px 24px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
@media (min-width: 761px) {
  .main-nav.open { position: static; box-shadow: none; padding: 0; flex-direction: row; }
}
