/* ==========================================================================
   MASSTANA RESTAURANT - Master Stylesheet
   Theme: Obsidian Black, Royal Gold & Warm Flame Orange
   Pure CSS3 (No Frameworks)
   ========================================================================== */

:root {
  --bg-primary: #09090b;
  --bg-secondary: #111115;
  --bg-card: #16161c;
  --bg-card-hover: #1d1d25;
  --bg-glass: rgba(12, 12, 16, 0.86);

  --gold: #d4af37;
  --gold-light: #f3d06b;
  --gold-dark: #a6821c;
  --orange: #f97316;
  --orange-glow: #fb923c;
  --ember: #ea580c;

  --text-primary: #faf7f2;
  --text-secondary: #c7c1b8;
  --text-muted: #8e887f;

  --border-subtle: rgba(212, 175, 55, 0.16);
  --border-strong: rgba(212, 175, 55, 0.42);

  --shadow-sm: 0 6px 20px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 14px 36px rgba(0, 0, 0, 0.52);
  --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.18);
  --shadow-orange: 0 10px 28px rgba(249, 115, 22, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --font-display: "Cinzel", "Playfair Display", Georgia, serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --transition-fast: 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-smooth: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  --container-max: 1240px;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold-dark), var(--orange));
  border-radius: var(--radius-pill);
}

/* Container & Layout Helpers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 22px;
}

.section {
  padding: 88px 0;
  position: relative;
}

.section-dark {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange-glow);
  margin-bottom: 12px;
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.section-eyebrow::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.8vw, 2.95rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.section-title .gold-text {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--orange-glow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.02rem;
}

/* ==========================================================================
   Page Loading Animation
   ========================================================================== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(circle at center, #18140e 0%, #070709 75%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-emblem {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.22);
  border-top-color: var(--gold-light);
  border-right-color: var(--orange);
  animation: spinLoader 1s linear infinite;
  display: grid;
  place-items: center;
  position: relative;
}

.loader-emblem::after {
  content: "M";
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--gold-light);
  animation: pulseLogo 1.4s ease-in-out infinite;
}

.loader-brand {
  font-family: var(--font-display);
  letter-spacing: 0.28em;
  font-size: 0.95rem;
  color: var(--gold);
  text-transform: uppercase;
}

@keyframes spinLoader {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulseLogo {
  0%,
  100% {
    opacity: 0.65;
    transform: scale(0.95);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

/* ==========================================================================
   Navigation Bar & Top Announcement
   ========================================================================== */
.top-bar {
  background: linear-gradient(90deg, #120f0a, #1d1409, #120f0a);
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 0;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-highlight {
  color: var(--gold-light);
  font-weight: 600;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow var(--transition-fast), background var(--transition-fast);
}

.navbar.scrolled {
  background: rgba(9, 9, 11, 0.96);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-crest {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: #09090b;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-light);
}

.brand-tagline {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-link {
  padding: 8px 11px;
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  position: relative;
  transition: color var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--orange));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-light);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cart-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: var(--radius-pill);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-strong);
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.86rem;
  transition: all var(--transition-fast);
}

.cart-trigger:hover {
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #09090b;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.cart-badge {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--radius-pill);
  background: var(--orange);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--gold-light);
  font-size: 1.35rem;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Buttons (with Stylish Shimmer & Ripple Feel)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 65%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-22deg);
  transition: left 0.65s ease;
}

.btn:hover::before {
  left: 140%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 48%, var(--orange) 100%);
  color: #09090b;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(249, 115, 22, 0.34);
}

.btn-outline {
  border: 1px solid var(--border-strong);
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.06);
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.16);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.42);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.84rem;
}

/* ==========================================================================
   Hero & Subpage Banners
   ========================================================================== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 90px 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  animation: heroSlowZoom 18s ease-in-out infinite alternate;
}

@keyframes heroSlowZoom {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.13);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(9, 9, 11, 0.94) 0%,
    rgba(9, 9, 11, 0.82) 52%,
    rgba(16, 12, 8, 0.56) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: rgba(249, 115, 22, 0.14);
  border: 1px solid rgba(249, 115, 22, 0.45);
  color: var(--orange-glow);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.4vw, 4.35rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 20px;
}

.hero-title span {
  display: block;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--orange-glow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  font-size: 1.12rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 18px;
  max-width: 540px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--gold-light);
}

.hero-stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Subpage Hero Banner */
.page-banner {
  position: relative;
  padding: 94px 0 74px;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
  background: radial-gradient(circle at top, rgba(212, 175, 55, 0.14), rgba(9, 9, 11, 0.96) 65%);
}

