@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;700&display=swap');

:root {
  --bg: #0f0f0f;
  --gold: #d4af37;
  --white: #ffffff;
  --gray: #888888;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Vazirmatn', sans-serif;
  background: var(--bg);
  color: var(--white);
  padding-bottom: 88px;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0 0 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(15, 15, 15, 0.92);
  backdrop-filter: blur(8px);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.brand { display: flex; gap: 8px; align-items: center; color: var(--gold); font-weight: 700; }
.quick-call {
  background: rgba(212, 175, 55, 0.14);
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
}

.hero {
  min-height: 72vh;
  background: url('https://images.unsplash.com/photo-1447933601403-0c6688de566e?q=80&w=1400&auto=format&fit=crop') center/cover;
  position: relative;
}

.hero-overlay {
  min-height: 72vh;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(15, 15, 15, 0.88));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.hero-logo {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.5);
  display: grid;
  place-items: center;
  color: var(--gold);
  margin-bottom: 12px;
  animation: floatY 3s ease-in-out infinite;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero h1 { color: var(--gold); font-size: clamp(34px, 9vw, 58px); }
.hero p { max-width: 540px; color: #ececec; }

.section { padding: 20px 16px; }
.section h2 { color: var(--gold); font-size: 22px; margin-bottom: 14px; }

.btn {
  background: var(--gold);
  color: #161616;
  border: none;
  border-radius: 12px;
  padding: 11px 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn:hover { transform: translateY(-2px) scale(1.01); box-shadow: var(--shadow); }
.btn:active { transform: scale(0.98); }
.btn-outline { background: transparent; color: var(--gold); border: 1px solid rgba(212, 175, 55, 0.5); }
.btn-small { padding: 7px 12px; font-size: 13px; }

.hero-actions, .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

.horizontal-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 1fr);
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}

.item-card {
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius);
  background: #161616;
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: fadeUp 0.5s ease both;
}

.item-card img { width: 100%; height: 150px; object-fit: cover; display: block; }
.item-content { padding: 12px; }
.item-content h3 { color: var(--gold); font-size: 18px; }
.price { font-weight: 700; margin-top: 8px; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.categories { display: flex; gap: 8px; flex-wrap: wrap; }
.categories a {
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold);
  border-radius: 999px;
  padding: 8px 14px;
}

.promo { background: #161616; border-radius: var(--radius); margin: 0 16px; }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.form-wrap { max-width: 600px; margin: 0 auto; }
.form { display: grid; gap: 12px; background: #161616; padding: 14px; border-radius: var(--radius); }
.form label { display: grid; gap: 8px; font-size: 14px; color: #ddd; }
input, select, textarea {
  background: #101010;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 10px;
  color: var(--white);
  padding: 10px;
  width: 100%;
}

.birth-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

.cart-list, .order-history, .memory-list { display: grid; gap: 10px; }
.cart-item, .history-item, .memory-item, .testimonial, .panel {
  background: #171717;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: var(--radius);
  padding: 12px;
}

.qty-controls { display: flex; gap: 8px; align-items: center; }
.total-row { margin: 12px 0; color: var(--gold); font-size: 18px; }

table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: var(--radius); }
th, td { padding: 10px; border-bottom: 1px solid rgba(212, 175, 55, 0.15); text-align: right; }
thead { background: #1e1b10; color: var(--gold); }

.invoice .highlight, .highlight {
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: var(--gold);
  border-radius: 12px;
  padding: 10px;
  display: inline-block;
  margin-bottom: 14px;
}

.meta-grid { display: grid; gap: 8px; margin-bottom: 12px; }
.slider-controls { display: flex; gap: 8px; margin-bottom: 10px; }
.testimonial-track { display: grid; gap: 10px; }

.bottom-nav {
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  background: #111;
  border-top: 1px solid rgba(212, 175, 55, 0.22);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  z-index: 25;
}

.bottom-nav a {
  color: #d6d6d6;
  padding: 9px 4px 11px;
  display: grid;
  justify-items: center;
  gap: 2px;
  font-size: 13px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.bottom-nav a.active { color: var(--gold); }
.bottom-nav a:hover { transform: translateY(-2px); }

.site-footer {
  text-align: center;
  color: var(--gray);
  padding: 16px;
  border-top: 1px solid rgba(212, 175, 55, 0.18);
}

.map-wrap iframe { width: 100%; min-height: 270px; border: 0; border-radius: var(--radius); }
.text-link { color: var(--gold); }
.requirements-list { display: grid; gap: 8px; color: #e8e8e8; padding-right: 18px; }

.ripple {
  position: absolute;
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

@keyframes ripple { to { transform: scale(18); opacity: 0; } }

@media (min-width: 760px) {
  .section { padding: 26px min(5vw, 48px); }
  .hero-overlay { align-items: flex-start; text-align: right; }
  .bottom-nav { max-width: 720px; margin: 0 auto; border-radius: 16px 16px 0 0; }
}