/* ==========================================================================
   Aisy Bina Exports — Company Profile (v3)
   Design concept: "Harvest & Trade" — grounded in Indonesia's commodity
   exports (coffee, spice, coconut). Warm cream, deep forest green, and a
   mustard-gold accent. A single hanging "export tag" shape is the one bold
   visual moment; everything else stays quiet, warm, and editorial.
   ========================================================================== */

:root {
  --cream: #faf6ec;
  --cream-dim: #f0e9d8;
  --forest: #1f3b2e;
  --forest-soft: #52685c;
  --gold: #b98b3e;
  --gold-soft: #d9b978;
  --line: rgba(31, 59, 46, 0.14);
  --line-strong: rgba(31, 59, 46, 0.32);

  --font-display: "Fraunces", serif;
  --font-body: "Work Sans", sans-serif;

  --gap: clamp(3rem, 7vw, 6.5rem);
  --radius: 22px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--forest);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}

html, body {
  overflow-x: hidden;
}

a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--forest);
  line-height: 1.18;
}

h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--gold); }

p { color: var(--forest-soft); }

.container { max-width: 1220px; }
.container-narrow { max-width: 660px; }

.section { padding-top: var(--gap); padding-bottom: var(--gap); }
.section-tight { padding-top: calc(var(--gap) * 0.55); padding-bottom: calc(var(--gap) * 0.55); }

.bg-cream-dim { background-color: var(--cream-dim); }
.bg-forest { background-color: var(--forest); }
.text-on-forest { color: rgba(250, 246, 236, 0.72); }

/* Pill tag label ----------------------------------------------------------- */
.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--forest);
  background-color: var(--cream-dim);
  border: 1px solid var(--line);
  padding: 0.35rem 0.9rem 0.35rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

.pill-tag i { color: var(--gold); font-size: 1rem; }

.pill-tag.on-forest {
  background-color: rgba(250, 246, 236, 0.08);
  border-color: rgba(250, 246, 236, 0.25);
  color: var(--cream);
}
.pill-tag.on-forest i { color: var(--gold-soft); }

/* Buttons -------------------------------------------------------------------- */
.btn {
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-forest { background-color: var(--forest); border: 1px solid var(--forest); color: var(--cream); }
.btn-forest:hover { background-color: #16281f; color: var(--cream); transform: translateY(-1px); }

.btn-outline { background-color: transparent; border: 1px solid var(--line-strong); color: var(--forest); }
.btn-outline:hover { border-color: var(--forest); transform: translateY(-1px); }

.btn-cream { background-color: var(--cream); border: 1px solid var(--cream); color: var(--forest); }
.btn-cream:hover { background-color: var(--gold-soft); border-color: var(--gold-soft); transform: translateY(-1px); }

.btn-arrow::after { content: "\2192"; }

/* Navbar ----------------------------------------------------------------------- */
.navbar {
  background-color: var(--cream);
  border-bottom: 1px solid var(--line);
  padding-top: 1.15rem;
  padding-bottom: 1.15rem;
  transition: box-shadow 0.25s ease, padding 0.25s ease;
}

.navbar.is-scrolled { box-shadow: 0 1px 0 var(--line-strong); padding-top: 0.75rem; padding-bottom: 0.75rem; }

.navbar-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--forest);
}

.navbar-brand .brand-dot { color: var(--gold); }

.navbar-nav .nav-link { font-weight: 500; color: var(--forest-soft); padding: 0.5rem 1rem; }
.navbar-nav .nav-link.active, .navbar-nav .nav-link:hover { color: var(--forest); }

@media (max-width: 991.98px) {
  #mainNavbar .navbar-brand {
    min-width: 0;
    flex: 1 1 auto;
    margin-right: 0.5rem;
    font-size: 1.1rem;
    justify-content: flex-start;
  }

  #mainNavbar .navbar-brand span:not(.brand-dot) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #mainNavbar .navbar-toggler {
    flex-shrink: 0;
  }
}


.frame-inner {
  background-color: var(--cream-dim);
  border: 1px solid var(--line);
  border-radius: var(--radius) var(--radius) var(--radius) 4px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--forest-soft);
  padding: 1.5rem;
  overflow: hidden;
}

