/* Round Top Fold - Elegant Rustic Styles */

:root {
  --cream: #f8f1e3;
  --cream-dark: #f0e6d2;
  --brown: #5c3d2e;
  --brown-light: #8b6f5c;
  --brown-dark: #3d2817;
  --accent: #6b4f3a;
  --gold: #c4a35a;
  --text: #3d2817;
  --muted: #7a6555;
  --white: #fffcf7;
  --border: #d4c4a8;
}

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

body {
  font-family: "Georgia", "Times New Roman", serif;
  background-color: var(--cream);
  color: var(--text);
  line-height: 1.7;
  font-size: 18px;
}

h1, h2, h3, h4 {
  font-family: "Georgia", serif;
  font-weight: normal;
  color: var(--brown-dark);
  letter-spacing: 0.02em;
}

a {
  color: var(--brown);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Header & Navigation */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(61, 40, 23, 0.06);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-link img {
  height: 52px;
  width: auto;
}

.site-title {
  font-size: 1.35rem;
  color: var(--brown-dark);
  letter-spacing: 0.04em;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brown);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
}

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

/* Hero */
.hero {
  background: linear-gradient(to bottom, var(--white), var(--cream));
  text-align: center;
  padding: 4.5rem 2rem 4rem;
  border-bottom: 1px solid var(--border);
}

.hero-logo {
  max-width: 280px;
  margin: 0 auto 1.75rem;
  display: block;
}

.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 0.6rem;
  letter-spacing: 0.03em;
}

.hero .tagline {
  font-size: 1.25rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--brown);
  color: var(--cream) !important;
  border: none;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease;
  border-radius: 2px;
}

.btn:hover {
  background: var(--brown-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--brown);
  color: var(--brown) !important;
  margin-left: 0.75rem;
}

.btn-outline:hover {
  background: var(--brown);
  color: var(--cream) !important;
}

/* Main content */
main {
  max-width: 900px;
  margin: 0 auto;
  padding: 3.5rem 2rem 4rem;
}

section {
  margin-bottom: 3.5rem;
}

h2 {
  font-size: 1.9rem;
  margin-bottom: 1.25rem;
  text-align: center;
  position: relative;
}

h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 0.75rem auto 0;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
}

p {
  margin-bottom: 1.25rem;
}

/* Cards / Feature boxes */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 1.75rem 1.5rem;
  text-align: center;
  border-radius: 3px;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: var(--brown);
}

.feature-card p {
  font-size: 0.98rem;
  color: var(--muted);
  margin-bottom: 0;
}

/* About page specific */
.story {
  max-width: 680px;
  margin: 0 auto;
}

.story p {
  font-size: 1.08rem;
}

/* Cattle page */
.philosophy {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2rem 2.25rem;
  margin: 2rem 0;
  border-radius: 3px;
}

.philosophy h3 {
  margin-bottom: 1rem;
  color: var(--brown);
}

.philosophy ul {
  padding-left: 1.4rem;
  color: var(--muted);
}

.philosophy li {
  margin-bottom: 0.5rem;
}

/* Gallery placeholder */
.gallery-placeholder {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--white);
  border: 1px dashed var(--border);
  border-radius: 4px;
  color: var(--muted);
}

.gallery-placeholder img {
  max-width: 200px;
  opacity: 0.85;
  margin-bottom: 1.5rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-info h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--brown);
}

.contact-info p {
  margin-bottom: 0.4rem;
  color: var(--muted);
}

.social-links {
  margin-top: 1.5rem;
}

.social-links a {
  display: inline-block;
  margin-right: 1.25rem;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

/* Form */
form {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 3px;
}

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

label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--brown);
  font-family: "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.03em;
}

input,
textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  background: var(--cream);
  font-family: Georgia, serif;
  font-size: 1rem;
  color: var(--text);
  border-radius: 2px;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--brown-light);
  background: var(--white);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

/* Footer */
footer {
  background: var(--brown-dark);
  color: var(--cream);
  text-align: center;
  padding: 2.5rem 2rem;
  font-size: 0.95rem;
  margin-top: 3rem;
}

footer a {
  color: var(--gold);
}

