/* Brand layer (brand_assets): orange #FF5722, teal #2F8F83, cream #FFF4EA, charcoal #2A2230.
   Loaded after stylesHome1.css. The hero banner is intentionally left as the original photo. */

:root {
  --main-color: #ff5722;
  --second-color: #fff4ea;
  --text-color: #2a2230;
  --brand-teal: #2f8f83;
  --brand-cream: #fff4ea;
  --brand-charcoal: #2a2230;
}

/* body was height:100vh + flex column, which squeezes sections that no longer force 100vh */
html { color-scheme: light; }
body { height: auto; min-height: 100vh; background: #fff; color: var(--text-color); }
body > * { flex-shrink: 0; }

/* ---------- what you can do (compact: small tiles, not a tall card wall) ---------- */
.features { width: 100%; background: var(--brand-cream); text-align: center; padding: 28px 100px 32px; }
.features h2 { font-size: 1.5rem; color: var(--brand-charcoal); }
.features .features-sub { margin: 6px 0 18px; color: #6d6470; font-size: 0.95rem; }
.features .feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 1000px;
  margin: 0 auto;
}
.features .feature-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  grid-template-areas: "img title" "img text";
  column-gap: 12px;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(42, 34, 48, 0.07);
  padding: 10px 12px;
  text-align: right;
}
.features .feature-card img { grid-area: img; width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.features .feature-card h3 { grid-area: title; font-size: 0.98rem; color: var(--brand-charcoal); align-self: end; }
.features .feature-card p { grid-area: text; font-size: 0.82rem; line-height: 1.6; color: #6d6470; align-self: start; }
@media (max-width: 900px) {
  .features { padding: 24px 5% 28px; }
  .features .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .features .feature-grid { gap: 8px; }
  .features .feature-card p { display: none; }
  .features .feature-card { grid-template-columns: 44px 1fr; grid-template-areas: "img title"; column-gap: 8px; padding: 8px; }
  .features .feature-card img { width: 44px; height: 44px; border-radius: 10px; }
  .features .feature-card h3 { align-self: center; font-size: 0.88rem; }
}

/* ---------- app section ---------- */
.application .app-links { display: flex; flex-flow: row wrap; gap: 10px; margin-top: 12px; }

/* store buttons: icon + text; Cafe Bazaar is solid black */
.btn-store { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; background: #000; color: #fff; }
.btn-store:hover { background: #222; }
/* web version: the inverse of the Bazaar button (white, black text, coloured icon) */
.btn-store.btn-teal { background: #fff; color: #000; box-shadow: inset 0 0 0 1.5px #000; }
.btn-store.btn-teal:hover { background: #f1f1f1; }
.btn-store .bx-globe { color: var(--primary); }
.btn-store img { width: 22px; height: 22px; display: block; }
.btn-store .bx { font-size: 20px; }

/* ---------- features: two groups ---------- */
.features .features-group { margin: 22px auto 10px; max-width: 1000px; text-align: right; font-size: 1.1rem; color: var(--brand-charcoal); }
.features .features-group:first-of-type { margin-top: 8px; }

/* ---------- FAQ ---------- */
.faq-block { width: 100%; background: #fff; padding: 36px 100px; }
.faq-block .faq-inner { max-width: 820px; margin: 0 auto; text-align: right; }
.faq-block h2 { font-size: 1.4rem; line-height: 1.7; color: var(--brand-charcoal); margin-bottom: 10px; }
.faq-block details { border: 1px solid #eadfd5; border-radius: 12px; padding: 10px 14px; margin: 8px 0; background: var(--brand-cream); }
.faq-block summary { cursor: pointer; font-weight: 600; color: var(--brand-charcoal); }
.faq-block details p { margin-top: 8px; line-height: 1.9; color: #4a4250; }
@media (max-width: 900px) { .faq-block { padding: 28px 5%; } }

/* ---------- site footer (shared partial templates/_footer.html) ---------- */
.site-footer { width: 100%; margin-top: 56px; background: var(--brand-charcoal); color: #e9e2ec; position: relative; border-top: 0; }
.site-footer a { color: #e9e2ec; text-decoration: none; }
.site-footer a:hover { color: #ff8a65; }
.site-footer .sf-friends { position: absolute; top: -62px; right: 50%; transform: translateX(50%); direction: ltr; display: flex; align-items: flex-end; gap: 6px; pointer-events: none; } /* ltr: D-pad on the left, Dots on the right, like a gamepad */
.site-footer .sf-friends img { height: 96px; width: auto; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.25)); }
.site-footer .sf-main {
  max-width: 1100px; margin: 0 auto; padding: 56px 24px 28px;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 28px; text-align: right;
}
.site-footer h3 { font-size: 1rem; margin-bottom: 12px; color: #fff; }
.site-footer ul { margin: 0; padding: 0; }
.site-footer li { list-style: none; margin: 6px 0; font-size: 0.93rem; }
.site-footer .sf-logo { display: inline-flex; align-items: center; gap: 10px; font-size: 1.3rem; font-weight: 700; color: #fff; }
.site-footer .sf-logo img { width: 44px; height: 44px; border-radius: 12px; }
.site-footer .sf-brand p { margin: 12px 0; line-height: 1.9; font-size: 0.92rem; color: #cfc6d4; }
.site-footer .sf-social { display: flex; gap: 8px; }
.site-footer .sf-social .bx { font-size: 22px; color: #fff; padding: 9px; border-radius: 12px; background: rgba(255, 255, 255, 0.1); transition: 200ms; }
.site-footer .sf-social a:hover .bx { background: var(--primary); }
.site-footer .sf-apps { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.site-footer .sf-btn { display: inline-block; padding: 9px 18px; border-radius: 24px; background: var(--primary); color: #fff; font-size: 0.9rem; }
.site-footer .sf-btn:hover { background: var(--primaryDark); color: #fff; }
.site-footer .sf-btn-ghost { background: #fff; color: #000; border: 1px solid #fff; }
.site-footer .sf-btn-ghost:hover { background: #f1f1f1; color: #000; }
.site-footer .sf-btn-ghost .bx-globe { color: var(--primary); }
.site-footer .sf-btn { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.site-footer .sf-btn img { width: 22px; height: 22px; display: block; }
.site-footer .sf-btn .bx { font-size: 20px; }
.site-footer .sf-btn-dark { background: #000; border: 1px solid rgba(255, 255, 255, 0.28); }
.site-footer .sf-btn-dark:hover { background: #1b1b1b; }
.site-footer .sf-enamad { display: inline-block; margin-top: 16px; background: #fff; border-radius: 10px; padding: 4px; }
.site-footer .sf-enamad img { display: block; max-height: 64px; width: auto; }
.site-footer .sf-contact li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.8; }
.site-footer .sf-contact .bx { font-size: 18px; margin-top: 4px; color: #ff8a65; }
.site-footer .sf-copy { text-align: center; padding: 16px; font-size: 0.85rem; color: #b9aebf; border-top: 1px solid rgba(255, 255, 255, 0.1); }
@media (max-width: 900px) {
  .site-footer .sf-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .site-footer .sf-main { grid-template-columns: 1fr; padding: 54px 20px 20px; gap: 22px; }
}

/* blog heading with a "more" link on the same row */
.blogs .heading.heading-row { width: 100%; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; max-width: 1100px; margin: 0 auto 8px; text-align: right; }
.blogs .heading.heading-row h2 { text-align: right; }
.blogs .more-link { display: inline-flex; align-items: center; gap: 2px; font-weight: 600; color: var(--primaryDark); white-space: nowrap; }
.blogs .more-link:hover { color: var(--primary); }
.site-footer .sf-phone { unicode-bidi: isolate; letter-spacing: 0.3px; }
@media (max-width: 560px) {
  .site-footer nav ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
  .site-footer .sf-apps { flex-direction: row; flex-wrap: wrap; }
}
