/* Dark mode for the pages that were built without one: About, Menu, Hours, Contact, Newsletter,
 * Privacy, Terms. index.html, diwali-specials.html and appetizer.html carry their own dark styles
 * inline and do not load this file.
 *
 * Same palette as index.html's dark mode, so the whole site matches. Applied when the theme toggle
 * (assets/shell.js) or the visitor's system setting puts data-theme="dark" on <html>.
 */

/* ── palette ─────────────────────────────────────────────────────────────── */
[data-theme="dark"] {
  --c-white:     #111827;
  --c-secondary: #1a2232;
  --c-dark:      #f8fafc;
  --c-mid:       #94a3b8;
  --c-border:    #2e384d;
  color-scheme: dark;
}
[data-theme="dark"] body {
  background-color: #0b0f19;
  background-image: none;
  color: #f1f5f9;
}

/* ── shared building blocks (as on index.html) ───────────────────────────── */
[data-theme="dark"] .bg-white { background-color: #111827; }
[data-theme="dark"] .bg-secondary { background-color: #1a2232; }
[data-theme="dark"] .section-label { background: rgba(255, 255, 255, 0.12); color: #f1f5f9; }
[data-theme="dark"] .section-divider { background: #f8fafc; }
[data-theme="dark"] .btn-primary { background-color: #f8fafc; color: #0f172a; border-color: #f8fafc; }
[data-theme="dark"] .btn-primary:hover { background-color: #e2e8f0; border-color: #e2e8f0; color: #0f172a; }
[data-theme="dark"] .btn-outline-dark { color: #f8fafc; border-color: rgba(255, 255, 255, 0.35); }
[data-theme="dark"] .btn-outline-dark:hover { background-color: #f8fafc; color: #0f172a; }
[data-theme="dark"] .float-call { background: #1e293b; color: #f8fafc; border: 1px solid rgba(255, 255, 255, 0.15); }
[data-theme="dark"] .float-call:hover { background: #334155; }

/* Buttons in page content that use the "white" colour for their text (it is dark in dark mode). */
[data-theme="dark"] main .btn-outline { color: #f8fafc; border-color: rgba(255, 255, 255, 0.6); }
[data-theme="dark"] main .btn-outline:hover { background-color: rgba(255, 255, 255, 0.12); border-color: #f8fafc; }

/* ── About ───────────────────────────────────────────────────────────────── */
[data-theme="dark"] .about-feature-icon { background: rgba(255, 255, 255, 0.1); color: #f8fafc; }
[data-theme="dark"] .about-pull-quote { border-left-color: #f8fafc; }
[data-theme="dark"] .about-img-secondary { border-color: #111827; }
[data-theme="dark"] .about-stat-badge { background: #1e293b; border: 1px solid rgba(255, 255, 255, 0.15); }

/* ── Menu (the data-drawn menu block) ────────────────────────────────────── */
[data-theme="dark"] .kora-menu .kora-menu__section-title { border-bottom-color: #f8fafc; }
[data-theme="dark"] .kora-menu .kora-menu__item-price { color: #f8fafc; }
[data-theme="dark"] .kora-menu .kora-menu__tag { background: rgba(255, 255, 255, 0.12); color: #f1f5f9; }

/* ── Contact (colours are inline style attributes, hence !important) ─────── */
[data-theme="dark"] #contact-form input,
[data-theme="dark"] #contact-form textarea {
  background-color: #0b0f19 !important;
  color: #f1f5f9 !important;
  border-color: #2e384d !important;
}
[data-theme="dark"] #contact-form input::placeholder,
[data-theme="dark"] #contact-form textarea::placeholder { color: #64748b; }
/* Buttons whose black background is an inline style (Contact submit + map, Menu "Call to Order Now"):
   light on dark, like .btn-primary. */
[data-theme="dark"] #contact-submit-btn,
[data-theme="dark"] a.btn[style*="--c-primary"] { background: #f8fafc !important; color: #0f172a !important; }
[data-theme="dark"] .contact-section a[href="hours"] { color: #f8fafc !important; }

/* ── Newsletter ──────────────────────────────────────────────────────────── */
[data-theme="dark"] .page-hero { color: #f8fafc; }
[data-theme="dark"] .form-label { color: #f1f5f9; }
[data-theme="dark"] .form-input { background-color: #0b0f19; color: #f1f5f9; border-color: #2e384d; }
[data-theme="dark"] .form-input::placeholder { color: #64748b; }
[data-theme="dark"] .form-input:focus { border-color: #f8fafc; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15); }
[data-theme="dark"] .checkbox-label { color: #cbd5e1; }
[data-theme="dark"] .checkbox-input { accent-color: #f8fafc; }
[data-theme="dark"] .perk-icon { background: #f8fafc; color: #0f172a; }
[data-theme="dark"] .form-wrapper { box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4); }