.page-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.22;
}

.page-banner-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--gold-light);
}

/* ==========================================================================
   Food Cards (Image Zoom, Hover Elevation & Button Animation)
   ========================================================================== */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
}

.food-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), border-color var(--transition-fast), box-shadow var(--transition-smooth);
  position: relative;
}

.food-card:hover {
  transform: translateY(-9px);
  border-color: var(--border-strong);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.65), 0 0 24px rgba(212, 175, 55, 0.12);
}

.food-card-media {
  position: relative;
  height: 215px;
  overflow: hidden;
  background: #0f0f13;
}

.food-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}

.food-card:hover .food-card-img {
  transform: scale(1.12);
  filter: brightness(1.06);
}

.food-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(9, 9, 11, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.food-card-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--orange), var(--ember));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}

.food-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.food-card-title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.food-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  flex: 1;
}

.food-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.food-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-light);
}

.food-price small {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

.btn-add-cart {
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #09090b;
  font-size: 0.83rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-add-cart:hover {
  transform: scale(1.06);
  box-shadow: var(--shadow-orange);
}

.btn-add-cart:active {
  transform: scale(0.96);
}

.btn-add-cart.added {
  background: linear-gradient(135deg, #22c55e, #15803d);
  color: #ffffff;
}

/* ==========================================================================
   Menu Filter Bar & Search
   ========================================================================== */
.menu-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 42px;
}

.menu-search-wrap {
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
  position: relative;
}

.menu-search-input {
  width: 100%;
  padding: 14px 20px 14px 46px;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.menu-search-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.12);
}

.menu-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 1rem;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.filter-btn {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #09090b;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* ==========================================================================
   Cards, Features, Deals & Info Grids
   ========================================================================== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.premium-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: transform var(--transition-smooth), border-color var(--transition-fast), box-shadow var(--transition-smooth);
}

.premium-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.16), rgba(249, 115, 22, 0.18));
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: var(--gold-light);
  margin-bottom: 18px;
}

.category-showcase-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 230px;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: flex-end;
  padding: 22px;
}

.category-showcase-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.category-showcase-card:hover img {
  transform: scale(1.1);
}

.category-showcase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 9, 11, 0.12) 0%, rgba(9, 9, 11, 0.92) 92%);
}

.category-showcase-info {
  position: relative;
  z-index: 2;
}

.category-showcase-info h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.category-showcase-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   About Split Section & Owner Spotlight
   ========================================================================== */
.split-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}

.image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
}

.image-frame img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  transition: transform 0.65s ease;
}

.image-frame:hover img {
  transform: scale(1.05);
}

.owner-badge-card {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  background: rgba(9, 9, 11, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   Gallery & Lightbox
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 250px;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.12);
}

.gallery-caption {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(9, 9, 11, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(5, 5, 7, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 900px;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.lightbox-content img {
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
}

.lightbox-caption {
  padding: 16px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(9, 9, 11, 0.85);
  border: 1px solid var(--border-strong);
  color: var(--gold-light);
  font-size: 1.3rem;
}

/* ==========================================================================
   Order Page & Shopping Cart Drawer
   ========================================================================== */
.order-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 32px;
  align-items: start;
}

.cart-panel,
.checkout-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}

.cart-item-row {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-item-row img {
  width: 70px;
  height: 62px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 4px 8px;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.14);
  color: var(--gold-light);
  font-weight: 700;
  display: grid;
  place-items: center;
  transition: background var(--transition-fast);
}

.qty-btn:hover {
  background: var(--orange);
  color: #fff;
}

.remove-item-btn {
  color: #f87171;
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 6px;
  display: inline-block;
}

.remove-item-btn:hover {
  text-decoration: underline;
}

.bill-summary {
  border-top: 1px dashed var(--border-strong);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bill-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.bill-row.total {
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
  margin-top: 4px;
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--gold-light);
}

/* Forms */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 7px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.14);
}

textarea.form-control {
  min-height: 105px;
  resize: vertical;
}

