:root {
  --navy: #1b3a4b;
  --sand: #f6f1e9;
  --terracotta: #c8703d;
  --terracotta-dark: #a85a2c;
  --text: #2b2b2b;
  --muted: #6b6b6b;
  --border: #e2ddd2;
  --radius: 10px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--sand);
  line-height: 1.5;
}

a { color: var(--terracotta-dark); }

header.site-header {
  background: var(--navy);
  color: #fff;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

header.site-header a { color: #fff; text-decoration: none; }

.site-title { font-size: 22px; font-weight: 700; }

nav.site-nav a {
  margin-left: 20px;
  font-size: 15px;
}

main { max-width: 1000px; margin: 0 auto; padding: 32px 20px 60px; }

.hero {
  text-align: center;
  padding: 40px 20px 20px;
}

.hero h1 { font-size: 32px; margin-bottom: 8px; }
.hero p { color: var(--muted); font-size: 17px; }

.property-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

@media (max-width: 700px) {
  .property-grid { grid-template-columns: 1fr; }
}

.property-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  display: block;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.property-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }

.photo-placeholder {
  height: 200px;
  background: linear-gradient(135deg, var(--navy), var(--terracotta));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.property-card .card-body { padding: 20px; }
.property-card h2 { margin: 0 0 6px; font-size: 21px; }
.property-card p { margin: 0; color: var(--muted); }

.card-cta {
  display: inline-block;
  margin-top: 14px;
  background: var(--terracotta);
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
}

footer.site-footer {
  text-align: center;
  padding: 24px;
  color: var(--muted);
  font-size: 13px;
}

/* Booking widget (used on property pages) */
.booking-widget {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 28px;
}

.booking-widget h2 { margin-top: 0; font-size: 20px; }

.booking-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.booking-field { flex: 1; min-width: 140px; }
.booking-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.booking-field input, .booking-field select {
  width: 100%;
  padding: 9px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 15px;
}

.btn-primary {
  background: var(--terracotta);
  color: #fff;
  border: none;
  padding: 11px 22px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.btn-primary:hover { background: var(--terracotta-dark); }
.btn-primary:disabled { background: #ccc; cursor: not-allowed; }

.quote-box {
  margin-top: 18px;
  padding: 16px;
  background: var(--sand);
  border-radius: 8px;
  display: none;
}
.quote-box.visible { display: block; }
.quote-line { display: flex; justify-content: space-between; padding: 3px 0; font-size: 14px; }
.quote-line.total { font-weight: 700; font-size: 16px; border-top: 1px solid var(--border); margin-top: 8px; padding-top: 8px; }

.error-box {
  margin-top: 14px;
  padding: 12px 16px;
  background: #fdecea;
  color: #8a2a1f;
  border-radius: 8px;
  display: none;
  font-size: 14px;
}
.error-box.visible { display: block; }

.form-status {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 8px;
  display: none;
  font-size: 14px;
}
.form-status.visible { display: block; }
.form-status.success { background: #eaf6ec; color: #1e5b2c; }
.form-status.error { background: #fdecea; color: #8a2a1f; }
