/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #f8f5ef;
  --dark: #1a1a18;
  --gold: #c9a96e;
  --gold-light: #e8d5b0;
  --text: #3a3a38;
  --muted: #888882;
  --white: #ffffff;
  --card-bg: #ffffff;
  --radius: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; width: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.15;
}
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 300; }
h3 { font-size: 1.3rem; font-weight: 400; }
em { font-style: italic; color: var(--gold); }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 5%;
  background: rgba(248, 245, 239, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 169, 110, 0.2);
  transition: var(--transition);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--dark);
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 2.5rem; }
.nav-links a {
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--text);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--dark);
  color: var(--white);
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  transition: background var(--transition);
}
.nav-cta:hover { background: var(--gold); }
.hamburger { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); animation: slowZoom 12s ease-out forwards; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(26,26,24,0.78) 0%, rgba(26,26,24,0.45) 60%, rgba(26,26,24,0.2) 100%);
  z-index: 1;
}
@keyframes slowZoom { to { transform: scale(1); } }

.hero-content {
  position: relative; z-index: 2;
  padding: 0 5%;
  max-width: 760px;
  margin-top: 80px;
  animation: fadeUp 1s ease 0.3s both;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

.hero-label {
  display: inline-block;
  background: rgba(201, 169, 110, 0.2);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1.2rem;
}
.hero-title { color: var(--white); margin-bottom: 1rem; }
.hero-sub { color: rgba(255,255,255,0.75); max-width: 480px; margin-bottom: 2rem; font-size: 1rem; }

.hero-search {
  display: flex;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  max-width: 620px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  margin-bottom: 2.5rem;
}
.hero-search select,
.hero-search input {
  border: none; outline: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  padding: 1rem 1.2rem;
  background: none;
}
.hero-search select { border-right: 1px solid #eee; min-width: 110px; }
.hero-search input { flex: 1; }
.hero-search button {
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 1rem 1.8rem;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  transition: background var(--transition);
}
.hero-search button:hover { background: var(--dark); }

.hero-stats { display: flex; gap: 2.5rem; }
.hero-stats div { color: var(--white); }
.hero-stats strong { display: block; font-size: 1.8rem; font-family: 'Cormorant Garamond', serif; font-weight: 600; color: var(--gold); }
.hero-stats span { font-size: 0.78rem; opacity: 0.7; letter-spacing: 0.5px; }

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: var(--white); font-size: 1.3rem; opacity: 0.5; z-index: 2;
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  padding: 0 5%;
}
.section-header p { color: var(--muted); margin-top: 0.7rem; }
.section-header.light h2 { color: var(--white); }
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

/* ===== LISTINGS ===== */
.listings { padding: 6rem 5%; }

.filter-bar {
  display: flex; gap: 0.6rem; justify-content: center;
  margin-bottom: 3rem;
}
.filter-btn {
  background: none;
  border: 1px solid #ddd;
  padding: 0.5rem 1.4rem;
  border-radius: 30px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
  transition: all var(--transition);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--dark); border-color: var(--dark);
  color: var(--white);
}

.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 50px rgba(0,0,0,0.12); }
.card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; }
.card-badge {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  background: var(--gold); color: var(--white);
  font-size: 0.72rem; font-weight: 500;
  padding: 0.3rem 0.8rem; border-radius: 20px; letter-spacing: 0.5px;
}

.card-img-wrap { position: relative; overflow: hidden; height: 240px; }
.card.featured .card-img-wrap { height: 100%; min-height: 320px; }
.card-img-wrap img { height: 100%; transition: transform 0.5s ease; }
.card:hover .card-img-wrap img { transform: scale(1.06); }
.card-overlay {
  position: absolute; inset: 0;
  background: rgba(26,26,24,0.4);
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 1.2rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.card:hover .card-overlay { opacity: 1; }
.card-btn {
  color: var(--white); background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 0.5rem 1rem; border-radius: 4px; font-size: 0.82rem;
  backdrop-filter: blur(4px);
}

.card-body { padding: 1.4rem; }
.card.featured .card-body { padding: 2.2rem; display: flex; flex-direction: column; justify-content: center; }
.card-type { font-size: 0.72rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 0.4rem; }
.card-body h3 { margin-bottom: 0.4rem; }
.card-loc { color: var(--muted); font-size: 0.85rem; margin-bottom: 0.8rem; }
.card-specs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.card-specs span {
  background: var(--cream); color: var(--text);
  font-size: 0.78rem; padding: 0.25rem 0.7rem; border-radius: 20px;
}
.card-footer { display: flex; align-items: center; justify-content: space-between; }
.card-price { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 600; }
.card.featured .card-price { font-size: 1.8rem; }
.card-tag {
  background: #fff3cd; color: #856404;
  font-size: 0.72rem; font-weight: 500;
  padding: 0.25rem 0.7rem; border-radius: 20px;
}
.center-btn { text-align: center; margin-top: 3rem; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--dark); color: var(--white);
  padding: 0.85rem 2rem; border-radius: 5px;
  font-size: 0.9rem; font-weight: 500;
  transition: background var(--transition);
  border: none; cursor: pointer; font-family: 'DM Sans', sans-serif;
}
.btn-primary:hover { background: var(--gold); }
.btn-primary.full { width: 100%; text-align: center; }
.btn-outline {
  display: inline-block;
  border: 1.5px solid var(--dark); color: var(--dark);
  padding: 0.8rem 2rem; border-radius: 5px;
  font-size: 0.9rem; font-weight: 500;
  transition: all var(--transition);
}
.btn-outline:hover { background: var(--dark); color: var(--white); }

