/* ============================================================
   Austin Edge Realty — Shared Styles
   ============================================================ */

:root {
  --navy: #0f1f2e;
  --navy-mid: #1a3148;
  --sky: #2a6496;
  --gold: #c8953a;
  --gold-light: #e8b86d;
  --white: #ffffff;
  --off: #f8f6f2;
  --mist: #eceae5;
  --text: #2c2c2c;
  --muted: #6b7280;
  --green: #16a34a;
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Outfit', sans-serif;
  --shadow: 0 4px 24px rgba(15,31,46,0.10);
  --shadow-lg: 0 12px 48px rgba(15,31,46,0.16);
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); color: var(--text); background: var(--white); overflow-x: hidden; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: var(--navy);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: var(--nav-h);
}
.nav-brand { display: flex; flex-direction: column; text-decoration: none; }
.nav-brand-name { font-family: var(--font-serif); font-size: 20px; font-weight: 700; color: var(--white); letter-spacing: 0.5px; line-height: 1.1; }
.nav-brand-sub { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.7); text-decoration: none; letter-spacing: 0.5px; transition: color .2s; padding-bottom: 2px; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); border-bottom-color: var(--gold); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-phone { font-size: 13px; color: rgba(255,255,255,0.6); }
.nav-phone strong { color: var(--white); }
.nav-btn { background: var(--gold); color: var(--white); padding: 9px 22px; font-size: 13px; font-weight: 600; border: none; cursor: pointer; letter-spacing: 0.5px; text-decoration: none; display: inline-block; transition: background .2s; border-radius: 2px; }
.nav-btn:hover { background: var(--gold-light); color: var(--navy); }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: white; transition: all .3s; }
.mobile-menu { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; background: var(--navy); padding: 20px 24px; z-index: 199; flex-direction: column; gap: 16px; border-top: 1px solid rgba(255,255,255,0.1); }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 15px; color: rgba(255,255,255,0.8); text-decoration: none; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
.mobile-menu a:hover { color: var(--gold); }

/* ── PAGE HEADER ── */
.page-header {
  background: var(--navy); padding-top: var(--nav-h);
  padding-bottom: 48px; padding-left: 48px; padding-right: 48px;
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 200px;
}
.breadcrumb { font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 12px; }
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-header-title { font-family: var(--font-serif); font-size: clamp(28px,4vw,48px); font-weight: 700; color: var(--white); }
.page-header-sub { font-size: 15px; color: rgba(255,255,255,0.6); margin-top: 8px; }

/* ── PROPERTY CARD ── */
.listing-card { background: var(--white); border-radius: 4px; overflow: hidden; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; cursor: pointer; text-decoration: none; display: block; color: var(--text); }
.listing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.listing-img { position: relative; height: 220px; overflow: hidden; background: var(--mist); }
.listing-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.listing-card:hover .listing-img img { transform: scale(1.04); }
.listing-badge { position: absolute; top: 14px; left: 14px; background: var(--navy); color: var(--white); font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 5px 12px; border-radius: 2px; }
.listing-badge.new-badge { background: var(--gold); }
.listing-badge.open-badge { background: var(--green); }
.listing-badge.drop-badge { background: #dc2626; }
.listing-save { position: absolute; top: 14px; right: 14px; background: rgba(255,255,255,0.9); width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 16px; transition: background .2s; border: none; }
.listing-save:hover { background: white; }
.listing-info { padding: 20px 20px 24px; }
.listing-price { font-family: var(--font-serif); font-size: 26px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.listing-address { font-size: 14px; color: var(--text); font-weight: 500; margin-bottom: 4px; }
.listing-city { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.listing-specs { display: flex; gap: 16px; padding-top: 14px; border-top: 1px solid var(--mist); }
.spec { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.spec strong { color: var(--text); font-weight: 600; font-size: 13px; }
.listing-tag { font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }

/* ── BUTTONS ── */
.btn-primary { background: var(--navy); color: var(--white); padding: 14px 32px; font-size: 14px; font-weight: 600; letter-spacing: 0.5px; border: 2px solid var(--navy); cursor: pointer; transition: all .2s; text-decoration: none; display: inline-block; border-radius: 2px; font-family: var(--font-sans); }
.btn-primary:hover { background: var(--sky); border-color: var(--sky); }
.btn-gold { background: var(--gold); color: var(--white); padding: 14px 32px; font-size: 14px; font-weight: 600; letter-spacing: 0.5px; border: 2px solid var(--gold); cursor: pointer; transition: all .2s; text-decoration: none; display: inline-block; border-radius: 2px; font-family: var(--font-sans); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--navy); }
.btn-ghost { background: transparent; color: var(--navy); padding: 14px 32px; font-size: 14px; font-weight: 600; letter-spacing: 0.5px; border: 2px solid var(--navy); cursor: pointer; transition: all .2s; text-decoration: none; display: inline-block; border-radius: 2px; font-family: var(--font-sans); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-ghost-white { background: transparent; color: var(--white); padding: 14px 32px; font-size: 14px; font-weight: 600; letter-spacing: 0.5px; border: 2px solid rgba(255,255,255,0.4); cursor: pointer; transition: all .2s; text-decoration: none; display: inline-block; border-radius: 2px; font-family: var(--font-sans); }
.btn-ghost-white:hover { background: rgba(255,255,255,0.1); border-color: white; }

/* ── SECTION COMMONS ── */
.section-tag { font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.section-title { font-family: var(--font-serif); font-size: clamp(28px,4vw,44px); font-weight: 700; color: var(--navy); }
.section-title em { font-style: italic; }

/* ── HUBSPOT FORM ── */
.hs-form-frame { width: 100%; }
.hs-form-frame input, .hs-form-frame select, .hs-form-frame textarea {
  font-family: var(--font-sans) !important;
}

/* ── FOOTER ── */
footer { background: var(--navy); color: rgba(255,255,255,0.5); padding: 48px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand-name { font-family: var(--font-serif); font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.footer-brand-sub { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-brand-desc { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.5); }
.footer-col-title { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12px; }
.footer-demo-badge { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); background: rgba(200,149,58,0.1); border: 1px solid rgba(200,149,58,0.3); padding: 6px 16px; border-radius: 20px; }
.footer-license { font-size: 11px; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp .7s ease both; }
.delay-1 { animation-delay: .1s; } .delay-2 { animation-delay: .25s; } .delay-3 { animation-delay: .4s; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  nav { padding: 0 20px; }
  .nav-links, .nav-phone { display: none; }
  .nav-hamburger { display: flex; }
  .page-header { padding: 20px 24px 36px; }
  footer { padding: 40px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