.frame-inner i { font-size: 1.9rem; margin-bottom: 0.6rem; color: var(--gold); }
.frame-inner span { font-size: 0.8rem; }

.frame-tall .frame-inner { aspect-ratio: 4 / 5; }
.frame-wide .frame-inner { aspect-ratio: 16 / 9; }
.frame-square .frame-inner { aspect-ratio: 1 / 1; }

/* Export tag — the single bold visual moment ---------------------------------
   Shaped like a cargo/luggage tag: a punched hole at the top and a slight
   notch, used once in the hero and once in the CTA section. */
.export-tag {
  position: relative;
  background-color: var(--forest);
  color: var(--cream);
  width: 210px;
  padding: 2.2rem 1.4rem 1.6rem;
  border-radius: 14px;
  text-align: center;
  margin: 0 auto;
  box-shadow: 0 24px 48px rgba(31, 59, 46, 0.28);
}

.export-tag::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--cream);
}

.export-tag .tag-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--gold-soft);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

.export-tag .tag-main {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.3;
}

/* Who we are — value rows ----------------------------------------------------- */
.value-row {
  display: flex;
  gap: 1.25rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}
.value-row:last-child { border-bottom: 1px solid var(--line); }

.value-row .value-icon {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: var(--cream-dim);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--gold);
}

.value-row h3 { font-size: 1.08rem; margin-bottom: 0.35rem; }
.value-row p { margin-bottom: 0; font-size: 0.95rem; }

/* Product / category cards ---------------------------------------------------- */
.crop-card {
  background-color: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius) var(--radius) var(--radius) 4px;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.crop-card:hover { border-color: var(--forest); transform: translateY(-4px); }

.crop-card .frame-inner { border-radius: 0; border: none; border-bottom: 1px solid var(--line); }

.crop-body { padding: 1.35rem; display: flex; flex-direction: column; flex: 1; }
.crop-body h3 { font-size: 1.08rem; margin-bottom: 0.5rem; }
.crop-body p { font-size: 0.92rem; margin-bottom: 1rem; flex: 1; }

.crop-link { font-weight: 600; font-size: 0.88rem; color: var(--forest); display: inline-flex; align-items: center; gap: 0.4rem; }
.crop-link i { transition: transform 0.25s ease; }
.crop-card:hover .crop-link i { transform: translateX(4px); }

/* Why-choose-us reasons -------------------------------------------------------- */
.reason { height: 100%; }
.reason .value-icon { margin-bottom: 1rem; }
.reason h3 { font-size: 1.02rem; margin-bottom: 0.5rem; }
.reason p { font-size: 0.92rem; margin-bottom: 0; }

/* Process timeline (legitimate numbered sequence) ------------------------------ */
.timeline { position: relative; }

.timeline-step { text-align: center; position: relative; padding-top: 0.5rem; }

.timeline-dot {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background-color: var(--forest);
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  position: relative;
  z-index: 1;
}

.timeline-step h3 { font-size: 0.98rem; margin-bottom: 0; }

.timeline-line {
  display: none;
}

@media (min-width: 992px) {
  .timeline-line {
    display: block;
    position: absolute;
    top: 1.3rem;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--line-strong);
    z-index: 0;
  }
}

/* Global reach list -------------------------------------------------------------- */
.reach-list { list-style: none; padding-left: 0; margin: 1.75rem 0 0; }
.reach-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid var(--line);
  padding: 1rem 0;
  font-weight: 500;
}
.reach-list li:last-child { border-bottom: 1px solid var(--line); }
.reach-list li i { color: var(--gold); font-size: 1.1rem; }

/* Footer --------------------------------------------------------------------------- */
.site-footer { color: rgba(250, 246, 236, 0.62); }

.footer-brand { font-family: var(--font-display); font-weight: 600; color: var(--cream); font-size: 1.25rem; margin-bottom: 0.85rem; }

.site-footer a { color: rgba(250, 246, 236, 0.62); text-decoration: none; }
.site-footer a:hover { color: var(--cream); }

.site-footer h4 { color: var(--cream); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.1rem; font-weight: 600; }

