@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Raleway:wght@300;400;500;600&family=Cinzel:wght@400;500;600&display=swap');

:root {
  --bg: #090810;
  --bg2: #0f0d1a;
  --bg3: #171422;
  --bg4: #1e1a2e;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --gold-dim: rgba(201,168,76,0.18);
  --gold-border: rgba(201,168,76,0.22);
  --purple: #7c5cbf;
  --purple-soft: rgba(124,92,191,0.15);
  --text: #f8f4ff;
  --text-muted: #c4b8d8;
  --text-dim: #8a7aa8;
  --border: rgba(201,168,76,0.13);
  --border-soft: rgba(255,255,255,0.06);
  --radius: 14px;
  --radius-lg: 20px;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Raleway', sans-serif;
  --display: 'Cinzel', serif;
  --transition: 0.28s ease;
  --glow: 0 0 48px rgba(201,168,76,0.12);
  --glow-strong: 0 0 60px rgba(201,168,76,0.22);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); line-height: 1.75; font-size: 15px; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--sans); }
input, select, textarea { font-family: var(--sans); }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }

/* ── Utility ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
.section-pad { padding: 6rem 0; }
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.price-inr { font-size: 0.75em; opacity: 0.55; }

.section-eyebrow {
  font-family: var(--display); font-size: 10.5px; letter-spacing: 4px;
  color: var(--gold); text-transform: uppercase; margin-bottom: 0.9rem; display: block;
}
.section-title {
  font-family: var(--serif); font-size: clamp(30px, 4vw, 50px);
  font-weight: 300; color: var(--text); line-height: 1.15; margin-bottom: 1rem;
}
.section-sub { font-size: 15px; color: var(--text-muted); max-width: 520px; line-height: 1.8; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0.8rem 2rem; border-radius: 50px;
  font-size: 12.5px; font-family: var(--display);
  letter-spacing: 1.5px; text-transform: uppercase;
  transition: var(--transition); border: none;
}
.btn-gold {
  background: linear-gradient(135deg, #b8922e, #e0bf68, #b8922e);
  background-size: 200%; color: #09080f; font-weight: 600;
}
.btn-gold:hover { background-position: right center; box-shadow: 0 4px 28px rgba(201,168,76,0.35); }
.btn-outline { background: transparent; border: 1px solid var(--gold-border); color: var(--gold); }
.btn-outline:hover { background: var(--gold-dim); border-color: rgba(201,168,76,0.5); }
.btn-ghost { background: rgba(255,255,255,0.05); border: 1px solid var(--border-soft); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,0.09); }
.btn-whatsapp { background: #25d366; color: #fff; border: none; }
.btn-whatsapp:hover { background: #1fba57; box-shadow: 0 4px 20px rgba(37,211,102,0.35); }
.btn-sm { padding: 0.5rem 1.3rem; font-size: 11px; }

/* ── Navigation ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.1rem 0; transition: var(--transition);
}
.nav.scrolled {
  background: rgba(9,8,16,0.96); backdrop-filter: blur(24px);
  border-bottom: 0.5px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1160px; margin: 0 auto; padding: 0 2rem; gap: 1rem;
}
.nav-logo { font-family: var(--display); font-size: 17px; color: var(--gold); letter-spacing: 3px; flex-shrink: 0; }
.nav-logo span { display: block; font-size: 9px; letter-spacing: 2.5px; color: var(--text-dim); margin-top: 1px; }
.nav-links { display: flex; gap: 2rem; align-items: center; flex-wrap: nowrap; }
.nav-links a, .nav-links button {
  font-size: 10.5px; font-family: var(--display); letter-spacing: 2px;
  text-transform: uppercase; color: var(--text-muted); transition: var(--transition);
  background: none; border: none; padding: 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-mobile-btn { display: none; background: none; border: none; color: var(--gold); font-size: 22px; }

/* Lang / Currency selectors */
.lang-selector { display: flex; gap: 4px; }
.lang-option {
  background: none; border: 0.5px solid var(--border-soft); color: var(--text-dim);
  padding: 3px 8px; border-radius: 20px; font-size: 10px; font-family: var(--sans);
  cursor: pointer; transition: var(--transition);
}
.lang-option:hover, .lang-option.active { border-color: var(--gold-border); color: var(--gold); background: var(--gold-dim); }
.currency-selector { display: flex; align-items: center; }
.currency-select {
  background: transparent; border: 0.5px solid var(--border-soft); color: var(--text-muted);
  font-size: 10px; padding: 3px 6px; border-radius: 6px; cursor: pointer; outline: none;
}
.currency-select:focus { border-color: var(--gold-border); }

