/* ============================================================
   SPICE N ICE — Main Stylesheet
   Luxury Restaurant Theme | Dark + Gold + Firebrick
   ============================================================ */

:root {
  --primary: #B22222;
  --primary-dark: #7a1717;
  --secondary: #FFD700;
  --dark-bg: #0e0d0d;
  --dark-bg-2: #1a1616;
  --light-bg: #ffffff;
  --off-white: #faf7f2;
  --text-dark: #1c1c1c;
  --text-muted: #6b6b6b;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 215, 0, 0.18);
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow-soft: 0 10px 30px rgba(0,0,0,0.15);
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--light-bg);
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
  font-weight: 700;
}

a { text-decoration: none; }

.text-primary-custom { color: var(--primary) !important; }
.text-gold { color: var(--secondary) !important; }
.bg-dark-custom { background-color: var(--dark-bg) !important; }

.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: .5px;
  transition: all .35s ease;
  box-shadow: 0 8px 20px rgba(178,34,34,0.35);
}
.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(178,34,34,0.45);
  color: #fff;
}

.btn-gold-custom {
  background: linear-gradient(135deg, var(--secondary), #e6b800);
  color: var(--text-dark);
  border: none;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: .5px;
  transition: all .35s ease;
  box-shadow: 0 8px 20px rgba(255,215,0,0.3);
}
.btn-gold-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(255,215,0,0.4);
  color: var(--text-dark);
}

.btn-outline-custom {
  border: 2px solid var(--secondary);
  color: var(--secondary);
  background: transparent;
  padding: 10px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: all .3s ease;
}
.btn-outline-custom:hover {
  background: var(--secondary);
  color: var(--text-dark);
}

.section-padding { padding: 90px 0; }
@media (max-width: 768px) { .section-padding { padding: 55px 0; } }

.section-tag {
  display: inline-block;
  color: var(--primary);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
  position: relative;
  padding-left: 34px;
}
.section-tag::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 24px; height: 2px;
  background: var(--secondary);
}

.section-title { font-size: 2.6rem; margin-bottom: 1rem; color: var(--text-dark); }
.section-title span { color: var(--primary); }
@media (max-width: 768px) { .section-title { font-size: 1.9rem; } }

/* ---------------- NAVBAR ---------------- */
.navbar-custom {
  background: rgba(14, 13, 13, 0.92);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  transition: all .35s ease;
  border-bottom: 1px solid rgba(255,215,0,0.15);
}
.navbar-custom.scrolled { padding: 8px 0; background: rgba(10,9,9,0.98); }
.navbar-brand-custom { font-family: var(--font-heading); font-size: 1.7rem; color: #fff !important; font-weight: 700; }
.navbar-brand-custom span { color: var(--secondary); }
.navbar-custom .nav-link {
  color: #eaeaea !important;
  font-weight: 500;
  margin: 0 10px;
  position: relative;
  padding: 8px 0 !important;
}
.navbar-custom .nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--secondary);
  transition: width .3s ease;
}
.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after { width: 100%; }
.navbar-custom .nav-link.active { color: var(--secondary) !important; }
.navbar-toggler { border: none; color: #fff; }

/* ---------------- HERO ---------------- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(rgba(10,9,9,.72), rgba(10,9,9,.82)), url('../images/hero-bg.jpg') center/cover no-repeat;
  color: #fff;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(178,34,34,0.25), transparent 60%);
}
.hero-content { position: relative; z-index: 2; }
.hero-tag {
  color: var(--secondary);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 14px;
}
.hero-title {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.15;
  margin: 18px 0;
}
.hero-title span { color: var(--secondary); }
@media (max-width: 768px) { .hero-title { font-size: 2.4rem; } }
.hero-subtitle { font-size: 1.15rem; color: #ddd; max-width: 560px; margin-bottom: 2rem; }

/* ---------------- GLASS CARD ---------------- */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  transition: all .35s ease;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(178,34,34,0.08);
  transition: all .4s ease;
  height: 100%;
}
.feature-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(178,34,34,0.18); }
.feature-icon {
  width: 78px; height: 78px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--secondary);
  font-size: 2rem;
}

