/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:   #f9f6f1;
  --warm:    #ede8df;
  --brown:   #7a5c44;
  --dark:    #2c2118;
  --text:    #4a3728;
  --muted:   #9a8878;
  --white:   #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--dark);
  line-height: 1.2;
}

a { color: inherit; text-decoration: none; }

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--warm);
  padding: 0.75rem 2rem;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 72px;
  width: auto;
  display: block;
}

nav a {
  margin-left: 2rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}
nav a:hover { color: var(--brown); }

.nav-login {
  margin-left: 2rem;
  padding: 0.4rem 1rem;
  border: 1px solid #c8bfb4;
  border-radius: 2px;
  color: var(--text) !important;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s, border-color 0.2s, color 0.2s !important;
}
.nav-login:hover {
  background: var(--brown) !important;
  border-color: var(--brown) !important;
  color: var(--white) !important;
}

/* ── Hero ── */
.hero {
  position: relative;
  padding: 10rem 2rem;
  text-align: center;
  background-color: var(--dark);
  background-image: url('hero.jpg');
  background-size: cover;
  background-position: center 60%;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(28, 20, 14, 0.55) 0%,
    rgba(28, 20, 14, 0.45) 60%,
    rgba(28, 20, 14, 0.65) 100%
  );
}

.hero-content {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(210, 175, 148, 0.9);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 24px rgba(0,0,0,0.3);
}

.subheading {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 2.75rem;
  line-height: 1.8;
}

/* ── Button ── */
.btn {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 0.85rem 2.25rem;
  border-radius: 2px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.6);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.btn:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.9);
  transform: translateY(-1px);
}

/* Solid button variant for use outside the hero */
.btn--solid {
  background: var(--brown);
  border-color: var(--brown);
  color: var(--white);
}
.btn--solid:hover {
  background: var(--dark);
  border-color: var(--dark);
}

/* ── Sections ── */
.section { padding: 6rem 2rem; }
.section--alt { background: var(--warm); }

.container {
  max-width: 880px;
  margin: 0 auto;
}

.section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.section h2::after {
  content: '';
  display: block;
  width: 2.5rem;
  height: 2px;
  background: var(--brown);
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
}

.section p {
  font-size: 1rem;
  color: var(--text);
  max-width: 640px;
  line-height: 1.85;
}

/* ── Units intro ── */
.units-intro {
  font-size: 1rem;
  color: var(--muted);
  margin-top: -0.5rem;
  margin-bottom: 2.5rem;
  max-width: 100%;
}

.unit-divider {
  border: none;
  border-top: 1px solid #ddd5c8;
  margin: 3rem 0;
}

.unit-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 0.25rem;
}

/* ── Property Card ── */
.property-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  background: var(--cream);
  border-radius: 4px;
  overflow: hidden;
  padding: 2.5rem;
  border: 1px solid #ddd5c8;
}

@media (max-width: 700px) {
  .property-card { grid-template-columns: 1fr; gap: 2rem; padding: 1.5rem; }
}

/* ── Carousel ── */
.carousel {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  background: var(--dark);
  aspect-ratio: 4 / 3;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s ease;
}

.carousel-track img {
  min-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(44, 33, 24, 0.5);
  color: var(--white);
  border: none;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-btn:hover { background: rgba(44, 33, 24, 0.9); }
.carousel-btn--prev { left: 0.65rem; }
.carousel-btn--next { right: 0.65rem; }

.carousel-dots {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}
.carousel-dot.active { background: var(--white); }

/* ── Property Details ── */
.property-details h3 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.property-location {
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
}

.property-stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #ddd5c8;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.2rem;
}

.property-rent {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 1.25rem;
  line-height: 1;
}

.rent-period {
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
}

.property-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.property-features li {
  padding: 0.3rem 0;
  padding-left: 1.1rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
}

.property-features li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--brown);
}

.property-note {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Contact ── */
.contact-container { max-width: 600px; }
.contact-container > p { margin-bottom: 2.5rem; color: var(--muted); }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 500px) {
  .form-row { grid-template-columns: 1fr; }
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #d4c9bc;
  border-radius: 2px;
  background: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--brown);
}

.contact-form textarea { resize: vertical; }

/* ── Footer ── */
.footer {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--dark);
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  line-height: 2;
}

.footer-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.25rem;
  letter-spacing: 0.05em;
}

.footer a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer a:hover { color: rgba(255,255,255,0.85); }

.footer-copy {
  margin-top: 1rem;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.25);
}
