/* =========================================================
   PENSACOLA LUXURY — Shared Stylesheet
   Brand: Navy + Champagne Gold + Cream
   Typography: Playfair Display (serif) + Inter (sans)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --navy: #0A1F3D;
  --navy-deep: #061328;
  --gold: #C9A961;
  --gold-light: #E6D5A8;
  --cream: #FAF7F2;
  --charcoal: #1A1A1A;
  --gray-warm: #6B6357;
  --gray-soft: #E8E3DA;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(10, 31, 61, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 31, 61, 0.10);
  --shadow-lg: 0 20px 60px rgba(10, 31, 61, 0.15);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); font-weight: 400; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 1rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.1rem; }
p  { color: var(--gray-warm); font-size: 1.05rem; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 1rem;
  display: inline-block;
}
.divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem auto;
}
.divider.left { margin-left: 0; margin-right: 0; }

/* ---------- Layout ---------- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}
section { padding: 6rem 0; }
@media (max-width: 768px) {
  section { padding: 4rem 0; }
  .container { padding: 0 1.25rem; }
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 169, 97, 0.15);
  transition: all 0.3s ease;
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  max-width: 1320px;
  margin: 0 auto;
}
.nav-brand {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.nav-brand span { color: var(--gold); }
.nav-links {
  display: flex;
  gap: 2.25rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--navy);
  color: var(--cream) !important;
  padding: 0.65rem 1.4rem;
  border-radius: 2px;
  font-size: 0.85rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase;
}
.nav-cta:hover { background: var(--gold); color: var(--navy) !important; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
@media (max-width: 880px) {
  .nav-links { display: none; flex-direction: column; gap: 1rem; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); padding: 1.5rem 2rem; box-shadow: var(--shadow-md); border-top: 1px solid var(--gray-soft); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; font-size: 1.5rem; color: var(--navy); }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: var(--cream);
  padding: 8rem 0 4rem;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(6, 19, 40, 0.75) 0%, rgba(10, 31, 61, 0.55) 100%);
  z-index: -1;
}
.hero h1 { color: var(--cream); max-width: 18ch; }
.hero p  { color: rgba(250, 247, 242, 0.88); font-size: 1.2rem; margin: 1.5rem 0 2.5rem; max-width: 55ch; }
.hero .eyebrow { color: var(--gold-light); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 1rem 2.25rem;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 2px;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}
.btn-secondary:hover {
  background: var(--cream);
  color: var(--navy);
}
.btn-dark {
  background: var(--navy);
  color: var(--cream);
}
.btn-dark:hover { background: var(--navy-deep); }
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-img {
  width: 100%;
  height: 260px;
  background-size: cover;
  background-position: center;
}
.card-body { padding: 1.75rem; }
.card-body h3 { color: var(--navy); margin-bottom: 0.5rem; }
.card-meta { color: var(--gold); font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.75rem; }
.card-price { font-family: var(--serif); font-size: 1.4rem; color: var(--navy); margin-top: 1rem; }

/* ---------- Section headers ---------- */
.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}
.section-head p { margin-top: 1rem; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head.left .divider { margin-left: 0; }

/* ---------- Two-column feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-img {
  height: 520px;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
}
.split-text h2 { margin-bottom: 1.5rem; }
.split-text p { margin-bottom: 1.25rem; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split-img { height: 320px; }
}

/* ---------- Stats strip ---------- */
.stats {
  background: var(--navy);
  color: var(--cream);
  padding: 4rem 0;
}
.stats .grid-4 { gap: 2rem; }
.stat { text-align: center; }
.stat-num {
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.7);
}

/* ---------- Form ---------- */
.form-card {
  background: var(--white);
  padding: 3rem;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--gold);
}
.form-card h2 { margin-bottom: 0.5rem; }
.form-card .eyebrow { margin-bottom: 0.5rem; }
.form-card .subtitle { margin-bottom: 2rem; color: var(--gray-warm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--gray-soft);
  background: var(--cream);
  border-radius: 2px;
  color: var(--charcoal);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.15);
}
.form-field textarea { min-height: 110px; resize: vertical; }
.form-card .btn { margin-top: 1.5rem; width: 100%; }
.form-disclaimer {
  font-size: 0.78rem;
  color: var(--gray-warm);
  margin-top: 1rem;
  text-align: center;
}

/* ---------- Testimonial ---------- */
.testimonial {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 4px;
  border-left: 3px solid var(--gold);
  position: relative;
}
.testimonial .quote {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.testimonial .attr {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.05em;
}
.testimonial .attr span {
  display: block;
  font-weight: 400;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--cream);
  text-align: center;
  padding: 5rem 2rem;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.12) 0%, transparent 60%);
}
.cta-banner h2 { color: var(--cream); position: relative; }
.cta-banner p { color: rgba(250, 247, 242, 0.85); max-width: 55ch; margin: 1rem auto 2rem; position: relative; }
.cta-banner .btn-row { justify-content: center; position: relative; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-deep);
  color: rgba(250, 247, 242, 0.7);
  padding: 4rem 0 2rem;
}
.footer h4 {
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.footer a {
  color: rgba(250, 247, 242, 0.7);
  text-decoration: none;
  font-size: 0.92rem;
  display: block;
  padding: 0.35rem 0;
  transition: color 0.2s;
}
.footer a:hover { color: var(--gold); }
.footer-brand {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--cream);
  margin-bottom: 1rem;
}
.footer-brand span { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(250, 247, 242, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
}

/* ---------- Listings ---------- */
.listing-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--gray-warm);
  margin-top: 0.75rem;
}
.listing-meta span { display: flex; align-items: center; gap: 0.35rem; }
.listing-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--gold);
  color: var(--navy);
  padding: 0.35rem 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 2px;
  z-index: 1;
}
.card-img-wrap { position: relative; }

/* ---------- Process / Steps ---------- */
.steps { counter-reset: step; }
.step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--gray-soft);
}
.step:last-child { border-bottom: none; }
.step-num {
  counter-increment: step;
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
  min-width: 80px;
}
.step-num::before { content: '0' counter(step); }
.step-content h3 { margin-bottom: 0.5rem; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.bg-cream { background: var(--cream); }
.bg-white { background: var(--white); }
.bg-navy  { background: var(--navy); color: var(--cream); }
.bg-navy h2, .bg-navy h3 { color: var(--cream); }
.bg-navy p { color: rgba(250, 247, 242, 0.8); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- Animation ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.8s ease-out both; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
