/* ================================================================
   CW Resources BD — Shared Stylesheet
   Covers: buttons, nav, scroll-reveal, hero, solutions, about,
           café cards, brand partners, slider, scrollbar
   ================================================================ */


/* ── Buttons ─────────────────────────────────────────────────── */

.btn-gold {
  display: inline-block;
  background: #d4920c;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.7rem 1.6rem;
  border-radius: 0.375rem;
  letter-spacing: 0.02em;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}
.btn-gold:hover {
  background: #b87208;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(212, 146, 12, 0.38);
}

.btn-gold-outline {
  display: inline-block;
  background: transparent;
  color: #d4920c;
  font-weight: 400;
  font-size: 0.875rem;
  padding: 0.7rem 1.6rem;
  border-radius: 0.375rem;
  border: 1px solid #d4920c;
  letter-spacing: 0.02em;
  transition: background 0.25s, color 0.25s, transform 0.2s, box-shadow 0.25s;
}
.btn-gold-outline:hover {
  background: #d4920c;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(212, 146, 12, 0.38);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.7rem 1.6rem;
  border-radius: 0.375rem;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  transition: background 0.25s, border-color 0.25s;
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}


/* ── Navigation ──────────────────────────────────────────────── */

.nav-link {
  position: relative;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #d4920c;
  transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}


/* ── Scroll-reveal ───────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: none;
}

.stagger-1 { transition-delay: 0ms; }
.stagger-2 { transition-delay: 120ms; }
.stagger-3 { transition-delay: 240ms; }
.stagger-4 { transition-delay: 60ms; }
.stagger-5 { transition-delay: 180ms; }


/* ── Utility ─────────────────────────────────────────────────── */

.gold-divider {
  display: block;
  width: 50px;
  height: 3px;
  background: #d4920c;
  margin: 0.75rem auto 0;
}

.card-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
}


/* ── Hero ────────────────────────────────────────────────────── */

.hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(15, 12, 5, 0.93) 0%,
    rgba(25, 18, 4, 0.82) 55%,
    rgba(15, 12, 5, 0.65) 100%
  );
}


/* ── What We Do: canvas ──────────────────────────────────────── */

#wwdCanvas {
  pointer-events: none;
  user-select: none;
}


/* ── What We Do: solution icon rings ────────────────────────── */

@keyframes sol-ring-glow {
  0%, 100% {
    border-color: #e5e7eb;
    box-shadow: 0 0 0 0 rgba(212, 146, 12, 0);
  }
  50% {
    border-color: #d4920c;
    box-shadow: 0 0 0 10px rgba(212, 146, 12, 0.07),
                0 8px 28px rgba(212, 146, 12, 0.13);
  }
}

@keyframes sol-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}

.sol-icon-ring {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 2px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    transform     0.44s cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color  0.32s ease,
    background    0.32s ease,
    box-shadow    0.32s ease;
  animation: sol-ring-glow 3s ease-in-out infinite;
}
.sol-item:hover .sol-icon-ring {
  animation-play-state: paused;
  transform: translateY(-10px) scale(1.08);
  box-shadow: 0 20px 48px rgba(212, 146, 12, 0.18);
  border-color: #e8b222;
}
.sol-icon-ring i {
  animation: sol-float 3s ease-in-out infinite;
  transition: transform 0.44s cubic-bezier(0.34, 1.7, 0.64, 1);
}
.sol-item:hover .sol-icon-ring i {
  animation-play-state: paused;
  transform: scale(1.25);
}

/* Stagger animation start times so items pulse/float out of phase */
.stagger-1 .sol-icon-ring,
.stagger-1 .sol-icon-ring i { animation-delay: 0s; }
.stagger-2 .sol-icon-ring,
.stagger-2 .sol-icon-ring i { animation-delay: 1s; }
.stagger-3 .sol-icon-ring,
.stagger-3 .sol-icon-ring i { animation-delay: 2s; }


/* ── About Us: timeline ──────────────────────────────────────── */

.tl-item {
  position: relative;
  padding-left: 30px;
}
.tl-item::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 22px;
  width: 1.5px;
  height: calc(100% + 8px);
  background: #e5e7eb;
}
.tl-item:last-child::before {
  display: none;
}
.tl-dot {
  position: absolute;
  left: 0;
  top: 4px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 2px solid #d4920c;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tl-dot::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d4920c;
}


/* ── About Us: café cards ────────────────────────────────────── */

.cafe-card {
  transition: transform 0.38s ease, box-shadow 0.38s ease;
}
.cafe-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.1);
}
.cafe-img {
  transition: transform 0.55s ease;
}
.cafe-card:hover .cafe-img {
  transform: scale(1.05);
}


/* ── About Us: brand partner boxes ──────────────────────────── */

.brand-box {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 14px;
  padding: 22px 14px;
  text-align: center;
  cursor: default;
  transition: border-color 0.3s ease, transform 0.35s ease, box-shadow 0.3s ease;
}
.brand-box:hover {
  border-color: #d4920c;
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(212, 146, 12, 0.12);
}
.brand-box:hover .brand-icon {
  color: #d4920c;
}
.brand-icon {
  font-size: 1.75rem;
  color: #d1d5db;
  transition: color 0.3s ease;
}


/* ── Products: hero slider ───────────────────────────────────── */

#slideTrack {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide {
  width: 33.3333%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.slide-dot {
  transition: width 0.35s ease, opacity 0.35s ease;
  cursor: pointer;
  border: none;
}


/* ── Scrollbar ───────────────────────────────────────────────── */

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f5f5f5; }
::-webkit-scrollbar-thumb { background: #d4920c; border-radius: 3px; }

/* Modal — invisible scrollbar, fully scrollable */
.modal-scroll-inner { -ms-overflow-style: none; scrollbar-width: none; }
.modal-scroll-inner::-webkit-scrollbar { display: none; }


/* ── Bangla font scope (How to Order modal) ──────────────────── */

#howToOrderModal[lang="bn"] {
  font-family: 'Hind Siliguri', sans-serif;
}