/* ===== WHY ===== */
.why { padding: 6rem 5%; background: var(--white); }
.why-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.why-text .section-tag { display: block; margin-bottom: 0.5rem; }
.why-text h2 { margin-bottom: 1.2rem; }
.why-text > p { color: var(--muted); margin-bottom: 1.8rem; max-width: 440px; }
.why-list { margin-bottom: 2rem; }
.why-list li {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.6rem 0; border-bottom: 1px solid var(--cream);
  font-size: 0.95rem;
}
.why-list span { color: var(--gold); font-weight: 600; font-size: 1rem; }
.why-img { position: relative; }
.why-img img { border-radius: var(--radius); height: 500px; }
.why-badge {
  position: absolute; bottom: -1rem; left: -1.5rem;
  background: var(--gold); color: var(--white);
  padding: 1.2rem 1.8rem; border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(201,169,110,0.4);
  text-align: center;
}
.why-badge strong { display: block; font-family: 'Cormorant Garamond', serif; font-size: 2rem; }
.why-badge span { font-size: 0.78rem; opacity: 0.85; }

/* ===== SERVICES ===== */
.services { padding: 6rem 5%; background: var(--dark); }
.services .section-tag { color: var(--gold); }
.services .section-header p { color: rgba(255,255,255,0.5); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px; margin: 0 auto;
}
.service-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
}
.service-card:hover {
  background: rgba(201,169,110,0.12);
  border-color: rgba(201,169,110,0.3);
  transform: translateY(-4px);
}
.service-icon { font-size: 2rem; margin-bottom: 1rem; }
.service-card h3 { color: var(--white); margin-bottom: 0.6rem; }
.service-card p { color: rgba(255,255,255,0.5); font-size: 0.9rem; }

/* ===== TESTIMONIALS ===== */
.testimonials { padding: 6rem 5%; }
.testi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem; max-width: 1200px; margin: 0 auto;
}
.testi-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid rgba(201,169,110,0.2);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.testi-card > p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.testi-author { display: flex; align-items: center; gap: 0.9rem; }
.testi-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.testi-author strong { display: block; font-size: 0.9rem; }
.testi-author span { font-size: 0.78rem; color: var(--muted); }

/* ===== CONTACT ===== */
.contact { padding: 6rem 5%; background: var(--white); }
.contact-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start;
}
.contact-text .section-tag { display: block; margin-bottom: 0.5rem; }
.contact-text h2 { margin-bottom: 1rem; }
.contact-text > p { color: var(--muted); margin-bottom: 2rem; }
.contact-info { display: flex; flex-direction: column; gap: 0.8rem; }
.contact-info div { font-size: 0.9rem; }
.contact-info a { color: var(--text); transition: color var(--transition); }
.contact-info a:hover { color: var(--gold); }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; padding: 0.85rem 1rem;
  border: 1.5px solid #e8e8e4;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--cream);
  outline: none;
  transition: border-color var(--transition);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--gold); }
.contact-form textarea { resize: vertical; }

/* ===== FOOTER ===== */
.footer { background: var(--dark); padding: 4rem 5% 0; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
}
.footer .nav-logo { margin-bottom: 0.8rem; }
.footer-brand > p { color: rgba(255,255,255,0.45); font-size: 0.85rem; max-width: 240px; }
.footer-social { display: flex; gap: 0.7rem; margin-top: 1.2rem; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem; font-weight: 700;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--white); }
.footer-col h4 { color: var(--white); font-size: 0.85rem; letter-spacing: 1px; margin-bottom: 1.2rem; font-family: 'DM Sans', sans-serif; font-weight: 500; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { color: rgba(255,255,255,0.45); font-size: 0.85rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
}
.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 0.78rem; }
.footer-bottom div { display: flex; gap: 1.5rem; }
.footer-bottom a { color: rgba(255,255,255,0.3); font-size: 0.78rem; transition: color var(--transition); }
.footer-bottom a:hover { color: var(--gold); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .listings-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .card.featured { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .card.featured .card-img-wrap { height: 260px; }
  .why-inner, .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: block; }
  .listings-grid, .services-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .hero-search { flex-direction: column; }
  .hero-search select { border-right: none; border-bottom: 1px solid #eee; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.8rem; text-align: center; }
}