/* ── Cards ── */
.card {
  background: var(--bg2); border: 0.5px solid var(--border);
  border-radius: var(--radius); padding: 2rem; transition: var(--transition);
}
.card:hover { border-color: rgba(201,168,76,0.35); box-shadow: var(--glow); }

/* ── Forms ── */
.form-group { margin-bottom: 1.2rem; }
.form-label {
  display: block; font-size: 10.5px; font-family: var(--display);
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem;
}
.form-control {
  width: 100%; padding: 0.85rem 1.1rem; background: var(--bg3);
  border: 0.5px solid rgba(201,168,76,0.18); border-radius: 9px;
  color: var(--text); font-size: 14px; font-family: var(--sans);
  transition: var(--transition); outline: none;
}
.form-control:focus { border-color: var(--gold); background: var(--bg4); }
.form-control::placeholder { color: var(--text-dim); }
select.form-control option { background: var(--bg3); }

/* ── Toast ── */
.toast {
  position: fixed; bottom: 2rem; right: 2rem;
  background: var(--bg3); border: 0.5px solid var(--gold-border);
  color: var(--text); padding: 0.9rem 1.4rem;
  border-radius: var(--radius); font-size: 14px;
  transform: translateY(100px); opacity: 0;
  transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
  z-index: 9999; max-width: 320px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { border-color: rgba(134,239,172,0.4); }
.toast.error { border-color: rgba(248,113,113,0.4); }

/* ── Modal ── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.78);
  backdrop-filter: blur(10px); z-index: 2000;
  display: flex; align-items: center; justify-content: center; padding: 2rem;
  opacity: 0; pointer-events: none; transition: var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg2); border: 0.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.5rem;
  width: 100%; max-width: 480px; max-height: 90vh; overflow-y: auto;
  transform: scale(0.92); transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.modal-overlay.open .modal { transform: scale(1); }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.modal-close { background: none; border: none; color: var(--text-muted); font-size: 20px; cursor: pointer; }
.modal-close:hover { color: var(--text); }

/* ── Badge ── */
.badge {
  display: inline-block; padding: 3px 10px; border-radius: 20px;
  font-size: 10px; font-family: var(--display); letter-spacing: 1px;
  background: var(--gold-dim); color: var(--gold-light); border: 0.5px solid var(--gold-border);
}

/* ── WhatsApp float ── */
.whatsapp-float {
  position: fixed; bottom: 2rem; left: 2rem; width: 52px; height: 52px;
  background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; z-index: 999;
  box-shadow: 0 4px 24px rgba(37,211,102,0.35); transition: var(--transition); cursor: pointer;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 32px rgba(37,211,102,0.5); }

/* ── Cart badge ── */
.cart-count {
  position: absolute; top: -6px; right: -6px; width: 18px; height: 18px;
  background: var(--gold); color: #09080f; border-radius: 50%;
  font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}

/* ── Stars ── */
.stars { color: var(--gold); letter-spacing: 2px; font-size: 13px; }

/* ── Spinner ── */
.spinner {
  width: 20px; height: 20px; border: 2px solid var(--gold-dim);
  border-top-color: var(--gold); border-radius: 50%;
  animation: spin 0.6s linear infinite; display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Section ornament ── */
.ornament { text-align: center; color: var(--gold); font-size: 16px; letter-spacing: 8px; margin: 2rem 0; }

/* ── Product cards ── */
.product-card {
  background: var(--bg2); border: 0.5px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: var(--transition); display: flex; flex-direction: column;
}
.product-card:hover { border-color: rgba(201,168,76,0.45); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.product-img {
  background: var(--bg3); display: flex; align-items: center; justify-content: center;
  font-size: 52px; height: 155px; border-bottom: 0.5px solid var(--border);
}
.product-body { padding: 1.2rem; flex: 1; display: flex; flex-direction: column; }
.product-name { font-family: var(--serif); font-size: 17px; font-weight: 400; color: var(--text); margin-bottom: 0.4rem; }
.product-desc { font-size: 13px; color: var(--text-muted); flex: 1; margin-bottom: 0.9rem; line-height: 1.7; }
.product-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 1rem; flex-wrap: wrap; }
.product-price .current { font-family: var(--display); font-size: 17px; color: var(--gold); }
.product-price .original { font-size: 12px; color: var(--text-dim); text-decoration: line-through; }

/* ── Booking slot grid ── */
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.slot-btn {
  padding: 0.55rem 0; border-radius: 8px; font-size: 13px; font-family: var(--display);
  text-align: center; cursor: pointer;
  background: var(--bg3); border: 0.5px solid rgba(201,168,76,0.18);
  color: var(--text); transition: var(--transition);
}
.slot-btn:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.slot-btn.selected { background: var(--gold); color: #09080f; border-color: var(--gold); font-weight: 600; }
.slot-btn:disabled { opacity: 0.28; cursor: not-allowed; }

/* ── Payment modal ── */
.payment-processing { text-align: center; padding: 2rem; }
.payment-icon { font-size: 48px; margin-bottom: 1rem; }
.payment-success { color: #86efac; }
.payment-error { color: #f87171; }

/* ── Admin ── */
.admin-layout { display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; }
.admin-sidebar {
  background: var(--bg2); border-right: 0.5px solid var(--border);
  padding: 2rem 1.5rem; position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-main { padding: 2.5rem; overflow-y: auto; }
.admin-nav-item {
  display: flex; align-items: center; gap: 10px; padding: 0.65rem 1rem;
  border-radius: 8px; font-size: 13px; color: var(--text-muted);
  cursor: pointer; transition: var(--transition); margin-bottom: 4px;
}
.admin-nav-item:hover, .admin-nav-item.active { background: var(--gold-dim); color: var(--gold); }

/* ── Table ── */
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th {
  text-align: left; padding: 0.75rem 1rem;
  font-family: var(--display); font-size: 9.5px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gold); border-bottom: 0.5px solid var(--border);
}
.data-table td { padding: 0.85rem 1rem; border-bottom: 0.5px solid rgba(255,255,255,0.035); }
.data-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ── Status chips ── */
.chip { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; }
.chip-green { background: rgba(134,239,172,0.1); color: #86efac; border: 0.5px solid rgba(134,239,172,0.3); }
.chip-red { background: rgba(248,113,113,0.1); color: #f87171; border: 0.5px solid rgba(248,113,113,0.3); }
.chip-amber { background: rgba(251,191,36,0.1); color: #fbbf24; border: 0.5px solid rgba(251,191,36,0.3); }

/* ── Table wrapper ── */
.table-wrap { background: var(--bg2); border: 0.5px solid var(--border); border-radius: var(--radius); overflow: hidden; overflow-x: auto; }
.table-header { padding: 1.1rem 1.4rem; border-bottom: 0.5px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.table-title { font-family: var(--display); font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }

/* ── Action buttons (admin) ── */
.action-btn {
  background: none; border: 0.5px solid var(--border-soft); color: var(--text-muted);
  padding: 3px 9px; border-radius: 6px; font-size: 11px; cursor: pointer; transition: var(--transition);
}
.action-btn:hover { border-color: var(--gold); color: var(--gold); }
.action-btn.danger:hover { border-color: #f87171; color: #f87171; }

/* ── Animations ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.fade-up { animation: fadeUp 0.55s ease forwards; }

/* ── Admin blocked ── */
.blocked-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.65rem 1rem; background: var(--bg3); border-radius: 8px;
  border: 0.5px solid rgba(248,113,113,0.18); margin-bottom: 0.5rem; font-size: 13px;
}
.blocked-item .del-btn { background: none; border: none; color: #f87171; cursor: pointer; font-size: 16px; padding: 2px 6px; }

/* ── Stat cards (admin) ── */
.stat-card { background: var(--bg2); border: 0.5px solid var(--border); border-radius: var(--radius); padding: 1.4rem; }
.stat-label { font-family: var(--display); font-size: 9.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-dim); margin-bottom: 0.5rem; }
.stat-val { font-family: var(--serif); font-size: 34px; font-weight: 300; color: var(--gold); }
.stat-sub { font-size: 12px; color: var(--text-dim); margin-top: 0.3rem; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; margin-bottom: 2.5rem; }

/* ── Admin panel ── */
.admin-panel { display: none; animation: fadeUp 0.3s ease; }
.admin-panel.active { display: block; }
.block-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.blocked-list { margin-top: 1rem; }
.sidebar-logo { font-family: var(--display); font-size: 14px; color: var(--gold); letter-spacing: 2px; margin-bottom: 0.3rem; }
.sidebar-sub { font-size: 11px; color: var(--text-dim); margin-bottom: 2rem; }
.sidebar-section { font-family: var(--display); font-size: 9px; letter-spacing: 2px; color: var(--text-dim); text-transform: uppercase; margin: 1.5rem 0 0.5rem; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { height: auto; position: static; }
  .block-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-btn { display: block; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column; position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg); z-index: 999;
    align-items: center; justify-content: center; gap: 2rem;
  }
  .nav-links.mobile-open a, .nav-links.mobile-open button { font-size: 16px; }
  .section-pad { padding: 4rem 0; }
  .container { padding: 0 1.2rem; }
}

/* ── Admin: top bar (user + logout) ── */
.admin-topbar {
  display: flex; justify-content: flex-end; align-items: center; gap: 1rem;
  margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 0.5px solid var(--border);
}
.admin-user { font-size: 12px; color: var(--text-muted); font-family: var(--display); letter-spacing: 1px; }
.admin-user span { color: var(--gold); }

/* ── Admin: settings tabs ── */
.settings-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2rem; border-bottom: 0.5px solid var(--border); padding-bottom: 1rem; }
.settings-tab {
  background: none; border: 0.5px solid var(--border-soft); color: var(--text-muted);
  padding: 0.5rem 1.2rem; border-radius: 20px; font-size: 12px;
  font-family: var(--display); letter-spacing: 1px; cursor: pointer; transition: var(--transition);
}
.settings-tab:hover { border-color: var(--gold-border); color: var(--gold); }
.settings-tab.active { background: var(--gold-dim); border-color: var(--gold-border); color: var(--gold); }
.settings-pane { display: none; }
.settings-pane.active { display: block; animation: fadeUp 0.3s ease; }

/* ── Admin: form rows ── */
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.form-actions { display: flex; gap: 1rem; margin-top: 1.5rem; align-items: center; }
.save-indicator { font-size: 12px; color: #86efac; opacity: 0; transition: opacity 0.3s; }
.save-indicator.show { opacity: 1; }

/* ── Admin: editable service/product card ── */
.edit-card {
  background: var(--bg3); border: 0.5px solid var(--border); border-radius: 10px;
  padding: 1.2rem; margin-bottom: 1rem;
}
.edit-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.edit-card-title { font-family: var(--display); font-size: 12px; letter-spacing: 1.5px; color: var(--gold); }

/* ── Dashboard: insights grid ── */
.insights-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem; margin-bottom: 2.5rem; }
.insight-card { background: var(--bg2); border: 0.5px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.insight-title { font-family: var(--display); font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }

/* ── Dashboard: chart ── */
.chart-wrap { width: 100%; overflow-x: auto; }
.chart-legend { display: flex; gap: 1.2rem; margin-bottom: 1rem; font-size: 11px; color: var(--text-muted); }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }

/* ── Dashboard: breakdown bars ── */
.breakdown-row { margin-bottom: 0.9rem; }
.breakdown-label { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--text-muted); margin-bottom: 0.35rem; }
.breakdown-label strong { color: var(--text); font-weight: 500; }
.breakdown-track { height: 6px; background: var(--bg3); border-radius: 4px; overflow: hidden; }
.breakdown-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 4px; }

/* ── Dashboard: best sellers / low stock list ── */
.mini-list-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.6rem 0; border-bottom: 0.5px solid rgba(255,255,255,0.04); font-size: 13px;
}
.mini-list-item:last-child { border-bottom: none; }
.mini-list-name { color: var(--text); }
.mini-list-meta { color: var(--text-dim); font-size: 11px; }

@media (max-width: 900px) {
  .insights-grid { grid-template-columns: 1fr; }
}

/* ── Shared footer copyright bar ── */
.footer-copyright {
  border-top: 0.5px solid var(--border);
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
}
.footer-copyright a {
  color: var(--text-dim);
  transition: var(--transition);
}
.footer-copyright a:hover { color: var(--gold); }
.footer-copyright .sep { color: var(--border); }

/* Mini footer on booking/shop pages */
footer.mini-footer {
  border-top: 0.5px solid var(--border);
  padding: 1.5rem 0;
  margin-top: 2rem;
  text-align: center;
}
footer.mini-footer .footer-copyright {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}
