/* Additional custom styles for The Wow Hotel website */

/* Custom font imports */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* Root variables */
:root {
  --primary-color: #1f2937;
  --secondary-color: #f59e0b;
  --accent-color: #059669;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f9fafb;
  --border-light: #e5e7eb;
  --shadow-light: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-large: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #ffffff;
}

/* Typography */
.font-serif {
  font-family: 'Playfair Display', Georgia, serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

/* Hero section enhancements */
.hero-bg {
  position: relative;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Hero Background Slider Styles */
.hero-slider {
  position: relative;
  overflow: hidden;
}

.hero-bg-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  background-attachment: fixed;
}

.hero-slide.active {
  opacity: 1;
}

/* Slider Dots */
.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.slider-dot:hover {
  background-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.1);
}

.slider-dot.active {
  background-color: #ffd700;
  border-color: #ffd700;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Responsive adjustments */
@media (max-width: 768px) {

  .hero-bg,
  .hero-slide {
    background-attachment: scroll;
  }

  .slider-dot {
    width: 10px;
    height: 10px;
  }
}

/* Glass morphism effect */
.glass-effect {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Enhanced animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  animation: fadeInLeft 0.8s ease-out forwards;
}

.fade-in-right {
  animation: fadeInRight 0.8s ease-out forwards;
}

/* Enhanced gallery styles */
.gallery-item {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  overflow: hidden;
}

.gallery-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-large);
}

.gallery-item img {
  transition: transform 0.3s ease;
}

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

/* Enhanced button styles */
.btn-primary {
  background: linear-gradient(135deg, var(--secondary-color), #ea580c);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-large);
  background: linear-gradient(135deg, #ea580c, var(--secondary-color));
}

.btn-secondary {
  background: transparent;
  color: white;
  padding: 12px 24px;
  border: 2px solid white;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Enhanced form styles */
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-light);
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: white;
}

.form-input:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

/* Enhanced card styles */
.card {
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-large);
  transform: translateY(-5px);
}

/* Enhanced testimonial styles */
.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

/* Enhanced navigation */
.nav-link {
  position: relative;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background: var(--secondary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 100%;
}

/* Enhanced mobile responsiveness */
@media (max-width: 640px) {
  .hero-bg h1 {
    font-size: 2.5rem;
  }

  .hero-bg p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .card {
    margin-bottom: 1rem;
  }

  /* Force text visibility on mobile */
  .menu-category-btn,
  .menu-category-btn span,
  .menu-category-btn * {
    color: #1f2937 !important;
    text-shadow: none !important;
    font-weight: 600 !important;
  }
}

/* Accessibility enhancements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .fade-in {
    transform: none;
    opacity: 1;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .glass-effect {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--primary-color);
  }

  .btn-primary {
    border: 2px solid var(--primary-color);
  }

  .nav-link {
    border-bottom: 1px solid transparent;
  }

  .nav-link:hover {
    border-bottom-color: var(--secondary-color);
  }
}

/* Dark mode support (for future enhancement) */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-light: #111827;
    --text-dark: #f9fafb;
    --text-light: #d1d5db;
    --border-light: #374151;
  }

  body {
    background-color: var(--bg-light);
    color: var(--text-dark);
  }

  .card {
    background: #1f2937;
    border: 1px solid var(--border-light);
  }

  .form-input {
    background: #1f2937;
    border-color: var(--border-light);
    color: var(--text-dark);
  }

  /* Menu category buttons for dark mode */
  .menu-category-btn {
    background: rgba(31, 41, 55, 0.9) !important;
    color: #f9fafb !important;
    border-color: #4b5563 !important;
  }

  .menu-category-btn span {
    color: #f9fafb !important;
    font-weight: 600 !important;
    text-shadow: none !important;
  }

  .menu-category-btn:hover {
    background: rgba(255, 215, 0, 0.2) !important;
    color: #ffd700 !important;
    border-color: rgba(255, 215, 0, 0.5) !important;
  }

  .menu-category-btn:hover span {
    color: #ffd700 !important;
  }

  .menu-category-btn.active {
    background: #ffd700 !important;
    color: #1f2937 !important;
    border-color: #daa520 !important;
  }

  .menu-category-btn.active span {
    color: #1f2937 !important;
    font-weight: 700 !important;
  }
}

