@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --primary: #0F0F0F;
  --secondary: #1A1A1A;
  --accent: #D4A574;
  --accent-dark: #B88D4F;
  --accent-light: #E8C9A0;
  --success: #2ECC71;
  --danger: #E74C3C;
  --text: #F5F5F5;
  --text-muted: #A0A0A0;
  --warm-bg: #1C1612;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
  background: linear-gradient(135deg, #0F0F0F 0%, #1C1612 100%);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
}

body {
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #B88D4F;
}

/* Glassmorphism effect */
.glass {
  background: rgba(26, 26, 26, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(212, 165, 116, 0.15);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Restaurant-themed gradient backgrounds */
.restaurant-gradient {
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.1) 0%, rgba(184, 141, 79, 0.05) 100%);
}

.warm-gradient {
  background: linear-gradient(135deg, #1C1612 0%, #2A1F18 50%, #1C1612 100%);
}

/* Hero section background with restaurant image */
.hero-background {
  position: relative;
  background-image: url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?w=1920&h=1080&fit=crop&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* Parallax effect */
}

.hero-background::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 15, 15, 0.95), rgba(15, 15, 15, 0.90), rgba(15, 15, 15, 0.95));
  z-index: 1;
}

.hero-background::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.2), transparent, rgba(184, 141, 79, 0.2));
  z-index: 2;
}

/* Smooth animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.3s ease-out;
}

/* Button styles */
.btn-primary {
  @apply bg-accent text-primary font-semibold py-2.5 sm:py-3 px-4 sm:px-6 rounded-lg hover:bg-opacity-90 transition-all duration-200 shadow-lg text-sm sm:text-base;
}

.btn-secondary {
  @apply bg-secondary text-text border border-accent font-semibold py-2.5 sm:py-3 px-4 sm:px-6 rounded-lg hover:bg-accent hover:text-primary transition-all duration-200 text-sm sm:text-base;
}

/* Card styles */
.card {
  @apply glass rounded-2xl p-6 shadow-2xl transition-all duration-300;
  border: 1px solid rgba(212, 165, 116, 0.1);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(212, 165, 116, 0.15);
  border-color: rgba(212, 165, 116, 0.3);
}

/* Restaurant-themed text effects */
.text-glow {
  text-shadow: 0 0 20px rgba(212, 165, 116, 0.5);
}

/* Food image overlay */
.food-overlay {
  position: relative;
  overflow: hidden;
}

.food-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(15, 15, 15, 0.7) 100%);
  z-index: 1;
}

