/* Flavor Theme - Food & Restaurant */
/* Warm, appetizing design with rich textures */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&family=Lora:ital,wght@0,400;0,500;1,400&display=swap');

:root {
  --primary: #EA580C;
  --primary-rgb: 234, 88, 12;
  --primary-dark: #C2410C;
  --hov-primary: #C2410C;
  --soft-primary: rgba(234, 88, 12, 0.1);
  --secondary: #78350F;
  --accent: #FCD34D;
  --success: #22C55E;
  --warning: #F59E0B;
  --danger: #EF4444;
  --light: #FFFBEB;
  --dark: #1C1917;
  --gray: #78716C;
  --gray-light: #D6D3D1;
  --background: #FFFBEB;
  --card-bg: #FFFFFF;
  --border-color: #FDE68A;
  --border-radius: 12px;
  --header-bg: #1C1917;
  --footer-bg: #1C1917;
  --font-primary: 'Poppins', sans-serif;
  --font-heading: 'Playfair Display', serif;
  --font-accent: 'Lora', serif;
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
}

body {
  font-family: var(--font-primary);
  background: var(--background);
  color: var(--dark);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--secondary);
}

h1 { font-size: 2.75rem; letter-spacing: -0.02em; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }

/* Header */
.top-navbar, header, .header {
  background: var(--header-bg) !important;
  border-bottom: 3px solid var(--primary);
}

.navbar-brand, .logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.75rem;
  color: #FFFFFF !important;
}

.nav-link {
  font-weight: 500;
  color: rgba(255,255,255,0.9) !important;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--accent) !important;
}

/* Buttons */
.btn-primary, .btn-landing-primary {
  background: var(--primary);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s;
}

.btn-primary:hover {
  background: #C2410C;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.3);
}

.btn-secondary {
  background: var(--secondary);
  border: none;
}

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

.btn-outline-primary:hover {
  background: var(--primary);
  color: white;
}

/* Cards */
.card, .product-card {
  background: var(--card-bg);
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover, .product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(234, 88, 12, 0.15);
}

.product-card .product-image {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}

.product-card img {
  transition: transform 0.5s ease;
}

.product-card:hover img {
  transform: scale(1.08);
}

.product-card .product-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--secondary);
}

.product-card .product-price {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.25rem;
}

/* Hero Section */
.hero-section, .banner-section {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FCD34D' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

/* Categories */
.category-card {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.category-card:hover {
  border-color: var(--primary);
  background: #FEF3C7;
}

.category-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Footer */
footer, .footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.8);
  padding: 4rem 0 2rem;
}

footer h5, .footer h5, .footer-title {
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

footer a, .footer a {
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

footer a:hover, .footer a:hover {
  color: var(--accent);
}

/* Override primary background color for navbar */
.bg-primary {
  background-color: var(--primary) !important;
}

/* Badges & Tags */
.badge-primary, .badge.bg-primary {
  background: var(--primary) !important;
}

.badge-sale {
  background: var(--accent);
  color: var(--dark);
  font-weight: 700;
}

/* Forms */
.form-control {
  border: 2px solid #E7E5E4;
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}

/* Decorative Elements */
.section-title {
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

/* Accent decorations */
.accent-bg {
  background: linear-gradient(135deg, #FEF3C7 0%, #FFFBEB 100%);
}

/* Price styling */
.price-tag {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--primary);
}

.old-price {
  color: var(--gray);
  text-decoration: line-through;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeInUp 0.6s ease-out;
}