/* Print styles */
@media print {

  .glass-effect,
  nav,
  button,
  .scroll-to-top {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }

  .hero-bg {
    background: none !important;
  }

  * {
    box-shadow: none !important;
  }
}

/* Loading states */
.loading {
  opacity: 0.5;
  pointer-events: none;
  position: relative;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #ffd700;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Utility classes */
.text-gradient {
  background: linear-gradient(135deg, var(--secondary-color), #ea580c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.border-gradient {
  border: 2px solid;
  border-image: linear-gradient(135deg, var(--secondary-color), #ea580c) 1;
}

.shadow-glow {
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

/* Enhanced scroll behavior */
html {
  scroll-padding-top: 80px;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

/* Skip to main content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-color);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
}

.skip-link:focus {
  top: 6px;
}

.hero-bg {
  background: linear-gradient(135deg, rgba(60, 36, 21, 0.9), rgba(101, 67, 33, 0.8)), url('../assets/exterior/6.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.navbar-flat {
  background: rgba(60, 36, 21, 0.95);
  backdrop-filter: blur(20px);
  /* border-bottom: 1px solid rgba(255, 215, 0, 0.2); */
  /* box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.2); */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-transparent {
  /* background: rgba(255, 255, 255, 0.1); */
  /* backdrop-filter: blur(20px); */
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.2); */
  padding: 24px 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link {
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
}

.nav-link.active {
  background: rgba(255, 215, 0, 0.15);
  color: #ffd700 !important;
}

.nav-link:hover {
  background: rgba(255, 215, 0, 0.1);
  color: #ffd700;
}

.smooth-scroll {
  scroll-behavior: smooth;
}

.card-flat {
  background: white;
  border-radius: 16px;
  /* box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.1); */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-flat:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.12);
}

.gallery-item {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 16px;
  overflow: hidden;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.12);
}

.btn-flat {
  background: #ffd700;
  color: #3c2415;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
}

.btn-flat:hover {
  background: #daa520;
  transform: translateY(-2px);
}

.btn-flat-secondary {
  background: #daa520;
  color: #3c2415;
  border: 2px solid #daa520;
  padding: 10px 22px;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-flat-secondary:hover {
  background: #ffd700;
  box-shadow: 0 4px 20px 0 rgba(255, 215, 0, 0.6);
}

.btn-outline-flat {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 10px 22px;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline-flat:hover {
  background: white;
  color: #8b4513;
  transform: translateY(-2px);
}

.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #8b4513, #ffd700);
  border-radius: 2px;
  margin: 0 auto 2rem auto;
}

.testimonial-flat {
  background: #f8fafc;
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  /* Ensure review cards are always visible */
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.testimonial-flat:hover {
  background: white;
  border-color: rgba(255, 215, 0, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px 0 rgba(255, 215, 0, 0.1);
}

/* Additional class for review cards visibility */
.reviews-card-visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* Google Reviews Widget specific styles */
.google-reviews-widget .testimonial-flat {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Homepage reviews specific styles */
#google-reviews-homepage .testimonial-flat {
  opacity: 1 !important;
  visibility: visible !important;
}

@media (max-width: 768px) {
  .hero-bg {
    background-attachment: scroll;
  }

  /* Mobile-specific review card fixes */
  .testimonial-flat {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    display: block !important;
    background: #f8fafc !important;
    border: 1px solid rgba(255, 215, 0, 0.2) !important;
    border-radius: 16px !important;
    padding: 20px !important;
    margin-bottom: 16px !important;
  }

  /* Force visibility for mobile review containers */
  #google-reviews-homepage {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
  }

  #google-reviews-homepage .grid {
    opacity: 1 !important;
    visibility: visible !important;
    display: grid !important;
  }

  #google-reviews-homepage .testimonial-flat {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    min-height: auto !important;
  }

  /* Override any fade-in animations on mobile */
  .fade-in {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  /* Mobile grid adjustments */
  .grid.md\\:grid-cols-2.lg\\:grid-cols-3 {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
}

/* ===== CONSOLIDATED STYLES FROM INDEX.HTML AND MENU.HTML ===== */

/* Menu specific hero background */
.menu-hero-bg {
  background: linear-gradient(135deg, rgba(60, 36, 21, 0.9), rgba(101, 67, 33, 0.8)), url('../assets/restaurant/2.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Menu category buttons */
.menu-category-btn {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  color: #374151;
  border-color: #e5e7eb;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Ensure visibility in all scenarios */
.menu-category-btn span {
  position: relative;
  z-index: 2;
  color: inherit;
}

.menu-category-btn.active {
  background: #ffd700;
  color: #3c2415;
  border-color: #daa520;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px 0 rgba(255, 215, 0, 0.4);
}

.menu-category-btn:hover {
  background: rgba(255, 215, 0, 0.15);
  color: #b45309;
  border-color: rgba(255, 215, 0, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.menu-category-btn::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background: #ffd700;
  transition: all 0.3s ease;
}

.menu-category-btn:hover::after,
.menu-category-btn.active::after {
  width: 100%;
  left: 0;
}

/* Menu items */
.menu-item {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 4px solid transparent;
  position: relative;
  overflow: hidden;
}

/* Menu category sections for smooth scrolling */
.menu-category {
  scroll-margin-top: 100px;
  /* Account for fixed navbar */
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.menu-category.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.menu-item:hover {
  background: rgba(255, 215, 0, 0.05);
  border-left-color: #ffd700;
  transform: translateX(4px) translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.menu-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffd700, transparent);
  transition: left 0.5s ease;
}

.menu-item:hover::before {
  left: 100%;
}

/* Price tags */
.price-tag {
  background: linear-gradient(135deg, #ffd700, #daa520);
  color: #3c2415;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

/* Filter tags */
.filter-tag {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  color: #64748b;
  padding: 8px 16px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.filter-tag:hover,
.filter-tag.active {
  background: linear-gradient(135deg, #ffd700, #daa520);
  border-color: #daa520;
  color: #1a1410;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

/* View toggle buttons */
.view-toggle-btn {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  color: #64748b;
  transition: all 0.3s ease;
}

.view-toggle-btn:hover,
.view-toggle-btn.active {
  background: linear-gradient(135deg, #ffd700, #daa520);
  border-color: #daa520;
  color: #1a1410;
}

/* List view styles */
.list-view .menu-item {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  padding: 1rem;
  margin-bottom: 0.5rem;
}

.list-view .grid {
  display: flex !important;
  flex-direction: column;
  gap: 0.5rem !important;
}

.list-view .menu-item .flex {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 0.5rem;
}

.list-view .menu-item .flex .flex {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}

.list-view .menu-item h4 {
  margin: 0 !important;
  margin-bottom: 0 !important;
}

.list-view .menu-item p {
  margin: 0 !important;
  margin-top: 0 !important;
  text-align: left !important;
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.4;
}

/* Search input animation */
#menuSearch:focus {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
}

/* Item animations */

.menu-item.animate-pulse {
  animation: pulse 0.5s ease-in-out;
}


/* Notification styles */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #ffd700, #daa520);
  color: #1a1410;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 1000;
}

.notification.show {
  transform: translateX(0);
}

/* Results counter */
.results-counter {
  text-align: center;
  margin: 1rem 0;
  padding: 0.5rem;
  background: #f8fafc;
  border-radius: 8px;
  color: #64748b;
  font-weight: 600;
}

/* Mobile menu styling */
#mobile-menu {
  background: rgba(60, 36, 21, 0.95) !important;
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

#mobile-menu .nav-link {
  color: white !important;
  padding: 12px 16px;
  border-radius: 8px;
  margin: 4px 0;
  transition: all 0.3s ease;
}

#mobile-menu .nav-link:hover {
  background: rgba(255, 215, 0, 0.15);
  color: #ffd700 !important;
}

#mobile-menu .nav-link.active {
  background: rgba(255, 215, 0, 0.2);
  color: #ffd700 !important;
}

/* Media queries for responsive menu design */
@media (max-width: 768px) {
  .menu-hero-bg {
    background-attachment: scroll;
  }

  .hero-bg {
    background-attachment: scroll;
  }

  /* Enhanced mobile visibility for menu category buttons */
  .menu-category-btn {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #1f2937 !important;
    border: 2px solid #e5e7eb !important;
    font-weight: 600 !important;
    text-shadow: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    backdrop-filter: blur(4px) !important;
  }

  .menu-category-btn span {
    color: #1f2937 !important;
    font-weight: 600 !important;
    text-shadow: none !important;
    z-index: 10 !important;
    position: relative !important;
    opacity: 1 !important;
    display: inline-block !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
  }

  .menu-category-btn.active {
    background: #ffd700 !important;
    color: #1f2937 !important;
    border-color: #b45309 !important;
    font-weight: 700 !important;
  }

  .menu-category-btn.active span {
    color: #1f2937 !important;
    font-weight: 700 !important;
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.8) !important;
  }

  .menu-category-btn:hover {
    background: rgba(255, 215, 0, 0.9) !important;
    color: #1f2937 !important;
    border-color: #b45309 !important;
  }

  .menu-category-btn:hover span {
    color: #1f2937 !important;
  }

  /* Force all text content to be visible */
  .menu-category-btn *,
  .menu-category-btn::before,
  .menu-category-btn::after {
    color: inherit !important;
    opacity: 1 !important;
  }
}

/* Dark mode mobile fixes - Override mobile styles for dark mode */
@media (max-width: 768px) and (prefers-color-scheme: dark) {
  .menu-category-btn {
    background: rgba(31, 41, 55, 0.95) !important;
    color: #f9fafb !important;
    border: 2px solid #4b5563 !important;
  }

  .menu-category-btn span {
    color: #f9fafb !important;
    font-weight: 600 !important;
    text-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
  }

  .menu-category-btn.active {
    background: #ffd700 !important;
    color: #1f2937 !important;
    border-color: #b45309 !important;
  }

  .menu-category-btn.active span {
    color: #1f2937 !important;
    font-weight: 700 !important;
  }

  .menu-category-btn:hover {
    background: rgba(255, 215, 0, 0.3) !important;
    color: #ffd700 !important;
    border-color: rgba(255, 215, 0, 0.6) !important;
  }

  .menu-category-btn:hover span {
    color: #ffd700 !important;
  }
}

/* Universal mobile text fix - last resort */
@media (max-width: 768px) {

  button[class*="menu-category"] span,
  .menu-category-btn span,
  [data-category] span {
    font-weight: 600 !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
    text-shadow: none !important;
    position: relative !important;
  }

  button[class*="menu-category"].active span,
  .menu-category-btn.active span,
  [data-category].active span {
    color: #1f2937 !important;
    font-weight: 700 !important;
  }
}

/* Universal dark mode text fix - Highest priority */
@media (prefers-color-scheme: dark) {

  button[class*="menu-category"] span,
  .menu-category-btn span,
  [data-category] span {
    font-weight: 600 !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
    text-shadow: none !important;
    position: relative !important;
  }

  button[class*="menu-category"].active span,
  .menu-category-btn.active span,
  [data-category].active span {
    color: #1f2937 !important;
    font-weight: 700 !important;
  }

  button[class*="menu-category"]:hover span,
  .menu-category-btn:hover span,
  [data-category]:hover span {
    font-weight: 600 !important;
  }
}