/* ============================================================
   Restaurant Website - Main Stylesheet
   Beautiful, Modern & Responsive Design
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&family=Dancing+Script:wght@600;700&display=swap');

/* ============================================================
   CSS Variables (overridden by PHP theme)
   ============================================================ */
:root {
  --color-primary: #7C3AED;
  --color-secondary: #A78BFA;
  --color-accent: #F59E0B;
  --color-dark: #1E1B4B;
  --color-primary-rgb: 124, 58, 237;
  --color-accent-rgb: 245, 158, 11;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-script: 'Dancing Script', cursive;
  --font-body: 'Inter', -apple-system, sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.18);
  --shadow-xl: 0 30px 80px rgba(0,0,0,0.25);
  --shadow-color: 0 8px 24px rgba(var(--color-primary-rgb), 0.25);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-blur: blur(20px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: #1a1a2e;
  background: #FAFAFA;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

.script-text {
  font-family: var(--font-script);
  color: var(--color-accent);
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   Navigation
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(var(--color-dark), 0.95);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  height: 45px;
  width: auto;
  border-radius: var(--radius-sm);
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  line-height: 1;
}

.nav-logo-sub {
  font-family: var(--font-script);
  font-size: 0.8rem;
  color: var(--color-accent);
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--color-accent); }

.nav-cart-btn {
  background: var(--color-accent);
  color: white !important;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 600 !important;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(var(--color-accent-rgb), 0.4);
  transition: var(--transition) !important;
}

.nav-cart-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--color-accent-rgb), 0.5);
  color: white !important;
}

.nav-cart-btn::after { display: none !important; }

.cart-count {
  background: var(--color-primary);
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-dark) 0%, #0f0f23 50%, #1a0a35 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.6) 0%, rgba(0,0,0,0.8) 100%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-particles::before,
.hero-particles::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--color-accent-rgb), 0.15), transparent);
  animation: pulse-glow 4s ease-in-out infinite;
}

.hero-particles::before {
  width: 500px;
  height: 500px;
  top: -100px;
  right: -100px;
}

.hero-particles::after {
  width: 300px;
  height: 300px;
  bottom: -50px;
  left: -50px;
  animation-delay: 2s;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  padding: 120px 2rem 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--color-accent);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.hero-badge span { animation: twinkle 2s ease-in-out infinite; }

@keyframes twinkle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: white;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.hero-script {
  font-family: var(--font-script);
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--color-accent);
  display: block;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
  box-shadow: 0 4px 20px rgba(var(--color-primary-rgb), 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(var(--color-primary-rgb), 0.6);
}

.btn-accent {
  background: linear-gradient(135deg, var(--color-accent), #f59e0b);
  color: white;
  box-shadow: 0 4px 20px rgba(var(--color-accent-rgb), 0.4);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(var(--color-accent-rgb), 0.6);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  transform: translateY(-2px);
}

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

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.btn-google {
  background: white;
  color: #333;
  box-shadow: var(--shadow-md);
  border: 1px solid #eee;
}

.btn-google:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.1rem;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* ============================================================
   Section Styles
   ============================================================ */
section {
  padding: 80px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-label {
  font-family: var(--font-script);
  font-size: 1.4rem;
  color: var(--color-accent);
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #1a1a2e;
  margin-bottom: 1rem;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: 2px;
  margin: 0 auto 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   Featured / Menu Cards
   ============================================================ */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.menu-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  group: true;
}

.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.menu-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #f0e6ff, #e6f0ff);
}

.menu-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.menu-card:hover .menu-card-image img {
  transform: scale(1.08);
}

.menu-card-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.1), rgba(var(--color-accent-rgb), 0.1));
}

.menu-card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.badge-featured {
  background: var(--color-accent);
  color: white;
}

.badge-spicy {
  background: #EF4444;
  color: white;
}

.badge-veg {
  background: #22C55E;
  color: white;
}

.badge-unavailable {
  background: #94A3B8;
  color: white;
}

.menu-card-add {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  border: none;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(var(--color-primary-rgb), 0.4);
  opacity: 0;
  transform: scale(0.8);
}

.menu-card:hover .menu-card-add {
  opacity: 1;
  transform: scale(1);
}

.menu-card-add:hover {
  background: var(--color-accent);
  transform: scale(1.1) !important;
}

.menu-card-body {
  padding: 1.25rem;
}

.menu-card-category {
  font-size: 0.75rem;
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.menu-card-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.menu-card-desc {
  font-size: 0.85rem;
  color: #888;
  line-height: 1.5;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.menu-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-card-price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
}

.menu-card-add-btn {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}

.menu-card-add-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(var(--color-primary-rgb), 0.4);
}

.menu-card-add-btn:disabled {
  background: #94A3B8;
  cursor: not-allowed;
  transform: none;
}

/* ============================================================
   Category Filter Tabs
   ============================================================ */
.category-tabs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}

.category-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(var(--color-primary-rgb), 0.2);
  background: white;
  color: #555;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}

.category-tab:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), 0.05);
}

.category-tab.active {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 15px rgba(var(--color-primary-rgb), 0.3);
}

/* ============================================================
   Menu Full Page
   ============================================================ */
.menu-section {
  background: #F8F9FF;
  min-height: 100vh;
  padding-top: 100px;
}

.menu-category-section {
  margin-bottom: 4rem;
}

.menu-category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(var(--color-primary-rgb), 0.1);
}

