/* ==============================================================================
   ፋኖስ ምግብ ማድረሻ (Fanos Food Delivery) - Custom Stylesheet
   Brand Colors: Warm Orange (#FF6B00, #F97316), Deep Charcoal (#1E293B), Crisp White
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Noto+Sans+Ethiopic:wght@400;500;600;700;800&display=swap');

:root {
  --primary-orange: #ff6b00;
  --primary-orange-hover: #e05e00;
  --primary-orange-light: #fff5ed;
  --primary-orange-gradient: linear-gradient(135deg, #ff7a1a 0%, #ff5200 100%);
  --charcoal-dark: #0f172a;
  --charcoal-muted: #64748b;
  --bg-subtle: #f8fafc;
  --surface-white: #ffffff;
  --border-light: #e2e8f0;
  --success-green: #10b981;
  --warning-amber: #f59e0b;
}

* {
  font-family: 'Plus Jakarta Sans', 'Noto Sans Ethiopic', sans-serif;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-subtle);
  color: var(--charcoal-dark);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

/* Smooth transitions */
.transition-smooth {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Orange Gradient Badge and Buttons */
.btn-orange-primary {
  background: var(--primary-orange-gradient);
  color: #ffffff;
  box-shadow: 0 4px 14px 0 rgba(255, 107, 0, 0.35);
  transition: all 0.2s ease-in-out;
}
.btn-orange-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px 0 rgba(255, 107, 0, 0.45);
}
.btn-orange-primary:active {
  transform: translateY(0);
}

.badge-orange {
  background-color: var(--primary-orange-light);
  color: var(--primary-orange);
  border: 1px solid rgba(255, 107, 0, 0.2);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Glassmorphism Header */
.glass-nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

/* Hero Section Decorative Elements */
.hero-glow {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* ==============================================================================
   SLIDING BANNER / CAROUSEL STYLES
   ============================================================================== */
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.03);
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 10;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.45);
  transition: all 0.3s ease;
  cursor: pointer;
}

.carousel-dot.active {
  width: 28px;
  background-color: #ff6b00;
  box-shadow: 0 0 10px rgba(255, 107, 0, 0.6);
}

/* Modal Animations */
.modal-backdrop {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease-out;
}

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

@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.modal-content {
  animation: scaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Card hover elevation */
.food-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.food-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -8px rgba(15, 23, 42, 0.08);
}

/* Pulse animation for Live Orders */
@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 107, 0, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 107, 0, 0); }
}
.pulse-badge {
  animation: pulse-ring 2s infinite cubic-bezier(0.45, 0, 0.2, 1);
}

/* Continuous Marquee Ticker (የሚራመድ ጽሁፍ) */
.marquee-wrapper {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
  will-change: transform;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding-right: 3.5rem;
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
