/*
  Theme Name: High Grove Farms
  Theme URI: https://limb.agency
  Description: LIMB Theme - High Grove Farms Theme (March 2026)
  Author: LIMB Agency
  Author URI: https://limb.agency
*/
/* TOC:
Generic
WordPress
Utility
Nav
Hero
Section Commons
About
Groves / Gallery
Heritage Banner
Contact
Footer
Animations
*/

/* ===== GENERIC ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: "Lora", Georgia, serif;
  color: #3b2f1e;
  background: #faf7f2;
  line-height: 1.7;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}

/* Subtle texture */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}
/* ===== WordPress ===== */
.alignnone {
  margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
  display:block;
  margin:5px auto 5px auto;
}
.alignright {
  float:right;
  margin:5px 0 20px 20px;
}
.alignleft {
  float:left;
  margin:5px 20px 20px 0;
}
a img.alignright {
 float:right;
 margin:5px 0 20px 20px;
}
a img.alignnone {
  margin:5px 20px 20px 0;
}
a img.alignleft {
  float:left;
  margin:5px 20px 20px 0;
}
a img.aligncenter {
  display:block;
  margin-left:auto;
  margin-right:auto;
}
.wp-caption {
  background:#FFF;
  max-width:96%;
  padding:5px 3px 10px;
  text-align:center;
  width: auto !important;
}
.wp-caption.alignnone {
  margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
 margin:5px 20px 20px 0;
}
.wp-caption.alignright {
  margin:5px 0 20px 20px;
}
.wp-caption img {
  border:0 none;
  height:auto;
  margin:0;
  max-width:98.5%;
  padding:0;
  width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
  font-size: 13px;
  line-height: 1.6em;
  margin: 0;
  padding: 0 4px 5px;
  margin-top: 0.5em;
}
body.logged-in.admin-bar nav {
  top: 32px;
}

/* ===== Utility ===== */
.valign {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
.halign {
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}
.vhalign {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.noshadow {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.block{
  display: block;
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(15, 15, 15, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(200, 160, 80, 0.2);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 2rem;
}
.nav-logo {
  height: 42px;
  width: auto;
  filter: brightness(1.15) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-family: "Open Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #d5cfc2;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: #e87d2f;
}
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #d5cfc2;
  margin: 5px 0;
}
@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 0;
    background: rgba(15, 15, 15, 0.97);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
  .nav-links.open {
    max-height: 300px;
  }
  .nav-links li {
    width: 100%;
    text-align: center;
  }
  .nav-links a {
    display: block;
    padding: 1rem;
  }
}

/* ===== HERO ===== */
.bg-video {
  overflow: hidden;
}
.bg-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.bg-video.bg-white:after,
.bg-video.bg-black:after,
.bg-video.bg-blue:after,
.bg-video.bg-primary:after,
.bg-video.bg-secondary:after,
.bg-video.bg-tertiary:after{
  content: "";
  opacity: 0.85;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}
.bg-video > * {
  position: relative;
  z-index: 3;
}

.hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    160deg,
    #1a3a10 0%,
    #244d18 25%,
    #2d5a1e 50%,
    #1e4a12 75%,
    #0f2a08 100%
  );
  opacity: 0.65;
  z-index: 2;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 220px;
  background: linear-gradient(to top, #faf7f2 0%, transparent 100%);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: 2rem;
}
.hero-logo {
  max-width: 550px;
  width: 80vw;
  height: auto;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.8))
    drop-shadow(0 0 60px rgba(255, 255, 255, 0.4))
    drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}
