
:root {
  --primary: #1e3a8a;
  --primary-hover: #1e40af;
  --secondary: #0f172a;
  --accent: #2563eb;
  --bg-light: #f8fafc;
  --surface: #ffffff;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.5;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.navbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--secondary);
}

.logo span {
  color: var(--accent);
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  margin-left: 1.5rem;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--accent);
}

.hero {
  background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.75)), url('images/hero.jpg') center/cover no-repeat;
  color: #fff;
  padding: 6rem 0;
  text-align: center;
}

.hero-content h1 {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.25rem;
  color: #cbd5e1;
  max-width: 650px;
  margin: 0 auto 2rem;
}

.section {
  padding: 4rem 1.5rem;
}

.section h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2.5rem;
}

.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.property-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.property-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}


.image-placeholder {
  width: 100%;
  height: 220px;
  background-color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  font-weight: 600;
}

.card-details {
  padding: 1.5rem;
}

.card-details .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.card-details h3 {
  font-size: 1.15rem;
  margin: 0.5rem 0;
}

.card-details .specs {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.btn-primary, .btn-secondary, .btn-nav {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-secondary {
  background: #eff6ff;
  color: var(--accent);
  border: 1px solid #bfdbfe;
  width: 100%;
  text-align: center;
}

.btn-secondary:hover {
  background: #dbeafe;
}

.btn-nav {
  background: var(--primary);
  color: #fff;
}

.about-section {
  background: #f1f5f9;
  padding: 4rem 0;
}

.about-content {
  text-align: center;
  max-width: 750px;
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.about-photo {
  margin-top: 2rem;
}

.about-photo img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

.about-photo figcaption {
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: italic;
}

.form-container {
  max-width: 550px;
  margin: 0 auto;
  background: var(--surface);
  padding: 2.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.65rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
}

.full-width {
  width: 100%;
}

footer {
  background: var(--secondary);
  color: #94a3b8;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.85rem;
}

.tribute-figure {
  margin: 2.5rem auto 0;
  text-align: center;
}

.tribute-figure img {
  max-width: 340px;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  display: inline-block;
}

.tribute-figure figcaption {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
}