/* =========================================================
   AYAAN CLOTHING — style.css
   All custom (non-Tailwind) styling lives here.
   Tailwind utility classes are still used in index.html
   via the Tailwind CDN script, this file only adds what
   Tailwind can't: fonts, animations, and small overrides.
   ========================================================= */

:root {
  --ayc-black: #0a0a0a;
  --ayc-brown: #4a4526;   /* the olive/brown used on info cards */
  --ayc-green: #006a4e;   /* Bangladesh flag green, used as accent */
  --ayc-red: #d21034;     /* Bangladesh flag red, used sparingly */
}

body {
  font-family: 'Work Sans', sans-serif;
  color: var(--ayc-black);
}

/* ---- Fade-in on load (hero) ---- */
.fade-in {
  animation: fadeIn 0.8s ease forwards;
  opacity: 0;
}
.fade-in:nth-child(2) { animation-delay: 0.1s; }
.fade-in:nth-child(3) { animation-delay: 0.2s; }
.fade-in:nth-child(4) { animation-delay: 0.3s; }

@keyframes fadeIn {
  to { opacity: 1; }
}

/* ---- Info / stat cards (brown blocks) ---- */
.canva-card-dark {
  background-color: var(--ayc-brown);
  color: #fff;
}

/* ---- Product image hover ---- */
.product-img {
  filter: grayscale(100%);
  transition: filter 0.5s ease;
}
.product-img:hover {
  filter: grayscale(0%);
}

/* ---- Floating action buttons ---- */
.fab-whatsapp {
  background-color: #25d366;
}
.fab-whatsapp:hover {
  background-color: #1ebc59;
}
.fab-call {
  background-color: var(--ayc-black);
}
.fab-call:hover {
  background-color: #262626;
}

/* ---- Form status message ---- */
#form-status.status-success { color: #16a34a; }
#form-status.status-error { color: #dc2626; }

/* ---- "Simply Tell Us" checklist (on dark card) ---- */
.tell-us-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.tell-us-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---- 10-step process ---- */
.process-step {
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 1rem;
  text-align: center;
  list-style: none;
}
.process-step .step-num {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: var(--ayc-black);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ---- Pricing / shipping tables ---- */
.price-table-row td {
  padding: 0.6rem 0.25rem;
  border-bottom: 1px solid #e5e7eb;
}
.price-table-row td:last-child {
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
}

/* ---- FAQ accordion ---- */
.faq-item {
  border: 1px solid #e5e7eb;
  background: #fff;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: transparent;
  border: none;
  font-size: 0.95rem;
}
.faq-question:hover {
  background: #f9fafb;
}
.faq-icon {
  transition: transform 0.25s ease;
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.25rem;
  color: #4b5563;
  font-size: 0.9rem;
  line-height: 1.6;
}
.faq-item.open .faq-answer {
  padding-bottom: 1.1rem;
}

/* ---- Certification / document gallery ---- */
.cert-card {
  border: 1px solid #e5e7eb;
  padding: 1rem;
  transition: border-color 0.2s ease;
}
.cert-card:hover {
  border-color: var(--ayc-black);
}
.cert-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #f3f4f6;
}
.cert-card p {
  margin-top: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .fade-in { animation: none; opacity: 1; }
  .product-img { transition: none; }
  .faq-icon { transition: none; }
  .faq-answer { transition: none; }
}

/* ---- Focus visibility (accessibility) ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--ayc-black);
  outline-offset: 2px;
}