.demo-notice {
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.35);
  border-radius: var(--radius-sm);
  padding: 12px 15px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

/* Slide-Out Mini Cart Drawer */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: rgba(0, 0, 0, 0.68);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cart-drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -430px;
  width: 100%;
  max-width: 410px;
  height: 100vh;
  z-index: 1600;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  transition: right 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -14px 0 40px rgba(0, 0, 0, 0.75);
}

.cart-drawer.open {
  right: 0;
}

.cart-drawer-header {
  padding: 20px 22px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-drawer-body {
  padding: 18px 22px;
  flex: 1;
  overflow-y: auto;
}

.cart-drawer-footer {
  padding: 18px 22px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-primary);
}

/* ==========================================================================
   Reviews, FAQ Accordion & Map Placeholder
   ========================================================================== */
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stars {
  color: var(--gold-light);
  letter-spacing: 3px;
  font-size: 1rem;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.reviewer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #09090b;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-strong);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--text-primary);
}

.faq-icon {
  color: var(--gold-light);
  font-size: 1.35rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--orange-glow);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease, padding 0.38s ease;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  max-height: 320px;
  padding: 0 24px 20px;
}

.map-placeholder {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(circle at 50% 45%, rgba(249, 115, 22, 0.22), transparent 55%),
    linear-gradient(135deg, #131319 0%, #1c1812 100%);
  min-height: 330px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.map-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.07) 1px, transparent 1px);
  background-size: 38px 38px;
}

.map-pin-pulse {
  position: relative;
  z-index: 2;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #09090b;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  margin-bottom: 16px;
  box-shadow: 0 0 0 12px rgba(249, 115, 22, 0.16);
}

/* ==========================================================================
   Toast Notification & Scroll Reveal Animations
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: rgba(16, 16, 22, 0.96);
  border: 1px solid var(--gold);
  border-left: 4px solid var(--orange);
  color: var(--text-primary);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  font-size: 0.9rem;
  font-weight: 500;
  animation: toastSlideIn 0.35s ease forwards;
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #060608;
  border-top: 1px solid var(--border-subtle);
  padding: 68px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 34px;
  margin-bottom: 46px;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--orange-glow);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ==========================================================================
   Responsive Breakpoints (Desktop, Tablet, Mobile)
   ========================================================================== */
@media (max-width: 1120px) {
  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: rgba(11, 11, 15, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 18px 24px 26px;
    border-bottom: 1px solid var(--border-strong);
    transform: translateY(-130%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
    z-index: 890;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .split-layout,
  .order-layout,
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 76vh;
    padding: 72px 0;
  }
}

@media (max-width: 580px) {
  .section {
    padding: 64px 0;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cart-item-row {
    grid-template-columns: 58px 1fr;
  }

  .top-bar-inner {
    justify-content: center;
    text-align: center;
  }
}

/* Masstana brand emblem enhancement */
.brand-emblem {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 8px rgba(235, 174, 35, .22));
}
@media (max-width: 600px) {
  .brand-emblem { width: 48px; height: 48px; }
}

.brand-emblem {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

/* Owner profile in the footer (photo slot will be replaced when owner image is supplied) */
.owner-profile {
  display: flex; align-items: center; gap: 13px; margin-top: 18px;
  padding: 12px; max-width: 290px; border: 1px solid var(--border-strong);
  border-radius: var(--radius-md); background: linear-gradient(135deg, rgba(212,175,55,.10), rgba(249,115,22,.05));
}
.owner-avatar {
  width: 58px; height: 58px; flex: 0 0 58px; display: grid; place-items: center;
  border-radius: 50%; border: 2px solid var(--gold); color: #09090b;
  background: linear-gradient(135deg, var(--gold-light), var(--orange));
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 800;
  box-shadow: var(--shadow-gold);
}
.owner-name { display: block; color: var(--gold-light); font-size: .98rem; }
.owner-role { display: block; color: var(--text-secondary); font-size: .76rem; line-height: 1.4; }
.footer a[href^="tel:"] { color: var(--gold-light); }
.footer a[href^="tel:"]:hover { color: var(--orange-glow); }


/* Owner profile photo */
.owner-avatar.owner-photo {
  display: block;
  object-fit: cover;
  object-position: center 35%;
  padding: 0;
  overflow: hidden;
  background: #111;
}
