/* ==========================================================
   Arackal Plantations – overrides on top of the Agrigo theme
   ========================================================== */

/* ---------- Brand lockup (logo mark + name) ---------- */
.ark-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--cp-color-common-white);
}
.ark-brand:hover { color: var(--cp-color-common-white); }
.ark-brand .ark-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 12px;
  background: var(--cp-color-common-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}
.ark-brand .ark-mark img { width: 100%; height: 100%; object-fit: contain; }
.ark-brand .ark-name { display: flex; flex-direction: column; line-height: 1; }
.ark-brand .ark-name b {
  font-family: var(--cp-ff-heading);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.ark-brand .ark-name small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 5px;
  opacity: 0.9;
}
.header .primary-header-inner .header-logo { padding: 14px 28px; }
.ark-brand-dark { color: var(--cp-color-heading-primary); }
.ark-brand-dark:hover { color: var(--cp-color-heading-primary); }
.ark-brand-dark .ark-mark { background: var(--cp-color-bg-1); }
.footer-logo .ark-brand .ark-mark,
.footer-bottom .ark-brand .ark-mark { width: 56px; height: 56px; flex-basis: 56px; }
.footer-bottom .ark-brand { margin-bottom: 20px; }
@media (max-width: 575px) {
  .header .primary-header-inner .header-logo { padding: 12px 16px; }
  .ark-brand { gap: 10px; }
  .ark-brand .ark-mark { width: 40px; height: 40px; flex-basis: 40px; }
  .ark-brand .ark-name b { font-size: 21px; }
  .ark-brand .ark-name small { font-size: 9px; }
}

/* active nav item */
.header .primary-header-inner .header-menu-wrap ul li.active > a { color: var(--cp-color-theme-primary); }
.top-bar-list li a { color: inherit; }
.top-bar-list li a:hover { color: var(--cp-color-theme-primary); }

