/* ===================================================
   PROFESSIONAL UI ADDITIONS
   Scroll Progress | Promo Ticker | Side Nav Dots
   Floating Action Buttons | Toast Notifications
=================================================== */

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--orange), var(--gold));
  background-size: 200% 100%;
  animation: shimmer-bar 2s linear infinite;
  z-index: 9999;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 10px rgba(212,175,55,0.7), 0 0 20px rgba(232,108,44,0.4);
  transition: width 0.05s linear;
}

@keyframes shimmer-bar {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===== PROMOTIONAL TICKER STRIP ===== */
.promo-ticker {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 34px;
  background: linear-gradient(90deg, var(--black), #1a1200, var(--black));
  border-bottom: 1px solid rgba(212,175,55,0.2);
  overflow: hidden;
  z-index: 1100;
  display: flex;
  align-items: center;
}

.promo-ticker.hidden { display: none; }

.ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: ticker-scroll 38s linear infinite;
  will-change: transform;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  color: var(--gold-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0 2.5rem;
  font-weight: 500;
}

.ticker-track span::after {
  content: '✦';
  margin-left: 2.5rem;
  color: var(--orange);
  font-size: 0.55rem;
}

.ticker-track span:last-child::after { content: ''; }

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Push everything down to account for ticker + scrolled navbar */
body { padding-top: 34px; }

.loader { top: 34px; }

.navbar { top: 34px; }

/* ===== SIDE NAVIGATION DOTS ===== */
.side-nav {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 800;
}

.side-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(212,175,55,0.3);
  border: 1px solid rgba(212,175,55,0.4);
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  cursor: pointer;
}

.side-dot::before {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10,8,4,0.9);
  border: 1px solid var(--glass-border);
  color: var(--gold);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(8px);
}

.side-dot:hover::before,
.side-dot.active::before {
  opacity: 1;
}

.side-dot.active {
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(212,175,55,0.7), 0 0 4px rgba(212,175,55,1);
}

.side-dot:hover {
  background: rgba(212,175,55,0.6);
  transform: scale(1.4);
}

@media (max-width: 1024px) { .side-nav { display: none; } }

/* ===== FLOATING ACTION BUTTONS (FAB) ===== */
.fab-group {
  position: fixed;
  left: 1.5rem;
  bottom: 2rem;
  display: flex;
  flex-direction: column-reverse;
  gap: 0.75rem;
  z-index: 600;
}

.fab {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 6px 25px rgba(0,0,0,0.4);
  overflow: visible;
}

.fab-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  box-shadow: 0 6px 25px rgba(37,211,102,0.4);
}

.fab-whatsapp:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 40px rgba(37,211,102,0.6);
  border-radius: 28px;
  width: auto;
  padding: 0 1.5rem 0 1rem;
  gap: 0.6rem;
}

.fab-call {
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: var(--black);
  box-shadow: 0 6px 25px rgba(212,175,55,0.4);
}

.fab-call:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 40px rgba(212,175,55,0.6);
  border-radius: 28px;
  width: auto;
  padding: 0 1.5rem 0 1rem;
  gap: 0.6rem;
}

.fab-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.35s ease;
}

.fab:hover .fab-label {
  max-width: 150px;
  opacity: 1;
}

/* Ripple ping on WhatsApp FAB */
.fab-whatsapp::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.5);
  animation: fab-ping 2s ease-out infinite;
}

@keyframes fab-ping {
  0%   { transform: scale(0.9); opacity: 0.6; }
  70%  { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}

@media (max-width: 480px) {
  .fab { width: 46px; height: 46px; font-size: 1.1rem; }
  .fab-group { left: 1rem; bottom: 1.5rem; }
}

/* ===== TOAST NOTIFICATION SYSTEM ===== */
.toast-container {
  position: fixed;
  top: 90px;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 9000;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.4rem;
  background: rgba(15,12,8,0.96);
  border: 1px solid var(--glass-border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 20px rgba(212,175,55,0.1);
  min-width: 280px;
  max-width: 340px;
  pointer-events: all;
  animation: toast-in 0.45s cubic-bezier(0.4,0,0.2,1) forwards;
}

.toast.removing {
  animation: toast-out 0.35s ease forwards;
}

.toast-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.toast-icon.gold { background: rgba(212,175,55,0.15); color: var(--gold); }
.toast-icon.green { background: rgba(37,211,102,0.15); color: #25D366; }
.toast-icon.orange { background: rgba(232,108,44,0.15); color: var(--orange); }

.toast-body { flex: 1; }
.toast-title { font-size: 0.82rem; font-weight: 700; color: var(--text); margin-bottom: 0.1rem; letter-spacing: 0.5px; }
.toast-msg   { font-size: 0.75rem; color: var(--text-muted); line-height: 1.4; }

.toast-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.8rem;
  padding: 0.2rem;
  transition: color 0.2s;
  pointer-events: all;
}
.toast-close:hover { color: var(--gold); }

@keyframes toast-in {
  from { opacity: 0; transform: translateX(40px) scale(0.95); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes toast-out {
  from { opacity: 1; transform: translateX(0); max-height: 80px; margin-bottom: 0; }
  to   { opacity: 0; transform: translateX(40px); max-height: 0; margin-bottom: -12px; }
}

/* ===== SHIMMER EFFECT ON MENU CARDS ===== */
.menu-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(212,175,55,0.06) 50%,
    transparent 100%
  );
  transform: skewX(-15deg);
  pointer-events: none;
  z-index: 1;
  transition: left 0s;
}

.menu-card:hover::before {
  left: 125%;
  transition: left 0.6s ease;
}

/* ===== ANIMATED GRADIENT BORDER on special section header ===== */
.specials .section-header::after {
  content: '';
  display: block;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--orange), var(--gold));
  background-size: 200% 100%;
  animation: shimmer-bar 2.5s linear infinite;
  margin: 1.25rem auto 0;
  border-radius: 2px;
}

/* ===== NAVBAR "OPEN NOW" LIVE BADGE ===== */
.nav-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.62rem;
  color: #22c55e;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  animation: pulse 2s ease infinite;
}

.nav-live-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  flex-shrink: 0;
}

/* ===== HERO SECTION — PROFESSIONAL POLISH ===== */
/* Cinematic letterbox bars */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--orange), var(--gold), transparent);
  z-index: 4;
  opacity: 0.4;
}
.hero::before { top: 0; }
.hero::after  { bottom: 0; }

/* ===== SECTION SEPARATOR GLOWS ===== */
.about,
.specials,
.reviews {
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(212,175,55,0.15), transparent) 1;
}

/* ===== COUNTER CARD HOVER GLOW ===== */
.stat-card:hover {
  box-shadow: 0 0 30px rgba(212,175,55,0.3), 0 10px 40px rgba(0,0,0,0.4);
}

/* ===== BUTTON RIPPLE EFFECT ===== */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, transparent 60%);
  transform: scale(0);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.btn:active::after {
  transform: scale(2);
  opacity: 1;
  transition: 0s;
}

/* ===== FOOTER GOLD GLOW LINE ===== */
.footer::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--orange), var(--gold), transparent);
  margin-bottom: 0;
  opacity: 0.4;
}

/* ===== RESPONSIVE TICKER ===== */
@media (max-width: 768px) {
  .promo-ticker { height: 28px; }
  .ticker-track span { font-size: 0.65rem; padding: 0 1.5rem; }
  body { padding-top: 28px; }
  .loader { top: 28px; }
  .navbar { top: 28px; }
  .toast-container { right: 1rem; top: 75px; }
  .toast { min-width: 240px; }
}
