/* ============================================
   TARE BULK FOODS — Custom additions
   (Webflow base loaded via webflow.css)
   ============================================ */

/* Page background */
.body-2 {
  background-color: var(--okhra);
}
.page-wrapper {
  position: relative;
}
.page-wrapper.bgc-okhra {
  background-color: var(--okhra);
}

/* Navbar wrapper positioning */
.navbar-wrapper {
  z-index: 1000;
  padding-top: 10px;
  padding-left: 24px;
  padding-right: 24px;
  position: sticky;
  top: 0;
}

/* Banner — hidden on live site, keep it hidden */

/* Contact popup */
.pop-up-wrapper {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
}
.pop-up-wrapper[style*="display:none"],
.pop-up-wrapper[style*="display: none"] {
  display: none !important;
}
.contact-form-wrapper {
  background-color: var(--green-700);
  border-radius: 16px;
  padding: 48px;
  max-width: 560px;
  width: 90%;
  position: relative;
}
.contact-form-wrapper .headline.l.tc-white-100 {
  margin-bottom: 24px;
}
.contact-form-wrapper .input.size-l {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white-100);
  border-radius: 8px;
  min-height: 48px;
  padding: 16px 20px;
  font-size: 1rem;
  width: 100%;
  margin-bottom: 12px;
}
.contact-form-wrapper textarea.input.size-l {
  min-height: 120px;
  resize: vertical;
}
.contact-form-wrapper .input.size-l::placeholder {
  color: rgba(255,255,255,0.5);
}
.contact-form-wrapper .input.size-l:focus {
  outline: none;
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.15);
}
.absolute.form {
  position: absolute;
  top: 16px;
  right: 16px;
  cursor: pointer;
}
.absolute.form img {
  width: 24px;
  height: 24px;
  opacity: 0.7;
}
.absolute.form img:hover {
  opacity: 1;
}
.form-success-message,
.form-error-message {
  display: none;
  padding: 16px;
  border-radius: 8px;
  margin-top: 12px;
  color: var(--white-100);
}
.form-success-message {
  background: rgba(136, 207, 81, 0.2);
}
.form-error-message {
  background: rgba(255, 107, 107, 0.2);
}

/* All story labels, card-wrapper, stats, benefits-icon
   styles come from webflow.css — no overrides needed */

/* Reviews section — all styling from webflow.css, no overrides needed */

/* CTA section */
.absolute.cta {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.absolute.cta img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}
.inset-3xl.bgc-green-700 > *:not(.absolute) {
  position: relative;
  z-index: 1;
}

/* Footer */
.section.s.bgc-green-700 {
  background-color: var(--green-700);
  padding: 48px 0 24px;
}
.footer-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.footer-company {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-social-buttons {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.footer-social-buttons img {
  width: 50px;
  height: 50px;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.footer-social-buttons img:hover {
  opacity: 1;
}

/* Vegetable decorations in footer */
.absolute.footer {
  position: absolute;
  bottom: 0;
  right: 0;
  pointer-events: none;
}

/* Decorative vegetables */
.absolute.eggplant-and-cabbage,
.absolute.cabbage-and-carrots,
.absolute.lettuce-and-garlic,
.absolute.lettuce-and-garlic-2,
.absolute.pepper,
.absolute.bulgarian-pepper {
  display: none; /* Hidden — decorative, from Webflow images not downloaded */
}

/* Fix: Webflow nav JS not loaded — handle mobile menu via CSS */
@media (max-width: 991px) {
  .w-nav[data-collapse="medium"] .w-nav-menu {
    display: none !important;
  }
  .w-nav[data-collapse="medium"] .w-nav-menu.w--open {
    display: block !important;
  }
  .w-nav[data-collapse="medium"] .w-nav-button,
  .w-nav[data-collapse="medium"] .menu-button {
    display: block !important;
  }
}

/* Mobile nav */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 80px;
  left: 20px;
  right: 20px;
  background: var(--green-700);
  border: 1px solid var(--neutrals-900);
  border-radius: 16px;
  padding: 24px;
  z-index: 999;
  flex-direction: column;
  gap: 8px;
}
.mobile-nav-overlay.open { display: flex; }
.mobile-nav-overlay .nav-link {
  text-align: left;
  padding: 10px 16px;
  border-radius: 8px;
  display: block;
}
.mobile-nav-overlay .nav-link:hover {
  background: rgba(255,255,255,0.1);
}

/* Article images — cap to natural size for sharpness (thumbnails are ~600px wide) */
.image-4.article-image {
  max-width: 800px;
  width: 100%;
  height: auto;
  margin: 0 auto 32px;
  display: block;
  image-rendering: auto;
}

/* Article body — TareRecipeStyles script handles recipe formatting (green headings, cream cards) */
.rich-text-block a {
  color: var(--orange-700);
  text-decoration: underline;
}

/* Scroll-in animations (replicating Webflow interactions) */
.scroll-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.scroll-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.collection-item.anim-ready {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.collection-item.anim-ready.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Review card hover — 3D tilt matching Webflow perspective */
.product-card {
  transition: transform 0.3s ease;
}
.product-card:hover {
  transform: rotateX(-2deg) rotateY(2deg) translateY(-4px);
}

/* Responsive additions not in Webflow CSS */
@media (max-width: 991px) {
  .navbar-wrapper {
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
  }
  .banner-wrapper {
    padding: 0;
  }
  .banner {
    border-radius: 0;
  }
  .absolute.our-story.center {
    width: 72px;
    height: 72px;
  }
  .collection-list {
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 24px;
    grid-row-gap: 24px;
  }
  .md-inset-xl {
    padding: 24px;
  }
}

@media (max-width: 767px) {
  .collection-list {
    grid-template-columns: 1fr;
    grid-column-gap: 16px;
    grid-row-gap: 16px;
  }
}

@media (max-width: 479px) {
  .absolute.pumpkin .cover-image {
    width: 100%;
  }
}