/* ---------------- ABOUT ---------------- */
.about-image-wrap { position: relative; }
.about-image-wrap img { border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.about-badge {
  position: absolute;
  bottom: -25px; right: -25px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: var(--radius-md);
  padding: 22px 26px;
  text-align: center;
  box-shadow: 0 15px 30px rgba(178,34,34,.35);
}
.about-badge h3 { color: var(--secondary); margin: 0; font-size: 2rem; }
.about-badge small { display:block; letter-spacing: 1px; }

/* ---------------- GALLERY (masonry) ---------------- */
.gallery-masonry {
  columns: 4 220px;
  column-gap: 16px;
}
@media (max-width: 768px) { .gallery-masonry { columns: 2 160px; } }
.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}
.gallery-item img { width: 100%; display: block; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(178,34,34,.85), transparent 60%);
  display: flex; align-items: flex-end;
  opacity: 0; transition: opacity .3s ease;
  padding: 14px;
  color: #fff; font-weight: 600;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ---------------- MENU CARDS ---------------- */
.menu-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all .35s ease;
  height: 100%;
  border: 1px solid rgba(0,0,0,0.05);
}
.menu-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,.15); }
.menu-card-img { height: 220px; overflow: hidden; position: relative; }
.menu-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.menu-card:hover .menu-card-img img { transform: scale(1.1); }
.menu-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--secondary); color: var(--text-dark);
  font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: .5px;
}
.veg-dot { width: 14px; height: 14px; border: 2px solid #2e7d32; padding: 2px; display: inline-block; border-radius: 3px; }
.veg-dot::after { content: ''; display:block; width:100%; height:100%; background:#2e7d32; border-radius:50%; }
.nonveg-dot { border-color: #b71c1c; }
.nonveg-dot::after { background:#b71c1c; }
.menu-card-body { padding: 20px; }
.menu-card-price { color: var(--primary); font-weight: 700; font-size: 1.2rem; font-family: var(--font-heading); }
.menu-card-desc { color: var(--text-muted); font-size: .92rem; min-height: 42px; }

/* ---------------- TESTIMONIALS ---------------- */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-soft);
  position: relative;
  height: 100%;
}
.testimonial-card .quote-icon { color: var(--secondary); font-size: 2.2rem; opacity: .5; }
.testimonial-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--secondary); }
.testimonial-rating i { color: var(--secondary); font-size: .9rem; }

/* ---------------- DARK SECTIONS ---------------- */
.dark-section {
  background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-bg-2) 100%);
  color: #fff;
  position: relative;
}
.dark-section .section-title { color: #fff; }
.dark-section .section-tag { color: var(--secondary); }

/* ---------------- WHY CHOOSE US ---------------- */
.why-item { display: flex; gap: 18px; margin-bottom: 26px; }
.why-icon {
  min-width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,215,0,0.12);
  border: 1px solid rgba(255,215,0,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary); font-size: 1.3rem;
}

