/* Converting Tailwind classes to vanilla CSS for PHP hosting */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #000;
  color: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Utilities */
.text-gradient {
  background: linear-gradient(to right, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glow-yellow {
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.hover-scale {
  transition: transform 0.2s ease;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  font-size: 0.875rem;
}

.btn-primary {
  background-color: #fbbf24;
  color: #000;
}

.btn-primary:hover {
  background-color: #f59e0b;
}

.btn-outline {
  background-color: transparent;
  color: #fbbf24;
  border: 2px solid #fbbf24;
}

.btn-outline:hover {
  background-color: #fbbf24;
  color: #000;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  border-radius: 9999px;
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
}

.btn-round {
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Navigation */
#navigation {
  transition: all 0.3s ease;
}

#navigation.scrolled {
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
}

.nav-link {
  color: #fff;
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fbbf24;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #fbbf24;
  transition: width 0.2s ease;
}

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

.mobile-nav-link {
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.2s ease;
}

.mobile-nav-link:hover {
  color: #fbbf24;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #ef4444;
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #000 0%, #1f2937 50%, #000 100%);
}

.hero-image-container {
  position: absolute;
  inset: 0;
  z-index: 10;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  position: relative;
  width: 384px;
  height: 384px;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.15));
}

.hero-glow {
  position: absolute;
  inset: 0;
  background-color: rgba(255, 215, 0, 0.2);
  border-radius: 50%;
  filter: blur(48px);
  transform: scale(1.1);
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 20;
  text-align: center;
  padding: 0 1rem;
  max-width: 64rem;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #d1d5db;
  margin-bottom: 2rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid #fbbf24;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  animation: bounce 2s infinite;
}

.scroll-wheel {
  width: 4px;
  height: 12px;
  background-color: #fbbf24;
  border-radius: 2px;
  margin-top: 8px;
  animation: scroll 2s infinite;
}

/* Menu Cards */
.menu-card {
  background-color: #1f2937;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.menu-card:hover {
  transform: translateY(-4px);
}

.menu-card-header {
  position: relative;
  overflow: hidden;
}

.menu-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 10;
  display: flex;
  gap: 0.5rem;
}

.badge {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-popular {
  background-color: #fbbf24;
  color: #000;
}

.badge-spicy {
  background-color: #ef4444;
  color: #fff;
}

.menu-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.menu-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-card-content {
  padding: 1.5rem;
}

.menu-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.menu-category {
  color: #fbbf24;
  font-size: 0.875rem;
  font-weight: 500;
}

.menu-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.star-filled {
  width: 1rem;
  height: 1rem;
  color: #fbbf24;
  fill: #fbbf24;
}

.menu-rating span {
  font-size: 0.875rem;
  color: #d1d5db;
}

.menu-item-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 0.5rem;
}

.menu-item-description {
  color: #9ca3af;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  flex: 1;
}

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

