/* NS FARM HOUSE — Pure HTML/CSS/JS
   Color Palette (5 total):
   - Primary Gold: #C9A227
   - Cream: #FAF7F2
   - White: #FFFFFF
   - Dark Charcoal: #1F1F1F
   - Muted Grey: #6B6B6B
*/

:root {
  --gold: #c9a227;
  --gold-600: #b18f22;
  --cream: #faf7f2;
  --white: #ffffff;
  --dark: #1f1f1f;
  --muted: #6b6b6b;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-soft: 0 6px 16px rgba(0, 0, 0, 0.06);
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, "Helvetica Neue", Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--dark);
  background: var(--cream);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}
h1,
h2,
h3,
h4 {
  font-family: Georgia, "Times New Roman", serif;
  margin: 0 0 .5rem;
}
p {
  margin: .5rem 0 1rem;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.rounded {
  border-radius: var(--radius);
}
.text-balance {
  text-wrap: balance;
}
.container {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding: 0 1rem;
}
.section {
  padding: 3rem 0;
}
.bg-cream {
  background: var(--cream);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  background: var(--dark);
  color: var(--white);
  padding: .5rem .75rem;
  border-radius: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--gold);
  transition: .25s ease;
  cursor: pointer;
  font-weight: 600;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover {
  transform: translateY(-1px);
  background: var(--gold-600);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
}
.btn-outline:hover {
  background: rgba(201, 162, 39, 0.08);
}
.btn-ghost {
  border-color: transparent;
  color: var(--dark);
}
.btn-ghost:hover {
  background: rgba(0, 0, 0, 0.05);
}
.btn.full {
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.7);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled {
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.9);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 800;
  letter-spacing: .06em;
  position: relative;
  left: 15px;
}
.brand-mark {
  background: var(--gold);
  color: var(--white);
  border-radius: 10px;
  padding: .3rem .45rem;
}
.brand-text {
  font-family: Georgia, "Times New Roman", serif;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: .5rem;
  cursor: pointer;

}
.nav-toggle-bar {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--dark);
  position: relative;
}
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--dark);
}
.nav-toggle-bar::before {
  top: -8px;
}
.nav-toggle-bar::after {
  top: 8px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  padding: .5rem .25rem;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-list a:hover {
  background: rgba(0, 0, 0, 0.05);
}
.nav-list a.active {
  color: var(--gold);
  font-weight: 700;
}
.nav-cta {
  margin-left: .5rem;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }
  .nav-list {
    position: fixed;
    inset: 70px 0 auto 0;
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 1rem;
    flex-direction: column;
    gap: .75rem;
    transform: translateY(-120%);
    transition: .3s ease;
  }
  .nav-list.is-open {
    transform: translateY(0);
  }
}

/* Hero Slider */
.hero {
  position: relative;
}
.hero-slider {
  position: relative;
  height: 74vh;
  min-height: 440px;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  margin: 1rem;
  box-shadow: var(--shadow);
}
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .8s ease;
  display: grid;
  place-items: center;
  background-image: var(--bg);
}
.slide.is-active {
  opacity: 1;
}
.slide .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.2));
}
.slide .content {
  position: relative;
  color: var(--white);
  text-align: center;
  padding: 0 1rem;
  max-width: 900px;
  background-color: #05052281;
  padding: 50px;
  border-radius: 30px;
}
.slide .title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.2;
  margin-bottom: .5rem;
}
.slide .subtitle {
  opacity: 0.95;
  margin-bottom: 1rem;
}

.slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85);
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform .2s, background .2s;
}
.slider-control:hover {
  transform: translateY(-50%) scale(1.04);
  background: var(--white);
}
.slider-control.prev {
  left: 12px;
}
.slider-control.next {
  right: 12px;
}
.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
}
.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}
.slider-dots button.is-active {
  background: var(--gold);
}

/* Sections */
.section-header {
  text-align: center;
  margin-bottom: 1.75rem;
}
.section-title {
  font-size: 1.6rem;
}
.section-subtitle {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 1rem;
}
.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.card.feature img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.card-body {
  padding: 1rem 1.1rem;
}

.hover-zoom {
  transition: transform .35s ease;
}
.hover-zoom:hover {
  transform: scale(1.02);
}

