﻿/*!
 * FREETTA Mobile-First Brand Theme
 * Optimized for mobile UX with enhanced visual design
 */

/* ------------------------------
   0) Fonts & Base Imports
-------------------------------- */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Sora:wght@600;700;800&display=swap");

/* ------------------------------
   1) Enhanced Brand Tokens
-------------------------------- */
:root,
html[data-theme="freetta"] {
  /* Enhanced Color Palette */
  --freetta-navy: #0B1F3B;
  --freetta-navy-light: #1A335C;
  --freetta-teal: #14B8A6;
  --freetta-teal-light: #2DD4BF;
  --freetta-teal-dark: #0FA08F;
  
  /* Teal variants for utility classes */
  --teal-50: #F0FDFA;
  --teal-100: #CCFBF1;
  --teal-200: #99F6E4;
  --teal-300: #5EEAD4;
  --teal-400: #2DD4BF;
  --teal-500: #14B8A6;
  --teal-600: #0D9488;
  --teal-700: #0F766E;
  --teal-800: #115E59;
  --teal-900: #134E4A;
  --teal-950: #042F2E;
  
  /* Teal soft variants */
  --teal-soft-50: rgba(20, 184, 166, 0.05);
  --teal-soft-100: rgba(20, 184, 166, 0.1);
  --teal-soft-200: rgba(20, 184, 166, 0.2);
  --teal-soft-300: rgba(20, 184, 166, 0.3);
  --teal-soft-400: rgba(20, 184, 166, 0.4);
  --teal-soft-500: rgba(20, 184, 166, 0.5);
  
  /* New Accent Colors */
  --freetta-coral: #FF6B6B;
  --freetta-gold: #FFD166;
  --freetta-lavender: #A78BFA;
  
  /* Neutrals */
  --freetta-ink: #0F172A;
  --freetta-slate: #475569;
  --freetta-slate-light: #94A3B8;
  --freetta-slate-50: #F8FAFC;
  --freetta-slate-100: #F1F5F9;
  --freetta-slate-200: #E2E8F0;
  --freetta-slate-300: #CBD5E1;
  --freetta-slate-400: #94A3B8;
  --freetta-slate-500: #64748B;
  --freetta-slate-600: #475569;
  --freetta-slate-700: #334155;
  --freetta-slate-800: #1E293B;
  --freetta-slate-900: #0F172A;
  --freetta-slate-950: #020617;
  
  /* Surfaces */
  --freetta-bg: #F8FAFC;
  --freetta-surface: #FFFFFF;
  --freetta-surface-dark: #1E293B;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--freetta-teal) 0%, var(--freetta-teal-light) 100%);
  --gradient-primary-light: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(45, 212, 191, 0.1) 100%);
  --gradient-navy: linear-gradient(135deg, var(--freetta-navy) 0%, var(--freetta-navy-light) 100%);
  --gradient-surface: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
  --gradient-white: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
  
  /* Shadows (Mobile Optimized) */
  --shadow-sm: 0 2px 8px rgba(11, 31, 59, 0.08);
  --shadow-md: 0 4px 16px rgba(11, 31, 59, 0.12);
  --shadow-lg: 0 8px 32px rgba(11, 31, 59, 0.16);
  --shadow-xl: 0 16px 48px rgba(11, 31, 59, 0.20);
  
  /* Elevation */
  --elevation-1: var(--shadow-sm);
  --elevation-2: var(--shadow-md);
  --elevation-3: var(--shadow-lg);
  --elevation-4: var(--shadow-xl);
  
  /* Border Radius (Mobile Friendly) */
  --radius-xs: 6px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;
  
  /* Spacing (Mobile Optimized) */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Typography Scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  
  /* Focus States */
  --focus-ring: 0 0 0 3px rgba(20, 184, 166, 0.25);
  
  /* Bootstrap Compatibility */
  --bs-primary: var(--freetta-teal);
  --bs-primary-rgb: 20, 184, 166;
  --bs-body-font-family: 'Inter', system-ui, sans-serif;
  --bs-body-color: var(--freetta-ink);
  --bs-body-bg: var(--freetta-bg);
  --bs-border-color: rgba(226, 232, 240, 0.8);
  --bs-border-radius: var(--radius-md);
}

