/* Clean white WhatsApp-style theme */
:root {
  --bg: #0b0f17;
  --text: #e6e8ee;
  --muted: #9aa3b2;
  --line: rgba(255,255,255,0.08);
  --card: #0f1623;
  --wa-green: #25d366; /* WhatsApp green is more vibrant on dark */
  --bubble-in: #121a28; /* incoming (dark blue-gray) */
  --bubble-out: #0f2b1c; /* outgoing (dark green) */
  --ring: rgba(212,175,55,0.25);
  --gold: #d4af37; /* gold primary */
  --gold-2: #b88922; /* gold darker */
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Manrope', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

.container { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(8,12,20,0.6); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.1) blur(10px); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); }
.brand-name { letter-spacing: 0.5px; }

/* Hero */
.hero { padding: 16px 0 8px; }
.hero-figure { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.hero-img { width: 100%; display: block; height: auto; max-height: 520px; object-fit: contain; background:#fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); background: var(--card); color: var(--text); cursor: pointer; text-decoration: none; transition: transform .15s ease, background .2s ease, border-color .2s ease, filter .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--ring); border-radius: 10px; }

.btn-primary { padding: 8px 14px; border-radius: 8px; background: linear-gradient(180deg, #f6e6b4, #d8b56f); color: #1a1a1a; border-color: #d0b070; font-weight: 800; box-shadow: 0 6px 16px rgba(212,175,55,0.18); }
.btn-primary:hover { filter: brightness(1.04); }
.btn:lg { padding: 14px 22px; font-size: 16px; }
.btn-xl { padding: 16px 26px; font-size: 18px; }
.btn-accent { border-radius: 14px; background: transparent; border: 1px solid var(--gold); color: var(--gold); font-weight: 700; letter-spacing: 0.2px; }
.btn-accent:hover { background: var(--gold); color: #1a1a1a; border-color: var(--gold); }

/* FAQ */
.faq { padding: 24px 0 48px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; }
.hint { color: var(--muted); font-size: 12px; margin-top: 10px; }

/* Chat UI */
.chat { padding: 12px 0 24px; }
.feed { display: grid; gap: 14px; }
.msg { display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: start; }
.msg .avatar { width: 36px; height: 36px; border-radius: 50%; background: #e5e7eb url("./logo.jpg") center/cover no-repeat; border: 1px solid var(--line); }
.msg .bubble { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; box-shadow: none; word-wrap: break-word; }
.msg.incoming .bubble { background: var(--bubble-in); border-top-left-radius: 6px; }
.msg.outgoing { grid-template-columns: 1fr 36px; }
.msg.outgoing .bubble { background: var(--bubble-out); border-top-right-radius: 6px; max-width: calc(100% - 46px); margin-left: auto; }
.msg.outgoing .avatar { background: #e5e7eb url("./shopper.png") center/cover no-repeat; }
.brand-tag { font-weight: 700; margin-bottom: 6px; color: var(--gold); letter-spacing: 0.2px; }

.quick-replies { grid-row: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 6px 0; }
.qr { display: inline-flex; align-items: center; justify-content: center; padding: 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text); text-decoration: none; font-weight: 700; }
.qr:hover { transform: translateY(-1px); }
.qr:active { transform: translateY(0); }
.qr:focus { outline: none; box-shadow: 0 0 0 4px var(--ring); }
.qr.focus { background: #f0f9ff; color: #0369a1; border-color: #0ea5e9; }
.qr.success { background: #f0fdf4; color: #166534; border-color: #22c55e; }

/* Centered WhatsApp button */
.bubble .actions { display: flex; justify-content: center; align-items: center; margin-top: 10px; }
.btn-whatsapp { display: inline-flex; align-items: center; justify-content: center; padding: 14px 22px; border-radius: 999px; background: var(--wa-green); color: #ffffff; font-weight: 900; text-decoration: none; border: none; letter-spacing: 0.2px; }
.btn-whatsapp:hover { filter: brightness(1.05); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); color: var(--muted); padding: 18px 0; }
.site-footer .small { font-size: 12px; text-align: center; }

/* Hidden utility class */
.hidden { display: none !important; }

/* Responsive */
@media (max-width: 900px) { .quick-replies { grid-template-columns: 1fr 1fr; } }

/* Section base */
.section { padding: 28px 0 36px; }
.section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:12px; margin-bottom: 14px; }
.section-title { font-size: 22px; line-height:1.3; margin:0; letter-spacing: .2px; }
.section-sub { margin: 0; color: var(--muted); font-size: 14px; }

/* About */
.about-lead { background: var(--card); border:1px solid var(--line); border-radius: 12px; padding: 14px; }
.features { display:grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.feature-card { background: var(--card); border:1px solid var(--line); border-radius: 12px; padding: 12px; }
.feature-card h3 { margin: 0 0 6px; font-size: 16px; }
.feature-card p { margin: 0; color: var(--muted); }

/* Gallery */
.gallery-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery-item { position:relative; overflow:hidden; border-radius:12px; border:1px solid var(--line); background: var(--card); }
.gallery-item img { width:100%; height: 220px; object-fit: cover; display:block; transition: transform .35s ease; }
.brand-gallery { display:grid; grid-template-columns: 1fr 1fr; gap: 0; }
.brand-item { position: relative; overflow: hidden; border-radius: 12px; border: none; background: var(--card); margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; }
.brand-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-item:hover img { transform: scale(1.03); }

/* Lightweight lightbox */
.lightbox-backdrop { position:fixed; inset:0; background: rgba(0,0,0,.6); display:flex; align-items:center; justify-content:center; z-index: 50; animation: fadeIn .15s ease; }
.lightbox-img { max-width: 92vw; max-height: 86vh; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.25); border:1px solid var(--line); }
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }

/* Responsive additions */
@media (max-width: 900px) {
  .quick-replies { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item img { height: 160px; }
  .brand-gallery { grid-template-columns: 1fr 1fr; }
  .brand-item img { height: auto; object-fit: contain; }
  .brand-item { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .section-head { flex-direction: column; align-items: flex-start; gap:6px; }
  .gallery-grid { grid-template-columns: 1fr; }
}

/* Collapsible (used for about section at top) */
.collapsible details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.collapsible details summary { display:flex; align-items: baseline; gap: 10px; list-style: none; cursor: pointer; padding: 12px 14px; }
.collapsible details summary::-webkit-details-marker { display: none; }
.collapsible details summary:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--ring); }
.collapsible details summary::after { content: '▾'; margin-left: auto; color: var(--muted); transition: transform .2s ease; }
.collapsible details[open] summary::after { transform: rotate(180deg); }
.collapsible details .summary-title { font-weight: 700; letter-spacing: .2px; }
.collapsible details .summary-sub { color: var(--muted); font-size: 12px; }
.collapsible details .content { border-top: 1px solid var(--line); padding: 12px 14px; }

@media (max-width: 560px) {
  .collapsible details summary { flex-direction: column; align-items: flex-start; gap: 4px; }
  .collapsible details .summary-sub { font-size: 12px; }
}

/* USP promises under hero */
.usp-list { display:grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.usp-item { background: var(--card); border:1px solid rgba(212,175,55,0.35); border-radius: 12px; padding: 10px 12px; font-weight: 600; color: var(--gold); background-image: linear-gradient(0deg, rgba(212,175,55,0.12), transparent); }

/* Mobile bottom floating WhatsApp button */
.fab-wa { position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 40; display:none; }
.fab-wa .btn { width: 100%; border-radius: 999px; padding: 14px 18px; font-weight: 800; }
@media (max-width: 900px) {
  .usp-list { grid-template-columns: 1fr; }
  .fab-wa { display:block; }
}

/* Titles use serif to enhance luxury feel */
h1, h2, h3, .brand-name, .section-title { font-family: 'Cormorant Garamond', serif; font-weight: 700; }
.brand-name { letter-spacing: 1px; }