.menu-price {
  font-size: 1.5rem;
  font-weight: bold;
  background: linear-gradient(to right, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Parallax Section */
.parallax-section {
  position: relative;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.parallax-content {
  position: relative;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 3rem;
  border-radius: 0.5rem;
}

/* Grid System */
.grid {
  display: grid;
  gap: 1rem;
}

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

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

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Animations */
.fade-in-scale {
  animation: fadeInScale 1.2s ease-out;
}

.fade-in-up {
  animation: fadeInUp 1s ease-out 0.5s both;
}

.fade-in-delayed {
  animation: fadeIn 1s ease-out 2s both;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

@keyframes scroll {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(12px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Notifications */
.notification {
  position: fixed;
  top: 5rem;
  right: 1rem;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  color: #fff;
  font-weight: 600;
  z-index: 60;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

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

.notification-success {
  background-color: #10b981;
}

.notification-error {
  background-color: #ef4444;
}

/* Responsive Design */
@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .hero-buttons {
    flex-direction: row;
  }

  .hero-image {
    width: 500px;
    height: 500px;
  }
}

@media (min-width: 1024px) {
  .grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #000;
}

::-webkit-scrollbar-thumb {
  background: #ffd700;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ffc107;
}

/* Hidden utility */
.hidden {
  display: none !important;
}

/* Cart Sidebar */
.cart-sidebar {
  position: fixed;
  inset: 0;
  z-index: 50;
  transition: all 0.3s ease;
}

.cart-sidebar.hidden {
  display: none;
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 40;
}

.cart-panel {
  position: fixed;
  right: 0;
  top: 0;
  height: 100%;
  width: 100%;
  max-width: 28rem;
  background-color: #1f2937;
  border-left: 1px solid #374151;
  z-index: 50;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.cart-sidebar:not(.hidden) .cart-panel {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid #374151;
}

.cart-count-badge {
  background-color: #fbbf24;
  color: #000;
  font-size: 0.875rem;
  font-weight: bold;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
}

.cart-close-btn {
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.2s ease;
}

.cart-close-btn:hover {
  color: #fff;
}

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

.cart-empty {
  text-align: center;
  padding: 3rem 0;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: #374151;
  border-radius: 0.5rem;
  padding: 1rem;
  transition: all 0.2s ease;
}

.cart-item-image {
  position: relative;
  width: 4rem;
  height: 4rem;
  border-radius: 0.5rem;
  overflow: hidden;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  flex: 1;
}

.cart-item-name {
  font-weight: 600;
  color: #fff;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.cart-item-price {
  color: #fbbf24;
  font-weight: bold;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quantity-btn {
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid #4b5563;
  background: transparent;
  color: #d1d5db;
  border-radius: 0.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.quantity-btn:hover {
  border-color: #fbbf24;
  color: #fbbf24;
}

.quantity-display {
  color: #fff;
  font-weight: 600;
  width: 2rem;
  text-align: center;
}

.remove-btn {
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.2s ease;
}

.remove-btn:hover {
  color: #ef4444;
}

.cart-footer {
  border-top: 1px solid #374151;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.125rem;
  font-weight: bold;
}

.delivery-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #9ca3af;
}

.w-full {
  width: 100%;
}

/* Menu Page Styles */
.menu-search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  background-color: #1f2937;
  border: 1px solid #374151;
  border-radius: 0.375rem;
  color: #fff;
  font-size: 0.875rem;
  transition: border-color 0.2s ease;
}

.menu-search-input:focus {
  outline: none;
  border-color: #fbbf24;
}

.menu-search-input::placeholder {
  color: #9ca3af;
}

/* Form Styles */
.form-input {
  width: 100%;
  padding: 0.75rem;
  background-color: #374151;
  border: 1px solid #4b5563;
  border-radius: 0.375rem;
  color: #fff;
  font-size: 0.875rem;
  transition: border-color 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: #fbbf24;
}

.form-input::placeholder {
  color: #9ca3af;
}

/* Order Summary Styles */
.order-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid #374151;
}

.order-item:last-child {
  border-bottom: none;
}

.order-item-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.order-item-image {
  width: 3rem;
  height: 3rem;
  border-radius: 0.375rem;
  object-fit: cover;
}

.order-item-details h4 {
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.25rem;
}

.order-item-details p {
  font-size: 0.875rem;
  color: #9ca3af;
}

.order-total {
  border-top: 1px solid #374151;
  padding-top: 1rem;
  margin-top: 1rem;
}

.delivery-info {
  background-color: #1f2937;
  border: 1px solid #374151;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

.delivery-info.free {
  background-color: rgba(16, 185, 129, 0.1);
  border-color: #10b981;
}

.delivery-info.paid {
  background-color: rgba(251, 191, 36, 0.1);
  border-color: #fbbf24;
}

/* About Page Styles */
.value-card {
  background-color: #1f2937;
  padding: 2rem;
  border-radius: 0.5rem;
  text-align: center;
  transition: transform 0.2s ease;
}

.value-card:hover {
  transform: translateY(-4px);
}

.value-icon {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.team-card {
  background-color: #1f2937;
  padding: 2rem;
  border-radius: 0.5rem;
  text-align: center;
  transition: transform 0.2s ease;
}

.team-card:hover {
  transform: translateY(-4px);
}

.team-photo {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  margin: 0 auto 1rem;
  object-fit: cover;
}

/* Footer Styles */
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: #374151;
  border-radius: 50%;
  color: #9ca3af;
  transition: all 0.2s ease;
}

.social-link:hover {
  background-color: #fbbf24;
  color: #000;
  transform: translateY(-2px);
}

.footer-link {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #fbbf24;
}

/* FAQ Styles */
.faq-item {
  background-color: #1f2937;
  padding: 1.5rem;
  border-radius: 0.5rem;
  transition: transform 0.2s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
}

/* Contact Page Styles */
.contact-info-card {
  background-color: #1f2937;
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: transform 0.2s ease;
}

.contact-info-card:hover {
  transform: translateY(-4px);
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  background-color: #fbbf24;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

.contact-icon i {
  width: 1.5rem;
  height: 1.5rem;
  color: #000;
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid #374151;
  border-radius: 50%;
  border-top-color: #fbbf24;
  animation: spin 1s ease-in-out infinite;
}

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

/* Sticky positioning */
.sticky {
  position: sticky;
  top: 1.5rem;
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }

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

/* High contrast mode support */
@media (prefers-contrast: high) {
  .text-gradient {
    background: none;
    color: #fbbf24;
    -webkit-text-fill-color: unset;
  }
}

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

/* Focus styles for accessibility */
.btn:focus,
.form-input:focus,
.nav-link:focus {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
}

/* Screen reader only text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
