:root {
  --navy: #003051;
  --navy-dark: #001d30;
  --ice: #eaf6fb;
  --ice-mid: #cfe9f5;
  --accent: #4fb3e0;
  --white: #ffffff;
  --gray: #5a6a72;
  --success: #2e7d32;
  --danger: #c0392b;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--navy-dark);
  background: var(--ice);
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

header.site-header {
  background: var(--navy);
  color: white;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.logo-wrap { display: flex; align-items: center; gap: 12px; }
.logo-wrap img { height: 48px; }
.logo-wrap .brand-text { font-size: 20px; font-weight: 700; letter-spacing: 0.5px; }
.logo-wrap .brand-tag { font-size: 11px; color: var(--ice-mid); font-weight: 400; }
nav.site-nav a {
  color: white;
  margin-left: 24px;
  font-size: 15px;
  font-weight: 500;
  opacity: 0.9;
}
nav.site-nav a:hover { opacity: 1; text-decoration: underline; }

.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0a4a72 60%, var(--accent) 140%);
  color: white;
  padding: 90px 32px 70px;
  text-align: center;
}
.hero h1 { font-size: 42px; margin: 0 0 12px; font-weight: 800; }
.hero p.tagline { font-size: 19px; color: var(--ice-mid); margin: 0 0 30px; }
.hero .cta-btn {
  background: white;
  color: var(--navy);
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 16px;
  display: inline-block;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  transition: transform 0.15s;
}
.hero .cta-btn:hover { transform: translateY(-2px); }

.section { padding: 60px 32px; max-width: 1200px; margin: 0 auto; }
.section h2 { font-size: 30px; margin-bottom: 8px; color: var(--navy); }
.section .subhead { color: var(--gray); margin-bottom: 36px; font-size: 16px; }

.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.property-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 3px 16px rgba(0,48,81,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.property-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,48,81,0.15); }
.property-card .photo {
  height: 190px;
  background: linear-gradient(135deg, var(--ice-mid), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 600; font-size: 14px;
}
.property-card .body { padding: 20px; }
.property-card h3 { margin: 0 0 6px; font-size: 19px; color: var(--navy); }
.property-card .meta { color: var(--gray); font-size: 14px; margin-bottom: 12px; }
.property-card .price { font-size: 22px; font-weight: 800; color: var(--navy); }
.property-card .price span { font-size: 13px; font-weight: 400; color: var(--gray); }
.property-card .view-btn {
  margin-top: 14px;
  display: inline-block;
  background: var(--navy);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  width: 100%;
  text-align: center;
}
.property-card .view-btn:hover { background: var(--navy-dark); }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 24px; }
.feature-box { background: white; padding: 24px; border-radius: 12px; text-align: center; box-shadow: 0 2px 10px rgba(0,48,81,0.06); }
.feature-box .icon { font-size: 32px; margin-bottom: 10px; }
.feature-box h4 { margin: 0 0 6px; color: var(--navy); }
.feature-box p { color: var(--gray); font-size: 14px; margin: 0; }

footer.site-footer {
  background: var(--navy-dark);
  color: var(--ice-mid);
  padding: 40px 32px;
  text-align: center;
  font-size: 14px;
}
footer.site-footer a { color: white; text-decoration: underline; }

/* Property detail page */
.property-detail { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; }
@media (max-width: 900px) { .property-detail { grid-template-columns: 1fr; } }
.property-hero-img {
  height: 320px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ice-mid), var(--accent));
  margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 18px;
}
.booking-box {
  background: white;
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 4px 20px rgba(0,48,81,0.12);
  height: fit-content;
  position: sticky;
  top: 100px;
}
.booking-box .price-line { font-size: 24px; font-weight: 800; color: var(--navy); margin-bottom: 18px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; color: var(--navy); }
.form-group input, .form-group select {
  width: 100%; padding: 10px 12px; border: 1px solid #cdd8dc; border-radius: 8px; font-size: 14px;
}
.date-row { display: flex; gap: 10px; }
.date-row .form-group { flex: 1; }
.book-btn {
  width: 100%; background: var(--navy); color: white; border: none;
  padding: 14px; border-radius: 8px; font-size: 16px; font-weight: 700; cursor: pointer; margin-top: 10px;
}
.book-btn:hover { background: var(--navy-dark); }
.book-btn:disabled { background: #99a; cursor: not-allowed; }
.error-msg { color: var(--danger); font-size: 13px; margin-top: 8px; }
.success-msg { color: var(--success); font-size: 13px; margin-top: 8px; }
.total-line { display: flex; justify-content: space-between; font-size: 15px; padding-top: 12px; border-top: 1px solid #eee; margin-top: 12px; font-weight: 700; }

.confirmation-box {
  max-width: 560px; margin: 80px auto; background: white; border-radius: 16px; padding: 40px; text-align: center;
  box-shadow: 0 4px 24px rgba(0,48,81,0.12);
}
.confirmation-box .check { font-size: 56px; color: var(--success); }
