/* =====================================================
   Voss Run Farm — Main Stylesheet
   ===================================================== */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Montserrat:wght@400;500;600&display=swap');

/* ---- CSS Variables ---- */
:root {
  --color-white: #ffffff;
  --color-black: #000000;
  --color-accent: hsl(24, 36.84%, 81.37%);       /* warm tan */
  --color-light-accent: hsl(40, 8.11%, 92.75%);  /* very light warm gray */
  --color-dark-accent: hsl(50, 8.33%, 42.35%);   /* dark golden/olive */
  --color-text: #1a1a1a;
  --color-text-muted: #555;
  --color-border: #e0ddd8;

  --font-heading: 'Archivo Black', sans-serif;
  --font-body: 'Montserrat', 'proxima-nova', -apple-system, BlinkMacSystemFont, sans-serif;

  --header-height: 72px;
  --max-width: 1200px;
  --content-width: 880px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 15px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* =====================================================
   HEADER / NAVIGATION
   ===================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--color-white);
  display: flex;
  align-items: center;
  padding: 0 40px;
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-logo a {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-black);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.site-nav a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-black);
  transition: color 0.2s;
  position: relative;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-black);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--color-black);
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--color-white);
  padding: 24px 40px;
  border-bottom: 1px solid var(--color-border);
  z-index: 99;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-black);
}

/* =====================================================
   PAGE WRAPPER
   ===================================================== */

.page-content {
  margin-top: var(--header-height);
}

/* =====================================================
   HERO SECTION
   ===================================================== */

.hero {
  text-align: center;
  padding: 72px 2rem 60px;
}

.hero-content {
  max-width: 760px;
  margin: 0 auto;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--color-black);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-content p {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  color: var(--color-text-muted);
  margin-bottom: 32px;
  font-weight: 500;
}

.hero-img {
  width: 100%;
  max-width: 760px;
  height: auto;
  display: block;
  margin: 0 auto 36px;
}

/* =====================================================
   BUTTONS
   ===================================================== */

.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border: 1px solid currentColor;
  transition: background 0.25s, color 0.25s;
  cursor: pointer;
}

.btn-white {
  color: var(--color-white);
  border-color: var(--color-white);
  background: transparent;
}

.btn-white:hover {
  background: var(--color-white);
  color: var(--color-black);
}

.btn-dark {
  color: var(--color-white);
  border-color: var(--color-black);
  background: var(--color-black);
}

.btn-dark:hover {
  background: var(--color-dark-accent);
  border-color: var(--color-dark-accent);
}

/* =====================================================
   SECTION UTILITIES
   ===================================================== */

.section {
  padding: 80px 40px;
}

.section-narrow {
  padding: 60px 40px;
}

.section-center {
  text-align: center;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.content-container {
  max-width: var(--content-width);
  margin: 0 auto;
}

/* =====================================================
   TYPOGRAPHY
   ===================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.3;
}

.page-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  text-align: center;
  margin-bottom: 48px;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  margin-bottom: 16px;
}

.lead-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* =====================================================
   ABOUT PAGE — CARD GRID
   ===================================================== */

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.about-card {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: block;
}

.about-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-card:hover img {
  transform: scale(1.04);
}

.about-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 28px;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
}

/* =====================================================
   GALLERY GRID
   ===================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 40px 60px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.gallery-item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-light-accent);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

/* =====================================================
   HISTORY PAGE
   ===================================================== */

.history-hero {
  position: relative;
  background: var(--color-light-accent);
  padding: 80px 40px;
}

.history-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 40px;
}

.history-block.reverse {
  direction: rtl;
}

.history-block.reverse > * {
  direction: ltr;
}

.history-text h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.history-text .subtitle {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-dark-accent);
  margin-bottom: 20px;
  font-weight: 600;
}

.history-text p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

.history-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.history-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.history-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 0 40px 60px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.history-photo-grid .photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.history-photo-grid .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =====================================================
   SERVICES PAGE
   ===================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}

.service-card {
  background: var(--color-white);
  padding: 40px 36px;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

.services-note {
  background: var(--color-light-accent);
  padding: 40px;
  text-align: center;
  margin-top: 48px;
}

.services-note p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  max-width: 760px;
  margin: 0 auto;
}

.additional-services {
  padding: 60px 40px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.additional-services h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 24px;
  text-align: center;
}

.addons-list {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  list-style: none;
}

.addons-list li {
  padding: 12px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid var(--color-border);
  margin: 4px;
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */

.contact-section {
  padding: 100px 40px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.contact-section h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 16px;
}

.contact-section .address {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 48px;
  line-height: 1.7;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  text-align: center;
  margin-top: 48px;
}

.contact-item h3 {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
  color: var(--color-dark-accent);
}

.contact-item a, .contact-item p {
  font-size: 1rem;
  color: var(--color-text);
}

.contact-item a:hover {
  color: var(--color-dark-accent);
  text-decoration: underline;
}

/* =====================================================
   BREADCRUMB / PAGE NAV
   ===================================================== */

.page-nav-strip {
  background: var(--color-light-accent);
  border-top: 1px solid var(--color-border);
}

.page-nav-strip-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
}

.page-nav-link {
  display: block;
  padding: 20px 0;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text);
  transition: color 0.2s;
  flex: 1;
  text-align: center;
}

.page-nav-link:first-child {
  text-align: left;
}

.page-nav-link:last-child {
  text-align: right;
}

.page-nav-link:hover {
  color: var(--color-dark-accent);
}

.page-nav-link .arrow {
  display: inline-block;
  margin: 0 6px;
}

/* =====================================================
   FOOTER
   ===================================================== */

.site-footer {
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  padding: 40px;
  text-align: center;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  list-style: none;
  margin-bottom: 24px;
}

.footer-links a {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--color-black);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* =====================================================
   LIGHTBOX
   ===================================================== */

.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  cursor: default;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 28px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1001;
  line-height: 1;
  background: none;
  border: none;
}

/* =====================================================
   SECTION TITLE BAND
   ===================================================== */

.title-band {
  padding: 40px 40px 0;
  text-align: center;
}

.title-band h1, .title-band h2, .title-band h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.description-band {
  padding: 28px 40px 48px;
  text-align: center;
  max-width: var(--content-width);
  margin: 0 auto;
}

.description-band p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 768px) {
  .site-header {
    padding: 0 20px;
  }

  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-nav {
    padding: 24px 20px;
  }

  .about-cards {
    grid-template-columns: 1fr;
  }

  .about-card {
    aspect-ratio: 4 / 3;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    padding: 0 16px 40px;
    gap: 8px;
  }

  .history-block {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 20px;
  }

  .history-block.reverse {
    direction: ltr;
  }

  .history-photo-grid {
    grid-template-columns: 1fr 1fr;
    padding: 0 16px 40px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 60px 20px;
  }

  .section-narrow {
    padding: 40px 20px;
  }

  .title-band {
    padding: 32px 20px 0;
  }

  .description-band {
    padding: 20px 20px 40px;
  }

  .contact-section {
    padding: 60px 24px;
  }

  .contact-info {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .page-nav-strip-inner {
    padding: 0 20px;
  }

  .additional-services {
    padding: 40px 20px;
  }

  .services-note {
    padding: 32px 20px;
  }
}

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

  .history-photo-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* =====================================================
   FOOTER CONTACT LINE
   ===================================================== */

.footer-contact {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.footer-contact a {
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: var(--color-black);
}
