
:root {
  --dark: #35251d;
  --brown: #654735;
  --gold: #c69b55;
  --cream: #f8f4ed;
  --white: #ffffff;
  --text: #302820;
  --muted: #81776e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
}

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

button,
input,
select {
  font: inherit;
}

header,
nav {
  background: var(--dark);
  color: var(--white);
}

header {
  padding: 20px 5%;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

nav a {
  margin-right: 16px;
}

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

h1,
h2,
h3 {
  line-height: 1.25;
}

section {
  padding: 45px 5%;
}

.hero {
  background: linear-gradient(135deg, var(--dark), var(--brown));
  color: var(--white);
  padding: 75px 5%;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

button,
.contact,
.button {
  display: inline-block;
  border: 0;
  border-radius: 8px;
  padding: 12px 20px;
  background: var(--gold);
  color: var(--dark);
  font-weight: bold;
  cursor: pointer;
}

button:hover,
.contact:hover,
.button:hover {
  opacity: 0.85;
}

input,
select {
  padding: 12px;
  border: 1px solid #d8cfc2;
  border-radius: 8px;
  background: var(--white);
  max-width: 100%;
}

.grid,
#listings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}

.card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
}

.card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.card-body {
  padding: 18px;
}

.card-body h3 {
  margin-top: 8px;
}

.tag {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 20px;
  background: #f1e5d2;
  color: var(--brown);
  font-size: 0.85rem;
}

.muted {
  color: var(--muted);
}

footer {
  padding: 25px 5%;
  text-align: center;
  background: var(--dark);
  color: var(--white);
}

@media (max-width: 600px) {
  header,
  section {
    padding-left: 5%;
    padding-right: 5%;
  }

  nav {
    align-items: flex-start;
    flex-direction: column;
  }

  nav a {
    margin-right: 10px;
  }

  .card img {
    height: 190px;
  }
}