.hero-divider {
  width: 80px;
  height: 3px;
  background: #c8891e;
  margin: 1.5rem auto;
  border-radius: 2px;
}
.hero-tagline {
  font-family: "Lora", serif;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-style: italic;
  color: #e8e0d0;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 2rem;
}
.hero-cta {
  display: inline-block;
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #faf7f2;
  background: #c8891e;
  border: 2px solid #c8891e;
  padding: 1rem 2.5rem;
  transition: all 0.3s;
  cursor: pointer;
}
.hero-cta:hover {
  background: transparent;
  color: #e8e0d0;
}
.hero-scroll {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bobble 2s ease-in-out infinite;
}
.hero-scroll svg {
  width: 28px;
  height: 28px;
  stroke: #c8891e;
}
@keyframes bobble {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ===== SECTION COMMONS ===== */
.section {
  padding: 6rem 2rem;
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-label {
  font-family: "Open Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #c8891e;
  margin-bottom: 0.8rem;
}
.section-heading {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #2a2316;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.section-divider {
  width: 60px;
  height: 3px;
  background: #c8891e;
  margin-bottom: 2rem;
  border-radius: 2px;
}

/* ===== ABOUT ===== */
.about {
  background: #faf7f2;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}
.about-image-wrap {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.about-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 12px 12px 0 #e6dcc8;
  
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 2rem;
}
.about-image:before {
  content: '';
  background: linear-gradient(
    145deg,
    #4a8a35 0%,
    #2d6a1e 40%,
    #1e5a12 70%,
    #3a7a28 100%
  );
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0.4;
}
.about-image span {
  font-family: "Lora", serif;
  font-style: italic;
  color: rgba(255, 255, 255, 1);
  font-size: 0.9rem;
  z-index: 2;
}
.about-image-accent {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 80px;
  height: 80px;
  border-top: 3px solid #c8891e;
  border-left: 3px solid #c8891e;
  z-index: 1;
}
.about-text p {
  font-size: 1.05rem;
  color: #5a4d3a;
  margin-bottom: 1.5rem;
}
.about-stat-row {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e6dcc8;
}
.about-stat-num {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #c8891e;
  line-height: 1;
}
.about-stat-label {
  font-family: "Open Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #8a7d6a;
  margin-top: 0.3rem;
}
.about-text,
.img-logo {
  width: 100%;
}
@media (max-width: 768px) {
  .about-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  .about-image {
    height: 300px;
  }
  .about-stat-row {
    gap: 2rem;
  }
  .about-stat-num {
    font-size: 2rem;
  }
}

/* ===== Organizations ===== */
.img-logo .orgs {
  margin-top: 3rem;
  text-align: center;
}
.img-logo .orgs .orgs-label {
  font-family: "Open Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #244d18;
}
.img-logo .orgs .logos {
  display: flex;
  align-items: center;
  width: 100%;
  margin-top: 1.5rem;
  justify-content: center;
  gap: 2rem;
}
.img-logo .orgs .logos .logo {
  width: 120px;
  height: 120px;
}
.img-logo .orgs .logos .logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* ===== GROVES / GALLERY ===== */
.groves {
  background: #1a1a1a;
}
.groves .section-label {
  color: #c8891e;
}
.groves .section-heading {
  color: #f0e8d8;
}
.groves .section-divider {
  background: #c8891e;
}
.groves-intro {
  font-size: 1.1rem;
  color: #b5a890;
  max-width: 650px;
  margin-bottom: 3rem;
  font-style: italic;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(20, 20, 20, 0.5) 0%,
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.4s;
}
.gallery-item:hover::after {
  opacity: 1;
}
.gallery-item .gallery-img {
  width: 100%;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  transition: transform 0.6s ease;
  z-index: 2;
  position: relative;
}
.gallery-item .gallery-img:before {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0.4;
  z-index: 1;
}
.gallery-item:hover .gallery-img {
  transform: scale(1.05);
}
.gallery-item.tall {
  grid-row: span 2;
}
.gallery-item.tall .gallery-img {
  height: 572px;
}
.gallery-item .gallery-img span {
  z-index: 2;
  color: white;
}

.gi-1:before {
  background: linear-gradient(145deg, #3a7a28, #2d6a1e, #4a8a35);
}
.gi-2:before {
  background: linear-gradient(160deg, #3d7d2a, #2a6018, #458530);
}
.gi-3:before {
  background: linear-gradient(130deg, #4a8a35, #367225, #2d6a1e);
}
.gi-4:before {
  background: linear-gradient(155deg, #2d6a1e, #3a7a28, #4a8a35);
}
.gi-5:before {
  background: linear-gradient(170deg, #367225, #2a6018, #3d7d2a);
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-item.tall {
    grid-row: span 1;
  }
  .gallery-item.tall .gallery-img {
    height: 280px;
  }
}
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== PARTNERS BANNER ===== */
.partners-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 3rem;
  gap: 30px 30px;
}
.partners-grid .item {
  width: 100%;
  position: relative;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  color: black;
  transition: transform 0.6s ease;
  z-index: 2;
}
.partners-grid .item .img {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 3px;
}
.partners-grid .item .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
}
.partners-grid .item .text {
  width: 100%;
}
.partners-grid .item .text h3 {
  font-family: "Open Sans", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #244d18;
  margin-bottom: 0.8rem;
  font-style: normal;
  margin-top: 1rem;
  text-align: center;
}
.partners-grid .item .text p {
  font-size: 1rem;
  color: #3b2f1e;
  line-height: 1.4;
}
@media (min-width: 768px) {
  .partners-grid .item {
    width: calc(50% - 15px);
  }
}

/* ===== HERITAGE BANNER ===== */
.heritage {
  position: relative;
  padding: 5rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, #1a3a10 0%, #244d18 50%, #0f2a08 100%);
}
.heritage-inner {
  max-width: 750px;
  margin: 0 auto;
}
.heritage-quote {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 600;
  color: #f0e8d8;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}
.heritage-attr {
  font-family: "Open Sans", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #c8891e;
}

/* ===== CONTACT ===== */
.contact {
  background: #f4efe6;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.contact-info-item {
  margin-bottom: 2rem;
}
.contact-info-label {
  font-family: "Open Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #c8891e;
  margin-bottom: 0.5rem;
}
.contact-info-value {
  font-size: 1.05rem;
  color: #3b2f1e;
}
.contact-info-value a {
  color: #3b2f1e;
  border-bottom: 1px solid #c8891e;
  transition: color 0.3s;
}
.contact-info-value a:hover {
  color: #c8891e;
}
.contact-grid .contact-info-item.disclaim {
  margin-top: 2.5rem; 
  padding-top: 2rem; 
  border-top: 1px solid #d9cdb8;
}
.contact-grid .contact-info-item.disclaim p {
  font-style: italic; 
  color: #8a7d6a; 
  font-size: 0.95rem;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.contact-form input,
.contact-form textarea {
  font-family: "Lora", serif;
  font-size: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid #d9cdb8;
  background: #faf7f2;
  color: #3b2f1e;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #c8891e;
}
.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}
.contact-form button {
  font-family: "Open Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #faf7f2;
  background: #2d6a1e;
  border: 2px solid #2d6a1e;
  padding: 1rem 2rem;
  cursor: pointer;
  transition: all 0.3s;
  align-self: flex-start;
}
.contact-form button:hover {
  background: transparent;
  color: #2d6a1e;
}
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* WPForms */
.wpforms-container.wpforms-container-full {
  width: 100% !important;
  margin: 0 !important;
}
.wpforms-container.wpforms-container-full .wpforms-field-container input,
.wpforms-container.wpforms-container-full .wpforms-field-container textarea {
  border: 1px solid #d9cdb8;
  padding: 1rem 1.2rem;
  background: #faf7f2;
  font-family: "Lora", serif;
  font-size: 1rem;
  color: #3b2f1e;
  border-radius: 2px;
  height: fit-content;
}
.wpforms-container.wpforms-container-full .wpforms-field-container input:focus,
.wpforms-container.wpforms-container-full .wpforms-field-container textarea:focus {
  border-color: #c8891e !important;
  box-shadow: none !important;
}
.wpforms-container.wpforms-container-full .wpforms-field-container input::placeholder,
.wpforms-container.wpforms-container-full .wpforms-field-container textarea::placeholder {
  color: #3b2f1e;
  font-family: "Lora", serif;
  font-size: 1rem;
}
.wpforms-container.wpforms-container-full .wpforms-submit-container button {
  font-family: "Open Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #faf7f2 !important;
  background-color: #2d6a1e !important;
  border: 2px solid #2d6a1e;
  padding: 1rem 2rem;
  align-self: flex-start;
  border-radius: 0px !important;
  height: fit-content;
}
.wpforms-container.wpforms-container-full .wpforms-submit-container button:hover,
.wpforms-container.wpforms-container-full .wpforms-submit-container button:focus,
.wpforms-container.wpforms-container-full .wpforms-submit-container button:active {
  background: none !important;
  background-color: transparent !important;
  color: #2d6a1e !important;
  box-shadow: none;
  border-color: #2d6a1e !important;
}
.wpforms-container.wpforms-container-full .wpforms-submit-container button:hover:after,
.wpforms-container.wpforms-container-full .wpforms-submit-container button:focus:after,
.wpforms-container.wpforms-container-full .wpforms-submit-container button:active:after {
  border-color: #c8891e;
}

/* ===== FOOTER ===== */
footer {
  background: #111;
  padding: 3rem 2rem;
  text-align: center;
}
.footer-logo {
  height: 50px;
  width: auto;
  margin: 0 auto 1rem;
  filter: brightness(1.15) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}
.footer-text {
  font-family: "Open Sans", sans-serif;
  font-size: 0.8rem;
  color: #6a6a6a;
  letter-spacing: 1px;
}
.footer-text.copy {
  margin-top: 1rem; 
  color: #444;
}
.footer-divider {
  width: 40px;
  height: 2px;
  background: #c8891e;
  margin: 1.5rem auto;
  border-radius: 1px;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
