/* ============================================================
   Casa Collective Co. — Shared Styles
   Brand: charcoal, gold, warm cream — curated & professional
   ============================================================ */

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

/* ---------- CSS Variables ---------- */
:root {
  --gold:        #B8943F;
  --gold-dark:   #9A7A32;
  --gold-light:  #D4AF70;
  --gold-pale:   #F5EDE6;
  --cream:       #F7F3EE;
  --cream-dark:  #EDE7DE;
  --charcoal:    #2A2A2A;
  --text:        #2A2A2A;
  --text-muted:  #6B6B6B;
  --white:       #FFFFFF;
  --radius:      10px;
  --shadow:      0 4px 20px rgba(42,42,42,0.10);
  --transition:  0.2s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { color: var(--text-muted); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cream-dark);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* ---------- Logo ---------- */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo svg { width: 40px; height: 40px; }
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--text);
  font-weight: 400;
  text-transform: uppercase;
}
.logo-co {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 4px;
}
.logo-line { height: 0.5px; background: var(--gold); width: 14px; flex-shrink: 0; }

/* ---------- Nav Links ---------- */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold-dark); background: var(--gold-pale); }
.nav-cta {
  background: var(--charcoal);
  color: var(--white) !important;
  padding: 8px 16px !important;
  border-radius: 8px !important;
}
.nav-cta:hover { background: var(--gold) !important; color: var(--white) !important; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}
.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--charcoal); border: 2px solid var(--charcoal); }
.btn-outline:hover { background: var(--gold-pale); border-color: var(--gold); color: var(--gold-dark); }
.btn-white { background: var(--white); color: var(--charcoal); }
.btn-white:hover { background: var(--cream); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(150deg, var(--charcoal) 0%, #3D3530 55%, #4A3E2E 100%);
  color: var(--white);
  padding: 100px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}
.hero h1 { color: var(--white); margin-bottom: 16px; }
.hero h1 em { color: var(--gold-light); font-style: italic; }
.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--cream-dark);
  padding: 20px 24px;
}
.trust-bar-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.trust-bar span { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; }
.trust-logos { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }
.trust-logos img { height: 22px; width: auto; object-fit: contain; filter: grayscale(1) opacity(0.6); transition: filter var(--transition); }
.trust-logos img:hover { filter: grayscale(0) opacity(1); }

/* ---------- Section ---------- */
.section { padding: 80px 24px; }
.section-inner { max-width: 1160px; margin: 0 auto; }
.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-title { margin-bottom: 16px; }
.section-sub { font-size: 1.05rem; max-width: 540px; margin-bottom: 48px; }
.section-bg { background: var(--cream); }
.section-sage { background: var(--gold-pale); }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: 14px;
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(42,42,42,0.14); }
.card-icon {
  width: 52px;
  height: 52px;
  background: var(--gold-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold-dark);
}
.card h3 { margin-bottom: 10px; color: var(--text); }

/* ---------- Stats ---------- */
.stats-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 48px;
}
.stat-item {}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--gold-dark);
  line-height: 1;
}
.stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

/* ---------- Two-column split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-img {
  border-radius: 16px;
  overflow: hidden;
  background: var(--gold-pale);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.split-img-placeholder {
  color: var(--gold-dark);
  text-align: center;
  padding: 40px;
  opacity: 0.6;
}

/* ---------- Booking Widget ---------- */
.widget-section { background: var(--cream); padding: 80px 24px; }
.widget-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}
.widget-inner h2 { margin-bottom: 12px; }
.widget-inner > p { margin-bottom: 40px; }
.widget-wrap {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow);
  min-height: 400px;
}

/* ---------- Landlord CTA ---------- */
.landlord-cta {
  background: linear-gradient(135deg, var(--charcoal), #3D3530);
  color: var(--white);
  padding: 80px 24px;
  text-align: center;
}
.landlord-cta h2 { color: var(--white); margin-bottom: 14px; }
.landlord-cta p { color: rgba(255,255,255,0.85); margin-bottom: 32px; font-size: 1.05rem; }

/* ---------- Contact Form ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.875rem; font-weight: 500; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--cream-dark);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: 60px 24px 32px;
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo { color: var(--white); margin-bottom: 14px; }
.footer-brand .logo-name { color: var(--white); }
.footer-brand .logo-co { color: var(--gold-light); }
.footer-brand .logo-line { background: var(--gold-light); }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; }
.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.875rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a:hover { color: var(--gold-light); }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--charcoal) 0%, #3D3530 100%);
  padding: 72px 24px 64px;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 1.05rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 680px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--cream-dark); padding: 16px; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .stats-row { gap: 24px; }
  .hero { padding: 72px 20px 60px; }
  .section { padding: 56px 20px; }
}