/* ------------------------------
   2) Missing Utility Classes
-------------------------------- */

/* Text Color Utilities */
.text-teal { color: var(--freetta-teal) !important; }
.text-teal-light { color: var(--freetta-teal-light) !important; }
.text-teal-dark { color: var(--freetta-teal-dark) !important; }
.text-navy { color: var(--freetta-navy) !important; }
.text-navy-light { color: var(--freetta-navy-light) !important; }
.text-slate { color: var(--freetta-slate) !important; }
.text-slate-light { color: var(--freetta-slate-light) !important; }
.text-coral { color: var(--freetta-coral) !important; }
.text-gold { color: var(--freetta-gold) !important; }
.text-lavender { color: var(--freetta-lavender) !important; }
.text-white { color: #ffffff !important; }
.text-black { color: #000000 !important; }

/* Background Color Utilities */
.bg-teal { background-color: var(--freetta-teal) !important; }
.bg-teal-light { background-color: var(--freetta-teal-light) !important; }
.bg-teal-dark { background-color: var(--freetta-teal-dark) !important; }
.bg-teal-soft { background-color: var(--teal-soft-100) !important; }
.bg-teal-50 { background-color: var(--teal-50) !important; }
.bg-teal-100 { background-color: var(--teal-100) !important; }
.bg-teal-200 { background-color: var(--teal-200) !important; }
.bg-teal-300 { background-color: var(--teal-300) !important; }
.bg-teal-400 { background-color: var(--teal-400) !important; }
.bg-teal-500 { background-color: var(--teal-500) !important; }
.bg-teal-600 { background-color: var(--teal-600) !important; }
.bg-teal-700 { background-color: var(--teal-700) !important; }
.bg-teal-800 { background-color: var(--teal-800) !important; }
.bg-teal-900 { background-color: var(--teal-900) !important; }
.bg-teal-950 { background-color: var(--teal-950) !important; }

.bg-navy { background-color: var(--freetta-navy) !important; }
.bg-navy-light { background-color: var(--freetta-navy-light) !important; }
.bg-slate { background-color: var(--freetta-slate) !important; }
.bg-slate-light { background-color: var(--freetta-slate-light) !important; }
.bg-slate-50 { background-color: var(--freetta-slate-50) !important; }
.bg-slate-100 { background-color: var(--freetta-slate-100) !important; }
.bg-slate-200 { background-color: var(--freetta-slate-200) !important; }
.bg-slate-300 { background-color: var(--freetta-slate-300) !important; }
.bg-slate-400 { background-color: var(--freetta-slate-400) !important; }
.bg-slate-500 { background-color: var(--freetta-slate-500) !important; }
.bg-slate-600 { background-color: var(--freetta-slate-600) !important; }
.bg-slate-700 { background-color: var(--freetta-slate-700) !important; }
.bg-slate-800 { background-color: var(--freetta-slate-800) !important; }
.bg-slate-900 { background-color: var(--freetta-slate-900) !important; }
.bg-slate-950 { background-color: var(--freetta-slate-950) !important; }

.bg-coral { background-color: var(--freetta-coral) !important; }
.bg-gold { background-color: var(--freetta-gold) !important; }
.bg-lavender { background-color: var(--freetta-lavender) !important; }

.bg-white { background-color: #ffffff !important; }
.bg-black { background-color: #000000 !important; }
.bg-transparent { background-color: transparent !important; }

/* Background Gradient Utilities */
.bg-gradient-primary { background: var(--gradient-primary) !important; }
.bg-gradient-primary-light { background: var(--gradient-primary-light) !important; }
.bg-gradient-navy { background: var(--gradient-navy) !important; }
.bg-gradient-surface { background: var(--gradient-surface) !important; }
.bg-gradient-white { background: var(--gradient-white) !important; }

/* Border Color Utilities */
.border-teal { border-color: var(--freetta-teal) !important; }
.border-teal-light { border-color: var(--freetta-teal-light) !important; }
.border-teal-dark { border-color: var(--freetta-teal-dark) !important; }
.border-teal-soft { border-color: var(--teal-soft-300) !important; }
.border-navy { border-color: var(--freetta-navy) !important; }
.border-navy-light { border-color: var(--freetta-navy-light) !important; }
.border-slate { border-color: var(--freetta-slate) !important; }
.border-slate-light { border-color: var(--freetta-slate-light) !important; }
.border-slate-100 { border-color: var(--freetta-slate-100) !important; }
.border-slate-200 { border-color: var(--freetta-slate-200) !important; }
.border-slate-300 { border-color: var(--freetta-slate-300) !important; }
.border-white { border-color: #ffffff !important; }
.border-black { border-color: #000000 !important; }
.border-transparent { border-color: transparent !important; }

/* Border Width Utilities */
.border-0 { border-width: 0 !important; }
.border-1 { border-width: 1px !important; }
.border-2 { border-width: 2px !important; }
.border-3 { border-width: 3px !important; }
.border-4 { border-width: 4px !important; }

/* Opacity Utilities */
.opacity-0 { opacity: 0 !important; }
.opacity-10 { opacity: 0.1 !important; }
.opacity-25 { opacity: 0.25 !important; }
.opacity-50 { opacity: 0.5 !important; }
.opacity-75 { opacity: 0.75 !important; }
.opacity-90 { opacity: 0.9 !important; }
.opacity-100 { opacity: 1 !important; }

/* Z-index Utilities */
.z-0 { z-index: 0 !important; }
.z-10 { z-index: 10 !important; }
.z-20 { z-index: 20 !important; }
.z-30 { z-index: 30 !important; }
.z-40 { z-index: 40 !important; }
.z-50 { z-index: 50 !important; }
.z-auto { z-index: auto !important; }

/* Display Utilities */
.d-block { display: block !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }
.d-none { display: none !important; }

/* Flex Utilities */
.flex-column { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-nowrap { flex-wrap: nowrap !important; }
.flex-1 { flex: 1 1 0% !important; }
.flex-auto { flex: 1 1 auto !important; }
.flex-initial { flex: 0 1 auto !important; }
.flex-none { flex: none !important; }

/* Justify Content */
.justify-content-start { justify-content: flex-start !important; }
.justify-content-end { justify-content: flex-end !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-around { justify-content: space-around !important; }
.justify-content-evenly { justify-content: space-evenly !important; }

/* Align Items */
.align-items-start { align-items: flex-start !important; }
.align-items-end { align-items: flex-end !important; }
.align-items-center { align-items: center !important; }
.align-items-baseline { align-items: baseline !important; }
.align-items-stretch { align-items: stretch !important; }

/* Align Self */
.align-self-start { align-self: flex-start !important; }
.align-self-end { align-self: flex-end !important; }
.align-self-center { align-self: center !important; }
.align-self-baseline { align-self: baseline !important; }
.align-self-stretch { align-self: stretch !important; }

/* Gap Utilities */
.gap-0 { gap: 0 !important; }
.gap-1 { gap: 0.25rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }
.gap-5 { gap: 3rem !important; }

/* Position Utilities */
.position-static { position: static !important; }
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.position-fixed { position: fixed !important; }
.position-sticky { position: sticky !important; }

/* Top/Right/Bottom/Left */
.top-0 { top: 0 !important; }
.right-0 { right: 0 !important; }
.bottom-0 { bottom: 0 !important; }
.left-0 { left: 0 !important; }
.top-50 { top: 50% !important; }
.left-50 { left: 50% !important; }

/* Translate Utilities */
.translate-middle { transform: translate(-50%, -50%) !important; }
.translate-middle-x { transform: translateX(-50%) !important; }
.translate-middle-y { transform: translateY(-50%) !important; }

/* Width & Height Utilities */
.w-25 { width: 25% !important; }
.w-50 { width: 50% !important; }
.w-75 { width: 75% !important; }
.w-100 { width: 100% !important; }
.w-auto { width: auto !important; }

.h-25 { height: 25% !important; }
.h-50 { height: 50% !important; }
.h-75 { height: 75% !important; }
.h-100 { height: 100% !important; }
.h-auto { height: auto !important; }

/* Margin & Padding Utilities */
.m-0 { margin: 0 !important; }
.m-1 { margin: 0.25rem !important; }
.m-2 { margin: 0.5rem !important; }
.m-3 { margin: 1rem !important; }
.m-4 { margin: 1.5rem !important; }
.m-5 { margin: 3rem !important; }
.m-auto { margin: auto !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mt-auto { margin-top: auto !important; }

.me-0 { margin-right: 0 !important; }
.me-1 { margin-right: 0.25rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }
.me-4 { margin-right: 1.5rem !important; }
.me-5 { margin-right: 3rem !important; }
.me-auto { margin-right: auto !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mb-auto { margin-bottom: auto !important; }

.ms-0 { margin-left: 0 !important; }
.ms-1 { margin-left: 0.25rem !important; }
.ms-2 { margin-left: 0.5rem !important; }
.ms-3 { margin-left: 1rem !important; }
.ms-4 { margin-left: 1.5rem !important; }
.ms-5 { margin-left: 3rem !important; }
.ms-auto { margin-left: auto !important; }

.p-0 { padding: 0 !important; }
.p-1 { padding: 0.25rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }

.pt-0 { padding-top: 0 !important; }
.pt-1 { padding-top: 0.25rem !important; }
.pt-2 { padding-top: 0.5rem !important; }
.pt-3 { padding-top: 1rem !important; }
.pt-4 { padding-top: 1.5rem !important; }
.pt-5 { padding-top: 3rem !important; }

.pe-0 { padding-right: 0 !important; }
.pe-1 { padding-right: 0.25rem !important; }
.pe-2 { padding-right: 0.5rem !important; }
.pe-3 { padding-right: 1rem !important; }
.pe-4 { padding-right: 1.5rem !important; }
.pe-5 { padding-right: 3rem !important; }

.pb-0 { padding-bottom: 0 !important; }
.pb-1 { padding-bottom: 0.25rem !important; }
.pb-2 { padding-bottom: 0.5rem !important; }
.pb-3 { padding-bottom: 1rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.pb-5 { padding-bottom: 3rem !important; }

.ps-0 { padding-left: 0 !important; }
.ps-1 { padding-left: 0.25rem !important; }
.ps-2 { padding-left: 0.5rem !important; }
.ps-3 { padding-left: 1rem !important; }
.ps-4 { padding-left: 1.5rem !important; }
.ps-5 { padding-left: 3rem !important; }

/* Text Utilities */
.text-start { text-align: left !important; }
.text-end { text-align: right !important; }
.text-center { text-align: center !important; }

.text-decoration-none { text-decoration: none !important; }
.text-decoration-underline { text-decoration: underline !important; }
.text-decoration-line-through { text-decoration: line-through !important; }

.text-uppercase { text-transform: uppercase !important; }
.text-lowercase { text-transform: lowercase !important; }
.text-capitalize { text-transform: capitalize !important; }

.text-wrap { white-space: normal !important; }
.text-nowrap { white-space: nowrap !important; }

.fw-light { font-weight: 300 !important; }
.fw-normal { font-weight: 400 !important; }
.fw-medium { font-weight: 500 !important; }
.fw-semibold { font-weight: 600 !important; }
.fw-bold { font-weight: 700 !important; }
.fw-bolder { font-weight: 800 !important; }

/* Font Size Utilities */
.fs-1 { font-size: var(--text-5xl) !important; }
.fs-2 { font-size: var(--text-4xl) !important; }
.fs-3 { font-size: var(--text-3xl) !important; }
.fs-4 { font-size: var(--text-2xl) !important; }
.fs-5 { font-size: var(--text-xl) !important; }
.fs-6 { font-size: var(--text-lg) !important; }
.fs-7 { font-size: var(--text-base) !important; }
.fs-8 { font-size: var(--text-sm) !important; }
.fs-9 { font-size: var(--text-xs) !important; }

/* Line Height */
.lh-1 { line-height: 1 !important; }
.lh-sm { line-height: 1.25 !important; }
.lh-base { line-height: 1.5 !important; }
.lh-lg { line-height: 2 !important; }

/* Border Radius */
.rounded { border-radius: var(--radius-md) !important; }
.rounded-0 { border-radius: 0 !important; }
.rounded-1 { border-radius: var(--radius-xs) !important; }
.rounded-2 { border-radius: var(--radius-sm) !important; }
.rounded-3 { border-radius: var(--radius-md) !important; }
.rounded-4 { border-radius: var(--radius-lg) !important; }
.rounded-5 { border-radius: var(--radius-xl) !important; }
.rounded-circle { border-radius: 50% !important; }
.rounded-pill { border-radius: var(--radius-pill) !important; }

/* Shadow Utilities */
.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }
.shadow-xl { box-shadow: var(--shadow-xl) !important; }
.shadow-none { box-shadow: none !important; }

/* Overflow */
.overflow-auto { overflow: auto !important; }
.overflow-hidden { overflow: hidden !important; }
.overflow-visible { overflow: visible !important; }
.overflow-scroll { overflow: scroll !important; }

/* Visibility */
.visible { visibility: visible !important; }
.invisible { visibility: hidden !important; }

/* ------------------------------
   3) Mobile-First Base Styles
-------------------------------- */
* {
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, sans-serif !important;
  color: var(--freetta-ink) !important;
  background-color: var(--freetta-bg) !important;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography Scale */
h1, .h1 {
  font-family: 'Sora', sans-serif !important;
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h2, .h2 {
  font-family: 'Sora', sans-serif !important;
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

h3, .h3 {
  font-family: 'Sora', sans-serif !important;
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1.4;
}

p, li, .text-base {
  font-size: var(--text-base);
  line-height: 1.6;
}

small, .text-sm {
  font-size: var(--text-sm);
  line-height: 1.5;
}

/* Selection */
::selection {
  background: rgba(20, 184, 166, 0.25);
  color: var(--freetta-ink);
}

/* ------------------------------
   4) Enhanced Navigation
-------------------------------- */
/* Sticky Navigation Bar */
.freetta-navbar {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  transition: transform var(--transition-base), background var(--transition-base);
  padding: var(--space-sm) 0;
}

.freetta-navbar.navbar-hidden {
  transform: translateY(-100%);
}

/* Logo */
.navbar-brand {
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.navbar-brand:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Mobile Menu Toggle */
.navbar-toggler {
  border: none;
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  background: var(--freetta-bg);
  transition: all var(--transition-base);
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* Search in Navigation */
.nav-search-container {
  flex: 1;
  max-width: 400px;
  margin: 0 var(--space-md);
}

.nav-search-input {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(226, 232, 240, 0.8);
  background: var(--freetta-bg);
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--text-sm);
  transition: all var(--transition-base);
}

.nav-search-input:focus {
  border-color: var(--freetta-teal);
  box-shadow: var(--focus-ring);
  background: white;
}

/* Profile Menu */
.profile-menu-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  background: var(--gradient-primary);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all var(--transition-base);
}

.profile-menu-btn:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

/* Mobile Drawer */
.freetta-drawer {
  background: var(--freetta-surface-dark) !important;
}

.drawer-header {
  background: var(--gradient-navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-body {
  padding: var(--space-md);
}

/* ------------------------------
   5) Enhanced Buttons
-------------------------------- */
.btn {
  border-radius: var(--radius-pill) !important;
  font-weight: 600 !important;
  padding: var(--space-sm) var(--space-lg) !important;
  transition: all var(--transition-base) !important;
  border: 2px solid transparent !important;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn:hover::after {
  opacity: 1;
}

/* Primary Button */
.btn-primary, .btn-teal {
  background: var(--gradient-primary) !important;
  border-color: transparent !important;
  color: white !important;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover, .btn-teal:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary:active, .btn-teal:active {
  transform: translateY(0);
}

/* Outline Button */
.btn-outline-primary, .btn-outline-teal {
  background: transparent !important;
  border-color: var(--freetta-teal) !important;
  color: var(--freetta-teal) !important;
}

.btn-outline-primary:hover, .btn-outline-teal:hover {
  background: var(--freetta-teal) !important;
  color: white !important;
  transform: translateY(-2px);
}

/* Floating Action Button (Mobile) */
.fab {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 56px;
  height: 56px;
  border-radius: var(--radius-pill);
  background: var(--gradient-primary);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  z-index: 1040;
  transition: all var(--transition-base);
}

.fab:hover {
  transform: scale(1.1) rotate(90deg);
}

/* ------------------------------
   6) Enhanced Forms
-------------------------------- */
.form-control,
.form-select {
  border-radius: var(--radius-md) !important;
  border: 2px solid rgba(226, 232, 240, 0.8) !important;
  padding: var(--space-sm) var(--space-md) !important;
  font-size: var(--text-base) !important;
  transition: all var(--transition-base) !important;
  background: white !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--freetta-teal) !important;
  box-shadow: var(--focus-ring) !important;
  transform: translateY(-1px);
}

/* Search Input Special */
.search-input-glow {
  background: white !important;
  border: 2px solid transparent !important;
  background-clip: padding-box;
  position: relative;
}

.search-input-glow:focus {
  border-color: var(--freetta-teal) !important;
  box-shadow: 
    0 0 0 4px rgba(20, 184, 166, 0.15),
    0 8px 24px rgba(11, 31, 59, 0.12) !important;
}

/* ------------------------------
   7) Cards & Surfaces
-------------------------------- */
.card {
  border-radius: var(--radius-lg) !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  background: var(--freetta-surface) !important;
  transition: all var(--transition-base) !important;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl) !important;
  border-color: var(--freetta-teal-light) !important;
}

.card-img-top {
  height: 160px;
  object-fit: cover;
}

/* Category Cards */
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-lg);
  background: var(--freetta-surface);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: all var(--transition-base);
  text-decoration: none;
  color: var(--freetta-ink);
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--freetta-teal);
}

.category-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-pill);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  font-size: 24px;
  color: white;
  transition: all var(--transition-base);
}

.category-card:hover .category-icon {
  transform: scale(1.1) rotate(5deg);
}

/* ------------------------------
   8) Enhanced Autocomplete
-------------------------------- */
.autocomplete-dropdown {
  background: white !important;
  border-radius: var(--radius-lg) !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  box-shadow: var(--shadow-xl) !important;
  max-height: 400px;
  overflow-y: auto;
  animation: slideDown 200ms ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.autocomplete-item {
  padding: var(--space-md);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  transition: all var(--transition-fast);
}

.autocomplete-item:hover,
.autocomplete-item.highlighted {
  background: rgba(20, 184, 166, 0.08);
  border-left: 4px solid var(--freetta-teal);
}

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

/* ------------------------------
   9) Hero Section
-------------------------------- */
.hero-section {
  padding-top: 80px;
  min-height: 70vh;
  background: var(--gradient-surface);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(20, 184, 166, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(11, 31, 59, 0.05) 0%, transparent 50%);
}

.hero-title {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: var(--text-5xl);
  line-height: 1.1;
}

/* ------------------------------
   10) Location Navigation (Swipeable)
-------------------------------- */
.location-carousel {
  display: flex;
  gap: var(--space-sm);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: var(--space-sm);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.location-carousel::-webkit-scrollbar {
  display: none;
}

.location-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  padding: var(--space-md);
  background: var(--freetta-surface);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(226, 232, 240, 0.8);
  text-decoration: none;
  color: var(--freetta-ink);
  transition: all var(--transition-base);
  min-width: 120px;
  text-align: center;
}

.location-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--freetta-teal);
}

/* ------------------------------
   11) Missing Special Classes from Homepage
-------------------------------- */
.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hover-lift {
  transition: transform var(--transition-base);
}

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

.quick-search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.user-info-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.profile-avatar {
  background: var(--gradient-primary);
  color: white;
}

.menu-section .nav-link {
  transition: all var(--transition-base);
}

.menu-section .nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(4px);
}

.auth-section .btn {
  font-weight: 600;
}

.stats-section .bg-surface-dark {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Badge styles */
.badge {
  border-radius: var(--radius-pill);
  font-weight: 600;
  padding: 0.25rem 0.75rem;
}

.badge.bg-teal-soft {
  background-color: var(--teal-soft-100) !important;
  color: var(--freetta-teal) !important;
  border: 1px solid var(--teal-soft-300) !important;
}

/* Backdrop blur utility */
.backdrop-blur {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Glass effect */
.glass {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ------------------------------
   12) Mobile-Specific Adjustments
-------------------------------- */
@media (max-width: 768px) {
  :root {
    --text-3xl: 1.5rem;
    --text-2xl: 1.25rem;
    --text-xl: 1.125rem;
    --space-lg: 16px;
    --space-xl: 24px;
  }
  
  .hero-section {
    min-height: 60vh;
    padding-top: 60px;
  }
  
  .hero-title {
    font-size: var(--text-3xl);
  }
  
  .category-card {
    padding: var(--space-md);
  }
  
  .category-icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
  
  /* Touch-friendly button sizing */
  .btn {
    min-height: 44px;
    padding: var(--space-md) var(--space-lg) !important;
  }
  
  /* Larger touch targets */
  .nav-link {
    padding: var(--space-sm) var(--space-md) !important;
  }
  
  /* Adjust spacing for mobile */
  .container {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }
  
  /* Mobile drawer adjustments */
  .freetta-drawer {
    width: 85% !important;
  }
  
  /* Modal bottom sheet for mobile */
  .modal-dialog-bottom {
    margin: 0;
    max-width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
  }
  
  .modal-dialog-bottom .modal-content {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    min-height: 50vh;
  }
}

/* Small phones */
@media (max-width: 480px) {
  :root {
    --space-md: 12px;
    --space-lg: 16px;
  }
  
  .hero-section {
    min-height: 50vh;
  }
  
  .card {
    margin-bottom: var(--space-md);
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem !important;
    font-size: 1rem;
  }
}

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

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

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

/* ------------------------------
   14) Loading States
-------------------------------- */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ------------------------------
   15) Dark Mode Support
-------------------------------- */
@media (prefers-color-scheme: dark) {
  :root {
    --freetta-bg: #0F172A;
    --freetta-surface: #1E293B;
    --freetta-ink: #F1F5F9;
    --freetta-slate: #CBD5E1;
  }
  
  .glass {
    background: rgba(30, 41, 59, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .card {
    background: var(--freetta-surface);
    border-color: rgba(255, 255, 255, 0.1);
  }
  
  .form-control,
  .form-select {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--freetta-ink);
  }
}

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