/* joe.co.im - Premium Ethiopian Coffee | Orange Only Theme */
:root {
  --orange: #FF6200;
  --orange-dark: #E55A00;
  --orange-light: #FF8A33;
  --orange-glow: #FF6B00;
  --bg-deep: #120B07;
  --bg-card: #1F1710;
  --bg-elevated: #2A211A;
  --text-primary: #FDF6E9;
  --text-muted: #C4A77D;
  --text-accent: #FF8A33;
  --border-subtle: rgba(255, 98, 0, 0.15);
  --success: #10B981;
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--orange) var(--bg-deep);
}

body {
  font-family: 'Inter', system_ui, -apple-system, sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-primary);
}

/* Typography */
h1, h2, .logo-text, .section-title {
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.section-title {
  font-size: 2.25rem;
  line-height: 1.1;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--orange), var(--orange-light));
  border-radius: 9999px;
}

/* Orange Pill Logo - Matching provided design + premium touches */
.logo-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FF6200 0%, #FF8A33 100%);
  color: #000000;
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: 3px;
  font-size: 1.35rem;
  padding: 0.45rem 1.1rem;
  border-radius: 1rem;
  box-shadow: 
    0 4px 15px rgba(255, 98, 0, 0.35),
    inset 0 1px 0 rgba(255,255,255,0.35),
    inset 0 -1px 0 rgba(0,0,0,0.2);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  white-space: nowrap;
}

.logo-pill:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 
    0 8px 25px rgba(255, 98, 0, 0.45),
    inset 0 1px 0 rgba(255,255,255,0.4);
}

.logo-pill-sm {
  font-size: 1rem;
  padding: 0.35rem 1.1rem;
  letter-spacing: 3px;
}

/* Navigation */
nav {
  background: rgba(18, 11, 7, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-link {
  position: relative;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--orange-light);
}

.nav-link.active {
  color: var(--orange);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--orange);
  border-radius: 9999px;
}

/* Product Cards */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--orange);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

.product-image {
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  background-size: cover;
  background-position: center;
}

.category-badge {
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  padding: 0.1rem 0.6rem;
  border-radius: 9999px;
  font-weight: 600;
}

.badge-single {
  background: rgba(255, 98, 0, 0.15);
  color: var(--orange-light);
  border: 1px solid rgba(255, 98, 0, 0.3);
}

.badge-blend {
  background: rgba(212, 160, 23, 0.15);
  color: #D4A017;
  border: 1px solid rgba(212, 160, 23, 0.3);
}

/* Buttons */
.btn-orange {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: white;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(255, 98, 0, 0.35);
}

.btn-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 98, 0, 0.45);
  background: linear-gradient(135deg, var(--orange-light) 0%, var(--orange) 100%);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.btn-ghost:hover {
  background: var(--bg-elevated);
  border-color: var(--orange);
  color: var(--orange-light);
}

/* Modals & Drawers */
.modal {
  animation: modalEnter 0.2s cubic-bezier(0.32, 0.72, 0, 1);
}

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

.cart-drawer {
  animation: drawerSlide 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}

@keyframes drawerSlide {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

/* Form Inputs */
.input-orange {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.input-orange:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 98, 0, 0.1);
}

/* Filter Buttons */
.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  border: 1px solid var(--border-subtle);
}

.filter-btn.active {
  background: var(--orange);
  color: #000;
  border-color: var(--orange);
  font-weight: 600;
}

/* Toast Notification */
.toast {
  animation: toastPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

/* Cart Item */
.cart-item {
  transition: all 0.2s ease;
}

.qty-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
  transition: all 0.15s ease;
}

.qty-btn:hover {
  background: var(--orange);
  color: #000;
  border-color: var(--orange);
}

/* Misc */
.coffee-bean {
  animation: beanFloat 3s ease-in-out infinite;
}

@keyframes beanFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(4deg); }
}

.glow-orange {
  box-shadow: 0 0 15px rgba(255, 98, 0, 0.3);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.85rem;
  }
  
  .logo-pill {
    font-size: 1.1rem;
    padding: 0.45rem 1.25rem;
  }
}