:root {
  --accent: #6b3e26;       /* Brown background for nav */
  --accent-2: #f76c5e;     /* Accent color for price, underline, etc */
  --bg: #f9f6f0;
  --card: #ffffff;
  --muted: #666;
}

* {
  box-sizing: border-box;
}

/* --- Global --- */
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Quicksand', sans-serif;
  background: var(--bg);
  color: #222;
  line-height: 1.6;
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main.container {
  flex: 1;
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
  width: 100%;
}

/* --- Header / Hero --- */
header.hero {
  position: relative;
  min-height: 400px;
  height: 60vh;
  max-height: 700px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  padding: 2rem;
}

header.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.45));
  z-index: 0;
}

header.hero .wrap {
  position: relative;
  z-index: 1;
  max-width: 95%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

header.hero h1 {
  font-size: clamp(28px, 6vw, 56px);
  margin: 0;
}

/* --- Logo Banner --- */
.logo-banner {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 20;
}

.logo-banner img {
  height: 80px;
  width: auto;
}

/* --- Navigation --- */
nav.main {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 14px;
  background: var(--accent);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 10;
  flex-wrap: wrap;
  transition: all 0.3s ease;
}

nav.main a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 12px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

nav.main a:hover {
  background: #fff;
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

nav.main a.active {
  background: #fff;
  color: var(--accent);
  border-color: var(--accent-2);
}

nav.main a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 3px;
  background: var(--accent-2);
  bottom: 0;
  left: 0;
  transition: width 0.3s ease;
}

nav.main a:hover::after {
  width: 100%;
}

/* --- Cards / Grid --- */
.card {
  background: var(--card);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.alp-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
}

.alp-card h3 {
  margin: 10px 0 6px;
}

.price {
  color: var(--accent-2);
  font-weight: 700;
  font-size: 1.05rem;
}

/* --- Filters --- */
.filters {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.filters select,
.filters input {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

/* --- Text & Buttons --- */
.small {
  font-size: 0.9rem;
  color: var(--muted);
}

.btn {
  background: var(--accent-2);
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: 700;
}

/* --- Footer --- */
footer.footer {
  background: #eae4d3;
  padding: 22px;
  text-align: center;
  border-radius: 8px;
  margin-top: auto;
}

/* --- Images Row --- */
.images-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.images-row img {
  width: 200px;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
}

/* --- Section Titles --- */
.section-title {
  color: var(--accent);
  text-align: center;
  margin-bottom: 14px;
  font-size: 1.6rem;
}

/* --- Form Inputs --- */
.contact-form input,
input[type="email"],
textarea,
select {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
  margin-bottom: 10px;
}

/* --- Farm Info Specific --- */
.layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
}

article.post {
  background: #fff;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  margin-bottom: 22px;
}

article.post h2 {
  color: var(--accent);
  margin-bottom: 8px;
}

article.post .meta {
  color: #777;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

article.post img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 10px;
  margin: 12px 0;
}

article.post p {
  margin-bottom: 12px;
}

article.post ul {
  margin-bottom: 12px;
  padding-left: 20px;
}

aside.sidebar .card {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  margin-bottom: 18px;
}

.owner img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.cta {
  display: block;
  text-align: center;
  background: var(--accent-2);
  color: #fff;
  padding: 11px 14px;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 700;
  margin-top: 12px;
}

.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.tag {
  background: #f3efe8;
  color: var(--accent);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
}

.quick-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 12px;
}

.quick-list a {
  background: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  text-decoration: none;
  color: var(--accent);
  font-weight: 700;
}

/* --- Responsive --- */
@media (min-width: 900px) {
  header.hero {
    height: 70vh;
  }
}

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

@media (max-width: 768px) {
  header.hero {
    height: auto;
    padding: 4rem 1rem 2rem;
  }

  header.hero .wrap {
    padding: 1rem;
  }

  .logo-banner img {
    height: 50px;
  }

  nav.main {
    flex-direction: column;
    gap: 10px;
    display: flex !important;
  }

  .filters {
    flex-direction: column;
    gap: 8px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .alp-card img {
    height: auto;
    aspect-ratio: 16/9;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

