/* Jivika / Custom Front Page – supplementary styles */

/* Slider sits below full-width header */
.jivika-homepage #slider {
  margin-top: 0;
}

#slider .carousel-item img {
  display: block;
  width: 100%;
  height: 700px;
  min-height: 500px;
  object-fit: cover;
  object-position: center;
  background: #1a2e1a;
}

.jivika-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.jivika-section-head .section-label {
  color: #50d430;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 8px;
}

.jivika-section-head h2 {
  font-size: 2.25rem;
  font-weight: 700;
  text-transform: uppercase;
}

.jivika-section-head p {
  color: #6e6e6e;
  font-size: 16px;
  line-height: 1.7;
}

/* About */
#jivika-about {
  background: #fff;
}

#jivika-about .about-image-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

#jivika-about .about-image-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

#jivika-about .about-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: #50d430;
  color: #fff;
  padding: 20px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.3;
}

#jivika-about .about-features .feature-item {
  display: flex;
  gap: 16px;
  margin-bottom: 1.25rem;
}

#jivika-about .about-features .feature-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: rgba(80, 212, 48, 0.15);
  color: #50d430;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

#jivika-about .about-features h4 {
  font-size: 1.1rem;
  padding: 0 0 4px;
}

#jivika-about .about-features p {
  margin: 0;
  font-size: 14px;
  color: #6e6e6e;
}

/* Services – extends theme .box */
#jivika-services {
  background: linear-gradient(180deg, #f4faf2 0%, #fff 100%);
}

#jivika-services .service-card {
  height: 100%;
  text-align: center;
  transition: transform 0.3s ease;
}

#jivika-services .service-card:hover {
  transform: translateY(-6px);
}

#jivika-services .service-card .box-image {
  margin-bottom: 1rem;
}

#jivika-services .service-card .box-image i {
  font-size: 48px;
  color: #50d430;
}

#jivika-services .service-card:hover .box-image i {
  color: #fff;
}

#jivika-services .read-more-btn {
  margin-top: 1rem;
}

/* Stats strip */
#jivika-stats {
  background: #50d430;
  color: #fff;
}

#jivika-stats .stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
}

#jivika-stats .stat-number {
  font-size: 2.75rem;
  font-weight: 700;
  font-family: 'Oswald', sans-serif;
  line-height: 1;
  display: block;
}

#jivika-stats .stat-label {
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
  opacity: 0.95;
}

/* Products */
#jivika-products {
  background: #fafafa;
}

#jivika-products .woocommerce ul.products {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

#jivika-products .woocommerce ul.products li.product {
  background: #fff;
  border-radius: 16px;
  padding: 1rem 1rem 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
  text-align: center;
}

#jivika-products .woocommerce ul.products li.product:hover {
  box-shadow: 0 8px 30px rgba(80, 212, 48, 0.25);
  transform: translateY(-4px);
}

/* Product image – full product visible, no crop */
#jivika-products .woocommerce ul.products li.product a.woocommerce-loop-product__link {
  display: block;
  margin-bottom: 0.75rem;
}

#jivika-products .woocommerce ul.products li.product .woocommerce-loop-product__link img,
#jivika-products .woocommerce ul.products li.product img {
  width: 100% !important;
  height: 220px !important;
  max-height: 220px !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: #f8faf8;
  border-radius: 12px;
  padding: 12px;
  margin: 0 auto;
  display: block;
}

#jivika-products .woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 8px 0 4px;
  font-size: 1rem;
  min-height: auto;
}

#jivika-products .woocommerce ul.products li.product .price {
  position: static !important;
  top: auto !important;
  margin-bottom: 0.5rem;
}

#jivika-products .woocommerce ul.products li.product .button,
#jivika-products .woocommerce ul.products li.product a.button {
  position: static !important;
  top: auto !important;
  margin: 0.5rem auto 0 !important;
  display: inline-block;
  border-radius: 8px;
}

/* All WooCommerce product loops – prevent tall bottle images from cropping */
.woocommerce ul.products li.product .woocommerce-loop-product__link img,
.woocommerce ul.products li.product a img {
  object-fit: contain !important;
  object-position: center !important;
}

#jivika-products .view-all-wrap {
  text-align: center;
  margin-top: 2.5rem;
}

#jivika-products .btn-view-all {
  display: inline-block;
  color: #fff;
  background: #50d430;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
}

#jivika-products .btn-view-all:hover {
  background: #000;
  color: #fff;
}

/* CTA */
#jivika-cta {
  background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
    url('../images/slider/jivija-web.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
}

#jivika-cta h2 {
  color: #fff;
  font-size: 2.5rem;
}

#jivika-cta p {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 17px;
  max-width: 640px;
  margin: 0 auto 1.5rem;
}

#jivika-cta .cta-buttons a {
  margin: 0 8px 10px;
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
}

#jivika-cta .btn-primary-cta {
  background: #50d430;
  color: #fff;
}

#jivika-cta .btn-outline-cta {
  border: 2px solid #fff;
  color: #fff;
}

#jivika-cta .btn-primary-cta:hover {
  background: #fff;
  color: #50d430;
}

#jivika-cta .btn-outline-cta:hover {
  background: #fff;
  color: #000;
}

@media (max-width: 991px) {
  #slider img {
    height: 550px;
  }

  #jivika-about .about-image-wrap img {
    height: 300px;
  }

  .jivika-section-head h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 767px) {
  #slider img {
    height: 450px;
  }

  #jivika-stats .stat-number {
    font-size: 2rem;
  }
}