.menu-category-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 15px rgba(var(--color-primary-rgb), 0.3);
}

.menu-category-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: #1a1a2e;
}

.menu-category-desc {
  font-size: 0.9rem;
  color: #888;
}

/* ============================================================
   Cart Sidebar
   ============================================================ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

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

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  height: 100vh;
  background: white;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 60px rgba(0,0,0,0.2);
}

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

.cart-header {
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
}

.cart-close {
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.cart-close:hover { background: rgba(255,255,255,0.3); }

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: #F8F9FF;
  margin-bottom: 0.75rem;
  transition: var(--transition);
  animation: slideIn 0.3s ease;
}

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

.cart-item-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #1a1a2e;
  flex: 1;
}

.cart-item-price {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.9rem;
}

.cart-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-weight: 700;
}

.cart-qty-btn:hover {
  background: var(--color-primary);
  color: white;
}

.cart-qty-num {
  font-weight: 700;
  min-width: 20px;
  text-align: center;
}

.cart-empty {
  text-align: center;
  padding: 3rem 2rem;
  color: #aaa;
}

.cart-empty-icon { font-size: 4rem; margin-bottom: 1rem; }
.cart-empty h4 { font-size: 1.2rem; color: #666; margin-bottom: 0.5rem; }

.cart-footer {
  padding: 1.25rem;
  border-top: 2px solid #f0f0f0;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cart-total-label {
  font-size: 1rem;
  color: #666;
}

.cart-total-price {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary);
}

.cart-customer-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.cart-input {
  padding: 10px 14px;
  border: 2px solid #e5e7eb;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-family: var(--font-body);
  transition: var(--transition);
  outline: none;
}

.cart-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.1);
}

.cart-whatsapp-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  font-family: var(--font-body);
  text-decoration: none;
}

.cart-whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  color: white;
}

/* ============================================================
   Why Choose Us / Features Section
   ============================================================ */
.features-section {
  background: linear-gradient(135deg, var(--color-dark) 0%, #0f0f23 100%);
  color: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2rem;
}

.feature-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  background: rgba(var(--color-primary-rgb), 0.15);
  border-color: rgba(var(--color-primary-rgb), 0.3);
}

.feature-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 25px rgba(var(--color-primary-rgb), 0.4);
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: white;
}

.feature-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* ============================================================
   Google Review CTA
   ============================================================ */
.review-cta {
  background: linear-gradient(135deg, rgba(var(--color-accent-rgb), 0.1), rgba(var(--color-primary-rgb), 0.1));
  border: 2px solid rgba(var(--color-primary-rgb), 0.1);
  border-radius: var(--radius-xl);
  padding: 3rem;
  text-align: center;
  margin: 4rem 0;
}

.review-stars {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: 4px;
}

.review-cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #1a1a2e;
}

.review-cta p {
  color: #666;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .nav-logo-text {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-top: 1rem;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--color-primary);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: white;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

.footer-contact-icon { color: var(--color-accent); flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ============================================================
   Floating Cart Button (Mobile)
   ============================================================ */
.floating-cart {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: none;
}

.floating-cart-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
  border: none;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(var(--color-primary-rgb), 0.5);
  transition: var(--transition);
  position: relative;
}

.floating-cart-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(var(--color-primary-rgb), 0.6);
}

.floating-cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--color-accent);
  color: white;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

/* ============================================================
   Flash Messages
   ============================================================ */
.flash-message {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 0.95rem;
  box-shadow: var(--shadow-lg);
  animation: slideInRight 0.3s ease;
  max-width: 380px;
}

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

.flash-success { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.flash-error { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.flash-warning { background: #FFFBEB; color: #92400E; border: 1px solid #FDE68A; }
.flash-info { background: #EFF6FF; color: #1E40AF; border: 1px solid #BFDBFE; }

.flash-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: inherit;
  opacity: 0.5;
  margin-left: auto;
}

.flash-close:hover { opacity: 1; }

/* ============================================================
   Loading Spinner
   ============================================================ */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(var(--color-primary-rgb), 0.2);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 2rem auto;
}

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

/* ============================================================
   Scroll To Top Button
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(var(--color-primary-rgb), 0.9);
  color: white;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--color-primary);
  transform: translateY(-3px);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 75px;
    left: 0;
    right: 0;
    background: rgba(var(--color-dark), 0.98);
    backdrop-filter: var(--glass-blur);
    padding: 2rem;
    gap: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav-mobile-toggle { display: flex; }
  
  .hero h1 { font-size: 2.5rem; }
  .hero-stats { gap: 1.5rem; }
  
  .cart-sidebar { width: 100%; right: -100%; }
  .floating-cart { display: block; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  
  section { padding: 60px 0; }
  
  .review-cta { padding: 2rem 1.5rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .menu-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Animations / Utilities
   ============================================================ */
.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

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

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

[data-aos] { opacity: 0; transition: var(--transition-slow); }
[data-aos].aos-visible { opacity: 1; transform: none !important; }
[data-aos="fade-up"] { transform: translateY(30px); }
[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="zoom-in"] { transform: scale(0.9); }

/* Page header for inner pages */
.page-header {
  background: linear-gradient(135deg, var(--color-dark) 0%, rgba(var(--color-primary-rgb), 0.8) 100%);
  padding: 120px 0 60px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: #F8F9FF;
  clip-path: ellipse(55% 100% at 50% 100%);
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.page-header p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
}