footer .footer-brand {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

footer .footer-address {
  opacity: 0.85;
  margin-bottom: 0.75rem;
}

footer .footer-copy {
  opacity: 0.65;
  font-size: 0.85rem;
  margin-top: 1.25rem;
}

/* Responsive */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  nav ul {
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-logo {
    max-width: 200px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .btn-outline {
    margin-left: 0;
    margin-top: 0.75rem;
  }
}
/* Cookie Notice Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--brown-dark);
  color: var(--cream);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  z-index: 1000;
  font-size: 0.95rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.cookie-banner p {
  margin: 0;
  flex: 1;
  line-height: 1.5;
}

.cookie-banner a {
  color: var(--gold);
  text-decoration: underline;
}

.cookie-banner .cookie-buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-banner button {
  padding: 0.5rem 1.1rem;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.cookie-accept {
  background: var(--gold);
  color: var(--brown-dark);
}

.cookie-accept:hover {
  background: #d4b56e;
}

.cookie-decline {
  background: transparent;
  border: 1px solid var(--cream) !important;
  color: var(--cream);
}

.cookie-decline:hover {
  background: rgba(255,255,255,0.1);
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem;
  }
  .cookie-banner .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
}

/* Property / land photos */
.property-photo {
  width: 100%;
  max-width: 960px;
  margin: 0 auto 1.5rem;
  display: block;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(61, 40, 23, 0.12);
}

.property-caption {
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: -0.5rem;
  margin-bottom: 2rem;
  font-style: italic;
}

.property-section {
  margin: 2.5rem 0 3rem;
  text-align: center;
}

/* Weathered rustic wood frame for property photos */
.property-photo {
  width: 100%;
  max-width: 960px;
  margin: 0 auto 1.5rem;
  display: block;
  border-radius: 1px;
  border: 4px solid #A67C3D;           /* sun-faded mid wood */
  box-shadow:
    0 0 0 3px #6B4A2A,                /* darker weathered ring */
    0 0 0 7px #4A3220,                /* deep outer wood */
    0 0 0 10px #2E1F14,               /* almost-black edge */
    inset 0 0 0 1px rgba(255, 235, 190, 0.25),  /* subtle light highlight */
    0 10px 28px rgba(30, 18, 8, 0.35);          /* heavy soft shadow */
}

/* ===== Mobile Navigation ===== */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #3d2817;
  margin: 5px 0;
  transition: 0.25s;
}
.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }
  #main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #f8f4ee;
    border-top: 1px solid rgba(61,40,23,0.12);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 1000;
  }
  #main-nav.open {
    display: block;
  }
  #main-nav ul {
    flex-direction: column;
    padding: 0.75rem 0;
    gap: 0;
  }
  #main-nav li {
    width: 100%;
    text-align: center;
  }
  #main-nav a {
    display: block;
    padding: 0.85rem 1rem;
  }
  .header-inner {
    position: relative;
  }
}

/* ===== Cookie banner + Contact button fix ===== */
.cookie-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.25rem;
  padding-right: 110px; /* leave room for Contact button */
}
.cookie-buttons {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}
.cookie-decline {
  min-width: 80px; /* prevents "DECLIN" cutoff */
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.1rem 1rem 1.3rem;
    padding-bottom: 4.5rem; /* space for Contact button */
  }
  .cookie-buttons {
    justify-content: center;
    width: 100%;
  }
  #rtf-chat-btn {
    bottom: 18px;
    right: 18px;
  }
}

/* Cookie banner + Contact button polish */
.cookie-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.25rem;
  padding-right: 120px; /* keeps space for the Contact button on desktop */
}

.cookie-buttons {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.cookie-decline {
  min-width: 85px; /* prevents text cutoff */
}

/* Mobile: stack cleanly and push Contact button above the banner */
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.1rem 1rem 5rem; /* extra bottom space for Contact button */
  }

  .cookie-buttons {
    justify-content: center;
    width: 100%;
  }

  #rtf-chat-btn {
    bottom: 22px;
    right: 18px;
    z-index: 10001; /* sits above the cookie banner */
  }
}

/* Softer, slightly smaller Contact button on mobile */
@media (max-width: 600px) {
  #rtf-chat-btn {
    bottom: 22px;
    right: 18px;
    padding: 11px 18px;
    font-size: 0.9rem;
    border-radius: 40px;
    box-shadow: 0 3px 14px rgba(61, 40, 23, 0.22);
    z-index: 10001;
  }
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  aspect-ratio: 4 / 3;   /* prevents layout shift */
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

/* Tighter on small screens */
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .gallery-item img {
    height: 200px;
  }
}

/* Slightly larger cards on big screens */
@media (min-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

/* Shared rustic wood frame (same as property photos) */
.rtf-frame,
.property-photo,
.post img,
.blog-hero img {
  border-radius: 1px;
  border: 4px solid #A67C3D;
  box-shadow:
    0 0 0 3px #6B4A2A,
    0 0 0 7px #4A3220,
    0 0 0 10px #2E1F14,
    inset 0 0 0 1px rgba(255, 235, 190, 0.25),
    0 10px 28px rgba(30, 18, 8, 0.35);
}

/* Blog post images sit nicely in the text column */
.post img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 1.75rem auto 2rem;
}

/* Optional: wood-edged blog cards on the listing page */
.blog-card {
  border: 3px solid #A67C3D;
  box-shadow:
    0 0 0 2px #6B4A2A,
    0 0 0 5px #4A3220,
    0 6px 18px rgba(30, 18, 8, 0.18);
  border-radius: 1px;
  background: var(--white);
}

/* ===== Cookie banner compact (overrides older stacked rules) ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: nowrap;
  background: var(--brown-dark);
  color: var(--cream);
  padding: 0.7rem 1.1rem;
  padding-right: 7.25rem;
  font-size: 0.82rem;
  line-height: 1.4;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  font-family: "Helvetica Neue", Arial, sans-serif;
}
.cookie-banner p {
  margin: 0;
  flex: 1;
}
.cookie-banner a {
  color: var(--gold);
  text-decoration: underline;
}
.cookie-buttons {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
.cookie-banner button {
  padding: 0.42rem 0.9rem;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: "Helvetica Neue", Arial, sans-serif;
}
.cookie-accept {
  background: var(--gold);
  color: var(--brown-dark);
}
.cookie-decline {
  background: transparent;
  border: 1px solid var(--cream) !important;
  color: var(--cream);
  min-width: 78px;
}

/* Phone: short bar, buttons on one row, Contact sits above it */
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    padding: 0.7rem 0.85rem 0.75rem;
    gap: 0.55rem;
  }
  .cookie-banner p {
    font-size: 0.78rem;
  }
  .cookie-buttons {
    width: 100%;
    justify-content: flex-start;
  }
  body.cookie-open #rtf-chat-btn {
    bottom: 6.75rem;
    z-index: 10001;
  }
}

.cookie-banner {
  padding-right: 8.5rem;
}