/* ---------------- CONTACT ---------------- */
.contact-info-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  height: 100%;
  text-align: center;
  transition: all .3s ease;
}
.contact-info-card:hover { transform: translateY(-6px); }
.contact-icon-circle {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--secondary);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 1.5rem;
}
.form-control-custom {
  border: 1px solid #ddd; border-radius: 12px; padding: 12px 16px;
}
.form-control-custom:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(178,34,34,0.15);
}
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; box-shadow: 0 10px 25px rgba(0,0,0,.3);
  animation: pulse-wa 2.2s infinite;
}
@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------------- FOOTER ---------------- */
.footer-custom { background: var(--dark-bg); color: #ccc; padding-top: 70px; }
.footer-custom h5 { color: var(--secondary); margin-bottom: 22px; font-family: var(--font-heading); }
.footer-custom a { color: #ccc; transition: color .25s ease; }
.footer-custom a:hover { color: var(--secondary); }
.footer-links li { margin-bottom: 10px; }
.social-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: inline-flex; align-items: center; justify-content: center;
  margin-right: 8px; color: #fff !important;
  transition: all .3s ease;
}
.social-icon:hover { background: var(--primary); transform: translateY(-4px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 40px; padding: 20px 0; text-align: center; font-size: .9rem; }

/* ---------------- PAGE HERO (inner pages) ---------------- */
.page-hero {
  padding: 160px 0 90px;
  background: linear-gradient(rgba(10,9,9,.78), rgba(10,9,9,.85)), url('../images/page-hero-bg.jpg') center/cover no-repeat;
  color: #fff; text-align: center; position: relative;
}
.page-hero h1 { font-size: 3rem; }
.breadcrumb-custom a { color: var(--secondary); }
.breadcrumb-custom span { color: #ccc; }

/* ---------------- MENU FILTER ---------------- */
.filter-btn {
  border: 1px solid var(--primary);
  color: var(--primary);
  background: transparent;
  padding: 8px 22px;
  border-radius: 50px;
  margin: 4px;
  font-weight: 600;
  transition: all .3s ease;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--primary);
  color: #fff;
}
.search-box-custom {
  border-radius: 50px;
  border: 1px solid #ddd;
  padding: 12px 22px;
}

/* ---------------- BANQUET ---------------- */
.banquet-feature-pill {
  background: #fff;
  border-radius: 50px;
  padding: 10px 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-soft);
  margin: 6px;
  font-weight: 500;
}
.banquet-feature-pill i { color: var(--primary); }
.banquet-stat {
  text-align: center;
  padding: 30px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.banquet-stat h2 { color: var(--primary); font-size: 2.6rem; margin: 0; }

/* ---------------- AWARDS ---------------- */
.award-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all .35s ease;
}
.award-card:hover { transform: translateY(-8px); }
.award-year-badge {
  position: absolute; top: 14px; right: 14px;
  background: var(--primary); color: #fff;
  padding: 6px 16px; border-radius: 20px; font-weight: 700; font-size: .85rem;
}

/* ---------------- MISC ---------------- */
.divider-gold { width: 80px; height: 3px; background: var(--secondary); margin: 18px auto; border-radius: 2px; }
.back-to-top {
  position: fixed; bottom: 24px; left: 24px; z-index: 999;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all .3s ease;
  box-shadow: var(--shadow-soft);
}
.back-to-top.show { opacity: 1; visibility: visible; }

.swiper-pagination-bullet-active { background: var(--secondary) !important; }
.swiper-button-next, .swiper-button-prev { color: var(--secondary) !important; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-state i { font-size: 3rem; color: var(--secondary); margin-bottom: 14px; display: block; }

::selection { background: var(--primary); color: #fff; }

.preloader {
  position: fixed; inset: 0; background: var(--dark-bg);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; transition: opacity .5s ease, visibility .5s ease;
}
.preloader.hide { opacity: 0; visibility: hidden; }
.preloader .spinner {
  width: 56px; height: 56px; border-radius: 50%;
  border: 4px solid rgba(255,215,0,0.2);
  border-top-color: var(--secondary);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   NOTICE / ANNOUNCEMENT BAR
   ============================================================ */
.notice-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 40px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  color: #fff;
  z-index: 1060;
  display: flex;
  align-items: center;
  overflow: hidden;
  font-size: .88rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,215,0,0.4);
}
.notice-bar-track {
  display: flex;
  white-space: nowrap;
  animation: notice-scroll 22s linear infinite;
  padding-left: 100%;
}
.notice-bar:hover .notice-bar-track { animation-play-state: paused; }
.notice-bar-item { padding: 0 40px; display: inline-block; }
.notice-bar-item a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.notice-bar-close {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.2); border: none; color: #fff;
  width: 26px; height: 26px; border-radius: 50%; font-size: 1.1rem; line-height: 1;
  cursor: pointer; flex-shrink: 0; z-index: 2;
}
@keyframes notice-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 576px) {
  .notice-bar { height: 34px; font-size: .78rem; }
  .notice-bar-item { padding: 0 24px; }
}