/* CTA */
.cta {
  background: var(--white);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cta-actions {
  display: flex;
  gap: .75rem;
}
@media (max-width: 900px) {
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Page hero */
.page-hero {
  padding: 2.5rem 0 1rem;
}
.page-title {
  font-size: 2rem;
}
.page-subtitle {
  color: var(--muted);
}

/* Pricing */
.price .price-amount {
  font-size: 2rem;
  font-weight: 800;
}
.price .currency {
  font-size: 1rem;
  vertical-align: super;
}
.price.is-featured {
  outline: 2px solid var(--gold);
}
.ribbon {
  position: absolute;
  background: var(--gold);
  color: var(--white);
  padding: .25rem .5rem;
  top: 10px;
  right: 10px;
  border-radius: 8px;
  font-size: .8rem;
}
.list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.list li {
  padding: .35rem 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}
.note {
  color: var(--muted);
  text-align: center;
  margin-top: 1rem;
}

/* Gallery masonry */
.gallery-columns {
  columns: 3 260px;
  column-gap: 1rem;
}
.gallery-columns img {
  break-inside: avoid;
  margin-bottom: 1rem;
}

/* Testimonials */
.testimonial {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.testimonial .avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin: 1rem 1rem 0 1rem;
}
.testimonial .stars {
  color: var(--gold);
  font-size: 1.1rem;
}
.testimonial .author {
  color: var(--muted);
  font-style: italic;
}

/* Forms */
.form .form-field {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.form .form-field.full {
  grid-column: 1 / -1;
}
.form input[type="text"],
.form input[type="email"],
.form input[type="number"],
.form input[type="date"],
.form input[type="file"],
.form textarea {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  padding: .7rem .85rem;
  background: var(--white);
  outline: 0;
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus,
.form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}
.form .checkbox {
  align-items: center;
  flex-direction: row;
  gap: .6rem;
}
.form .error {
  color: #b71c1c;
  font-size: .85rem;
  min-height: 1em;
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: .5rem;
}
.form-note {
  color: var(--muted);
}

/* Map */
.map-wrap iframe {
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

/* Footer */
/* ===== NS FARM HOUSE — Premium Gold Footer ===== */
:root{
  --bg:#0b0b0d;            /* deep black */
  --text:#f5f5f7;          /* soft white */
  --muted:#b9bcc6;         /* cool gray for secondary */
  --gold-1:#A17900;        /* rich gold dark */
  --gold-2:#C9A227;        /* mid gold */
  --gold-3:#E6C76E;        /* highlight gold */
  --gold-grad: linear-gradient(135deg, var(--gold-1), var(--gold-2) 45%, var(--gold-3));
  --ring: 0 0 0 1px rgba(233, 206, 129, .25), 0 6px 24px rgba(233, 206, 129, .15);
}

.site-footer{
  background: var(--bg);
  color: var(--text);
  border-top: 1px solid rgba(230, 199, 110, .18);
  position: relative;
  overflow: clip;
}

/* subtle top glow line */
.site-footer::before{
  content:"";
  position:absolute; inset:0 0 auto 0; height:2px;
  background: var(--gold-grad);
  opacity:.75;
}

/* container */
.container.footer-inner{
  max-width:1200px;
  margin-inline:auto;
  padding:48px 20px;
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap:36px;
}

/* brand */
.footer-brand .brand-row{
  display:flex; align-items:center; gap:14px; margin-bottom:10px;
}
.brand-mark{
  display:inline-grid; place-items:center;
  width:48px; height:48px; border-radius:12px;
  background: rgba(255,255,255,.02);
  border:1px solid rgba(230,199,110,.35);
  box-shadow: var(--ring);
  font-weight:700; letter-spacing:.5px;
  color: var(--text);
}
.brand-text{
  font-weight:800; letter-spacing:3px;
  text-transform:uppercase;
  background: var(--gold-grad);
  -webkit-background-clip:text; background-clip:text;
  color:transparent;
}
.footer-brand p{
  margin:6px 0 0;
  color: var(--muted);
  font-size:.95rem;
}

/* links */
.footer-links .footer-nav{
  list-style:none; margin:0; padding:0;
  display:grid; gap:10px;
}
.footer-links a{
  color: var(--text);
  text-decoration:none;
  opacity:.85;
  transition: opacity .2s ease, transform .2s ease, color .2s ease;
  font-weight:500;
}
.footer-links a:hover{
  opacity:1; color: var(--gold-3);
  transform: translateX(2px);
}

/* contact */
.footer-contact{
  display:flex; flex-direction:column; gap:12px;
  align-items:flex-start;
}
.contact-link{
  color: var(--text);
  text-decoration:none;
  font-weight:600;
  letter-spacing:.2px;
  padding-bottom:2px;
  border-bottom:1px dashed rgba(230,199,110,.35);
  transition: color .2s ease, border-color .2s ease;
}
.contact-link:hover{
  color: var(--gold-3);
  border-color: var(--gold-3);
}

/* socials */
.socials{ display:flex; gap:10px; margin-top:6px; }
.social-item{
  display:inline-grid; place-items:center;
  width:38px; height:38px; border-radius:10px;
  border:1px solid rgba(230,199,110,.35);
  text-decoration:none; font-weight:700;
  color: var(--gold-3);
  background: rgba(255,255,255,.02);
  box-shadow: var(--ring);
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.social-item:hover{
  background: var(--gold-grad);
  color: #141414;
  border-color: transparent;
  transform: translateY(-2px);
}

/* bottom bar */
.footer-bottom{
  border-top:1px solid rgba(230,199,110,.18);
  color: var(--muted);
  text-align:center;
  padding:14px 16px 18px;
  font-size:.92rem;
}

/* responsive */
@media (max-width: 900px){
  .container.footer-inner{
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px){
  .container.footer-inner{
    grid-template-columns: 1fr;
    gap:24px;
    padding:36px 16px;
  }
  .brand-mark{ width:44px; height:44px; border-radius:10px; }
  .brand-text{ letter-spacing:2px; }
}