.site-footer ul { list-style: none; padding-left: 0; }
.site-footer ul li { margin-bottom: 0.6rem; }

.footer-bottom { border-top: 1px solid rgba(250, 246, 236, 0.14); padding-top: 1.5rem; margin-top: 3rem; font-size: 0.85rem; }

/* WhatsApp floating button ----------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--forest);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 10px 24px rgba(31, 59, 46, 0.3);
  z-index: 1030;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.whatsapp-float:hover { color: var(--cream); background-color: var(--gold); transform: scale(1.06); }

/* Contact page ------------------------------------------------------------------------ */
.contact-row { border-top: 1px solid var(--line); padding: 0.5rem 0; }
.contact-row:last-child { border-bottom: 1px solid var(--line); }
.contact-row .label { display: block; font-size: 0.82rem; color: var(--forest-soft); margin-bottom: 0.1rem; }
.contact-row .value { font-weight: 600; font-size: 1.02rem; }

.inquiry-form { background-color: var(--cream-dim); border-radius: var(--radius); padding: 2rem; }

.inquiry-form label { font-weight: 600; font-size: 0.88rem; margin-bottom: 0.4rem; }

.inquiry-form .form-control, .inquiry-form .form-select {
  border-radius: 10px;
  border-color: var(--line-strong);
  padding: 0.65rem 0.9rem;
  background-color: var(--cream);
}

.inquiry-form .form-control:focus, .inquiry-form .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.15rem rgba(185, 139, 62, 0.18);
}

@media (max-width: 767.98px) {
  :root { --gap: 3rem; }
}

/* ==========================================================================
   ADDITION — Product photo carousel + preview modal
   (Refactor scope: product photo areas only. Nothing above this line
   was changed as part of this update.)
   ========================================================================== */

.crop-media { position: relative; }

.crop-card .crop-carousel .frame-inner {
  cursor: pointer;
  position: relative;
}

/* Carousel prev/next controls — small, subtle, theme-colored */
.crop-carousel .carousel-control-prev,
.crop-carousel .carousel-control-next {
  width: 2.2rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.crop-carousel:hover .carousel-control-prev,
.crop-carousel:hover .carousel-control-next {
  opacity: 1;
}

.crop-carousel .carousel-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--cream);
  border: 1px solid var(--line);
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

/* Small dot indicators, theme-colored, only shown when there is more than one slide */
.crop-carousel .crop-indicators {
  margin-bottom: 0.6rem;
}

.crop-carousel .crop-indicators [data-bs-target] {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(250, 246, 236, 0.55);
  border: none;
  opacity: 1;
  margin: 0 3px;
}

.crop-carousel .crop-indicators [data-bs-target].active {
  background-color: var(--cream);
}

/* Preview modal */
.photo-modal .modal-content {
  background-color: var(--cream);
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
}

.photo-modal .modal-close-custom {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  background-color: var(--cream);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  opacity: 1;
  box-shadow: 0 4px 12px rgba(31, 59, 46, 0.18);
}

.photo-modal .carousel-arrow { width: 38px; height: 38px; font-size: 1rem; }

.photo-modal .carousel-caption-label {
  text-align: center;
  padding: 0.9rem 1.2rem 1.2rem;
  font-weight: 600;
  color: var(--forest);
}

.empty-category {
  width: 100%;
  padding: 3rem 1rem;
  text-align: center;
  color: #999;
}

.empty-category i {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.75rem;
}

.empty-category p {
  margin: 0;
  font-size: 1rem;
}

/* .quill-content strong {
    font-weight: 700;
}

.quill-content em {
    font-style: italic;
}

.quill-content u {
    text-decoration: underline;
} */



/* // ===================] */


/* Grid card (list produk) */
.frame-square {
  width: 100%;
}

.frame-square .frame-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #f4f4f4;
}

.frame-square .frame-inner img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* biar ga zoom/crop */
  display: block;
}

/* Modal foto besar */
.photo-modal .modal-dialog {
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-modal .modal-content {
  width: auto;
  max-width: 90vw;
}

.photo-modal .frame-wide {
  width: 100%;
  height: auto;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-modal .frame-wide img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.photo-modal .frame-empty {
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f4f4;
}