/* Reserve space below the fixed notice bar so it never overlaps the navbar/hero */
.navbar-custom.has-notice { top: 40px; }
body.has-notice .hero-section { padding-top: 40px; }
body.has-notice .page-hero { padding-top: 200px; }
@media (max-width: 576px) {
  .navbar-custom.has-notice { top: 34px; }
  body.has-notice .hero-section { padding-top: 34px; }
  body.has-notice .page-hero { padding-top: 190px; }
}

/* ============================================================
   ORDER NOW — 3rd Party Redirect Confirmation Modal
   ============================================================ */
#orderRedirectModal .modal-content {
  border-radius: var(--radius-lg);
  border: none;
}
#orderRedirectModal .order-modal-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,215,0,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary); font-size: 1.8rem;
  margin: 0 auto 16px;
}

/* ============================================================
   PWA INSTALL BANNER
   ============================================================ */
.pwa-install-banner {
  position: fixed;
  bottom: -140px;
  left: 16px; right: 16px;
  max-width: 420px;
  margin: 0 auto;
  background: var(--dark-bg-2);
  color: #fff;
  border: 1px solid rgba(255,215,0,0.25);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  z-index: 1055;
  transition: bottom .5s ease;
}
.pwa-install-banner.show { bottom: 24px; }
.pwa-install-banner .pwa-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary); font-size: 1.4rem; flex-shrink: 0;
}
.pwa-install-banner .pwa-text { flex: 1; }
.pwa-install-banner .pwa-text strong { display: block; font-size: .95rem; }
.pwa-install-banner .pwa-text small { color: #bbb; font-size: .78rem; }
.pwa-install-banner .pwa-actions { display: flex; flex-direction: column; gap: 6px; }
.pwa-install-banner .btn-pwa-close {
  position: absolute; top: -10px; right: -10px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--primary); color: #fff; border: none;
  font-size: 1rem; cursor: pointer;
}
@media (max-width: 576px) {
  .pwa-install-banner { left: 10px; right: 10px; padding: 14px; bottom: -160px; }
  .pwa-install-banner.show { bottom: 14px; }
  .pwa-install-banner .pwa-text strong { font-size: .85rem; }
  .pwa-install-banner .pwa-text small { font-size: .72rem; }
}

/* ============================================================
   STRONGER MOBILE RESPONSIVENESS (phones)
   ============================================================ */
@media (max-width: 576px) {
  .hero-title { font-size: 1.9rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-tag { font-size: 12px; letter-spacing: 2px; }
  .section-title { font-size: 1.6rem; }
  .section-padding { padding: 44px 0; }
  .page-hero { padding: 150px 0 60px; }
  .page-hero h1 { font-size: 2rem; }

  .gallery-masonry { columns: 1 !important; column-gap: 0; }
  .gallery-item { margin-bottom: 12px; }

  .feature-card, .testimonial-card, .contact-info-card, .admin-card { padding: 22px 18px; }

  .btn-primary-custom, .btn-gold-custom, .btn-outline-custom { padding: 10px 22px; font-size: .92rem; }

  .about-badge { right: 0; bottom: -18px; padding: 14px 18px; }
  .about-badge h3 { font-size: 1.5rem; }

  .banquet-feature-pill { font-size: .82rem; padding: 8px 16px; }
  .banquet-stat h2 { font-size: 2rem; }

  .whatsapp-float { width: 50px; height: 50px; font-size: 1.4rem; bottom: 16px; right: 16px; }
  .back-to-top { width: 40px; height: 40px; bottom: 16px; left: 16px; }

  /* Prevent the WhatsApp float button colliding with the PWA install banner on small screens */
  .pwa-install-banner.show ~ .whatsapp-float { bottom: 100px; }

  .navbar-brand-custom { font-size: 1.35rem; }
  .filter-btn { padding: 6px 16px; font-size: .85rem; }
  .search-box-custom { padding: 10px 16px; }

  .footer-custom { padding-top: 44px; }
  .footer-custom .col-lg-3 iframe { height: 130px; }

  .menu-card-img { height: 180px; }
}

@media (max-width: 400px) {
  .hero-title { font-size: 1.65rem; }
  .section-title { font-size: 1.4rem; }
}

/* Avoid horizontal scroll on small phones from wide fixed-width children */
html, body { max-width: 100%; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