/* ---------- Hero ---------- */
.ark-hero-desc {
  color: rgba(255, 255, 255, 0.92);
  font-size: 20px;
  max-width: 560px;
  margin: 8px 0 32px;
}
.hero-content .hero-title-wrap .title { margin-bottom: 8px; }
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 50, 22, 0.75) 0%, rgba(0, 50, 22, 0.35) 55%, rgba(0, 50, 22, 0.1) 100%);
}
.ark-variety-thumbs li { background: var(--cp-color-bg-1); overflow: hidden; }
.ark-variety-thumbs li img { mix-blend-mode: multiply; }
.ark-variety-thumbs li.icon a { color: inherit; display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.author-list-wrap .author-title { margin-top: 20px; }
.ark-card-sub { margin: 4px 0 0; font-size: 15px; color: var(--cp-color-text-body); }

/* ---------- Sections ---------- */
.ark-white-desc { color: rgba(255, 255, 255, 0.85); font-size: 18px; max-width: 460px; }

/* product shots (white background) shown inside image frames */
.ark-product-img { background: var(--cp-color-bg-1); border-radius: 16px; overflow: hidden; }
.ark-product-img img { object-fit: contain !important; mix-blend-mode: multiply; padding: 30px; }
.ark-variety-desc { margin: 14px 0 18px; max-width: 360px; }
.portfolio-item .content .arrow-icon { margin-top: 60px; }

/* counter cards: blend white product photos into the card */
.count-item .image img { mix-blend-mode: multiply; object-fit: contain !important; object-position: center bottom; }
.count-item .content .num { white-space: nowrap; }

/* feature items with descriptions (Our Lab page) */
.ark-feat-long .feature-item { align-items: flex-start; }
.ark-feat-desc { color: rgba(255, 255, 255, 0.8); font-size: 15px; line-height: 1.55; margin: 10px 0 0; }
.ark-feat-long .features-items-wrap { column-gap: 32px; }

/* video band reused as a location band */
.video-section .video-bottom { text-decoration: none; }

/* faq answers with lists */
.accordion-body p { margin-bottom: 10px; }
.accordion-body ul { padding-left: 20px; margin: 0 0 10px; }
.accordion-body ul li { list-style: disc; margin-bottom: 4px; }

/* stat box on the lab page */
.ark-stat-box {
  background: var(--cp-color-heading-primary);
  border-radius: 16px;
  padding: 28px 30px;
  color: rgba(255, 255, 255, 0.85);
}
.ark-stat-box .num { color: var(--cp-color-theme-primary); font-size: 48px; font-weight: 700; margin-bottom: 6px; }
.ark-stat-box p { margin: 0; }

/* lab capabilities cards */
.ark-caps .feature-item-2 .title { color: var(--cp-color-common-white); }
.ark-caps .feature-item-2 p { color: rgba(255, 255, 255, 0.8); margin: 0; }

/* gallery */
.ark-gal-item {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.ark-gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.ark-gal-item:hover img { transform: scale(1.06); }
.ark-gal-cap {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: var(--cp-color-common-white);
  color: var(--cp-color-heading-primary);
  font-family: var(--cp-ff-heading);
  font-weight: 600;
  font-size: 16px;
  padding: 8px 16px;
  border-radius: 8px;
}

/* product cards (Dates Palm page) */
.ark-product .shop-thumb { height: 340px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ark-product .shop-thumb img { max-width: 85%; max-height: 85%; object-fit: contain; mix-blend-mode: multiply; }
.ark-product .shop-content .title { margin-top: 20px; }
.ark-product-desc { margin-top: 10px; }

/* contact */
.contact-section .contact-txt { color: var(--cp-color-heading-primary); }
#form-messages:empty { display: none; }
#form-messages { padding: 12px 16px; border-radius: 8px; }
.map-wrapper iframe { width: 100%; height: 500px; border: 0; display: block; }

/* ---------- fixes after first render ---------- */
/* date-farm look: no vegetable background shape in green feature band */
.feature-section .bg-img { display: none; }
.hero-content { padding-top: 440px; }
@media (max-width: 1199px) { .hero-content { padding-top: 200px; } }
/* counter photos sit below the numbers */
.count-item .image { margin-top: 0; height: 250px; }
.count-item .image img { padding: 0 30px 10px; }
/* readable faq answers */
.faq-content .faq-accordion .accordion-item .accordion-body p,
.faq-content .faq-accordion .accordion-item .accordion-body li { color: inherit; font-size: 17px; }
/* 7-letter wordmark instead of 6 */
.footer-section .title-logo { font-size: min(292px, 19.5vw) !important; letter-spacing: 0.06em !important; }
.footer-bottom .title { font-size: min(150px, 11vw) !important; letter-spacing: 0.03em !important; }
.contact-section .title { font-size: min(110px, 7.2vw); }
@media (max-width: 991px) { .contact-section .title { font-size: 56px; } }

/* ---------- WhatsApp + Call floating buttons ---------- */
.ark-float {
  position: fixed;
  left: 20px;
  bottom: 24px;
  z-index: 9990;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ark-float-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  min-width: 54px;
  padding: 0 18px 0 15px;
  border-radius: 30px;
  color: #fff !important;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ark-float-btn i { font-size: 24px; width: 24px; text-align: center; }
.ark-float-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28); }
.ark-float-wa { background: #25D366; }
.ark-float-call { background: var(--cp-color-heading-primary); }
.ark-float-wa::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25D366;
  z-index: -1;
  animation: arkPulse 2s ease-out infinite;
}
.ark-float-btn { position: relative; }
@keyframes arkPulse { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.7); opacity: 0; } }
@media (max-width: 767px) {
  .ark-float { left: 14px; bottom: 16px; gap: 10px; }
  .ark-float-btn { padding: 0; width: 52px; height: 52px; min-width: 52px; justify-content: center; }
  .ark-float-btn span { display: none; }
}

/* contact page buttons + map link */
.ark-contact-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.ark-cbtn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 8px;
  color: #fff !important; font-weight: 600; text-decoration: none;
}
.ark-cbtn i { font-size: 18px; }
.ark-cbtn-wa { background: #25D366; }
.ark-cbtn-call { background: var(--cp-color-heading-primary); }
.ark-cbtn:hover { opacity: 0.9; }
.ark-map-link { display: inline-block; margin-top: 6px; font-weight: 600; }
.footer-list .ark-map-link { color: var(--cp-color-theme-primary) !important; font-size: 14px; }
.side-menu-list small { font-size: 13px; opacity: 0.8; }
.ark-map-wrap { position: relative; }
.ark-map-open { position: absolute; top: 20px; left: 20px; z-index: 2; box-shadow: 0 6px 18px rgba(0,0,0,.2); }

/* top bar: keep items on one line */
.top-bar-list li { white-space: nowrap; }
@media (max-width: 1599px) { .top-bar .top-bar-left { display: none; } .top-bar .top-bar-inner { justify-content: center; } }
/* floating buttons on the right, above the scroll-progress button */
.ark-float { left: auto; right: 22px; bottom: 100px; align-items: flex-end; }
@media (max-width: 767px) { .ark-float { left: auto; right: 14px; bottom: 84px; } }
