/* --- CHIDON KITCHEN: MAIN STYLESHEET --- */

/* CSS Variables */
:root {
  --primary-color: #DC143C;
  --accent-color: #FF6347;
  --tertiary-color: #2563EB; /* Deep blue accent */
  --secondary-color: #F8F8F8;
  --text-color: #333333;
  --text-light: #666666;
  --bg-color: #FFFFFF;
  --border-color: #E0E0E0;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 8px 32px rgba(0, 0, 0, 0.08);
  --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 16px 64px rgba(0, 0, 0, 0.08);

  --border-radius: 16px;
  --border-radius-lg: 20px;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  --font-heading: 'Lora', serif;
  --font-body: 'Poppins', sans-serif;
  --success-color: #28a745;
  --error-color: #dc3545;
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--tertiary-color) 0%, var(--primary-color) 100%);
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
}

/* Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--text-color);
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
  line-height: 1.7;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-color);
  letter-spacing: -0.025em;
}

h1 { font-size: 3.6rem; font-weight: 800; }
h2 { font-size: 2.7rem; font-weight: 700; }
h3 { font-size: 2.25rem; font-weight: 700; }
h4 { font-size: 1.8rem; font-weight: 600; }
h5 { font-size: 1.5rem; font-weight: 600; }
h6 { font-size: 1.35rem; font-weight: 600; }

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

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

img {
  max-width: 100%;
  height: auto;
  object-fit: cover; /* Ensure all product images fit properly */
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border: none;
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  font-size: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:active::before {
  width: 300px;
  height: 300px;
}

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

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(220, 20, 60, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  color: var(--text-color);
  border: 2px solid var(--glass-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(220, 20, 60, 0.2);
}

.btn-danger {
  background-color: var(--error-color);
  color: white;
}

.btn-danger:hover {
  background-color: #c82333;
}

.btn-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-color);
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 120px 0;
}

.section-bg {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #f0f4f8 100%);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.text-center {
  text-align: center;
}

/* Header */
.main-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--card-shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--glass-border);
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.main-nav__brand {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
}

.main-nav__menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.main-nav__link {
  font-weight: 600;
  color: var(--text-color);
  transition: var(--transition);
  position: relative;
}

.main-nav__link:hover,
.main-nav__link.active {
  color: var(--primary-color);
}

.main-nav__link:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.main-nav__link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0;
  transform: scaleX(0);
  transition: all 0.3s ease;
}

.main-nav__toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--text-color);
}

/* Search Bar Styles */
.search-bar {
  flex: 1;
  max-width: 400px;
  margin: 0 2rem;
}

.search-form {
  display: flex;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  border: 2px solid var(--glass-border);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.search-form:hover,
.search-form:focus-within {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.search-input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 16px;
  outline: none;
  color: var(--text-color);
}

.search-input::placeholder {
  color: var(--text-light);
}

.search-btn {
  padding: 12px 16px;
  background: var(--gradient-primary);
  border: none;
  color: white;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-btn:hover {
  background: var(--gradient-secondary);
  transform: scale(1.05);
}

.search-btn i {
  width: 20px;
  height: 20px;
  stroke: white;
}

/* Hero Section */
.hero-section {
  height: 65vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8));
  z-index: 1;
}

.hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: carousel 16s infinite;
}

.hero-slide:nth-child(1) {
  animation-delay: 0s;
}

.hero-slide:nth-child(2) {
  animation-delay: 8s;
}

@keyframes carousel {
  0%, 49.99% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
}

.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  animation: pulse 2s infinite;
}

/* Feature Cards */
.feature-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  padding: 50px 35px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--card-shadow);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(220, 20, 60, 0.05) 0%, rgba(37, 99, 235, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-12px) scale(1.03) rotateX(2deg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 0 30px rgba(220, 20, 60, 0.1);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-card i {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover i {
  transform: scale(1.1) rotate(5deg);
  color: var(--primary-color);
}

.feature-card i {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.feature-card h3 {
  margin-bottom: 15px;
  font-size: 17px;
}

/* Product Cards */
.product-card {
  background: rgba(255, 255, 255, 0.891);
  backdrop-filter: blur(20px);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-15px) scale(1.05) rotateY(2deg);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25), 0 0 40px rgba(220, 20, 60, 0.15);
}

.product-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: cardEntrance 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes cardEntrance {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.product-card__image-container {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.product-card__image-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(220, 20, 60, 0.1) 100%);
  opacity: 0;
  transition: var(--transition);
  z-index: 1;
}

.product-card:hover .product-card__image-container::after {
  opacity: 1;
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition);
  filter: brightness(1.05) contrast(1.1);
  position: relative;
  z-index: 0;
}

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

.product-card__body {
  padding: 20px;
}

.product-card__title {
  font-size: 16px;
  margin-bottom: 10px;
}

.product-card__description {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 15px;
  line-height: 1.4;
}

.product-card__price {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.product-card__tags {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
}

.product-card__tag {
  background: var(--secondary-color);
  color: var(--text-color);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.product-card__tag.featured {
  background: var(--primary-color);
  color: white;
}

/* Category Cards */
.category-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  padding: 50px 35px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--card-shadow);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-secondary);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.category-card::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(220, 20, 60, 0.1) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  border-radius: 50%;
}

.category-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.category-card:hover::before {
  opacity: 0.08;
}

.category-card:hover::after {
  width: 300px;
  height: 300px;
}

.category-card i {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover i {
  transform: scale(1.2) rotate(10deg);
  color: var(--primary-color);
}

.category-card i {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.category-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

/* Testimonial Cards */
.testimonial {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  padding: 35px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.testimonial:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

.testimonial:hover .testimonial-avatar {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.testimonial-quote {
  font-style: italic;
  margin-bottom: 15px;
  color: var(--text-light);
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
}

/* Gallery Styles */
.gallery-item {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.gallery-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover .gallery-image {
  transform: scale(1.05);
}

/* Map Container */
.map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

/* Shop Controls */
.shop-controls {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  align-items: center;
}

.search-wrapper {
  flex: 1;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 16px;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.1);
}

.shop-filters {
  min-width: 200px;
}

/* Cart Modal */
.cart-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: none;
}

.cart-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.cart-content {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 400px;
  max-width: 90vw;
  background: white;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  box-shadow: var(--card-shadow);
  max-height: 80vh;
  overflow-y: auto;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
}

.cart-header h2 {
  margin: 0;
}

.cart-items {
  padding: 20px;
  max-height: 400px;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
}

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

.cart-item__image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.cart-item__details {
  flex: 1;
}

.cart-item__details h4 {
  margin-bottom: 5px;
  font-size: 16px;
}

.cart-item__details p {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 10px;
}

.cart-item__controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-btn {
  background: var(--secondary-color);
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: var(--transition);
}

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

.qty {
  min-width: 30px;
  text-align: center;
  font-weight: 600;
}

.remove-btn {
  background: none;
  border: none;
  color: var(--error-color);
  cursor: pointer;
  font-size: 14px;
  text-decoration: underline;
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-total {
  font-size: 18px;
  font-weight: 700;
}

/* Cart Toggle */
.cart-toggle {
  position: fixed;
  bottom: 100px;
  right: 20px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--card-shadow);
  z-index: 1000;
  transition: var(--transition);
}

.cart-toggle:hover {
  transform: scale(1.1);
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--error-color);
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

/* Footer */
.main-footer {
  background: var(--text-color);
  color: white;
  padding: 40px 0 20px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.social-icons a {
  color: white;
  font-size: 24px;
  transition: var(--transition);
}

.social-icons a:hover {
  color: var(--primary-color);
}

/* Breadcrumb Navigation */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-item a {
  color: var(--text-light);
  transition: var(--transition);
}

.breadcrumb-item a:hover {
  color: var(--primary-color);
}

.breadcrumb-separator {
  margin: 0 8px;
  color: var(--text-light);
}

/* Enhanced Search Bar for Shop Pages */
.shop-search-bar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  border: 2px solid var(--glass-border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.shop-search-bar:focus-within {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.shop-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 16px;
  outline: none;
  color: var(--text-color);
}

.shop-search-input::placeholder {
  color: var(--text-light);
}

.shop-search-btn {
  background: var(--gradient-primary);
  border: none;
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.shop-search-btn:hover {
  transform: scale(1.05);
}

.shop-search-btn i {
  width: 16px;
  height: 16px;
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  padding: 30px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

.mega-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.mega-menu-column h4 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 600;
}

.mega-menu-column ul {
  list-style: none;
  padding: 0;
}

.mega-menu-column li {
  margin-bottom: 8px;
}

.mega-menu-column a {
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
  display: block;
  padding: 4px 0;
}

.mega-menu-column a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

/* Loading Progress Indicator */
.loading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.9);
  z-index: 9999;
  transform: translateX(-100%);
  animation: loadingProgress 2s ease-out forwards;
}

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

/* Enhanced Loading States */
.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: var(--border-radius);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--glass-border);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loading-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loadingSkeleton 1.5s infinite;
}

@keyframes loadingSkeleton {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: white;
  border-top: 1px solid var(--border-color);
  display: flex;
  z-index: 1000;
}

.bottom-nav__item {
  flex: 1;
  text-align: center;
}

.bottom-nav__link {
  display: block;
  padding: 15px 10px;
  color: var(--text-light);
  transition: var(--transition);
}

.bottom-nav__link.active {
  color: var(--primary-color);
}

.bottom-nav__link i {
  display: block;
  margin-bottom: 5px;
  font-size: 20px;
}

.bottom-nav__link span {
  font-size: 12px;
}

.bottom-nav {
  display: none;
}

/* Enhanced Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Stagger Animation */
.stagger-item {
  opacity: 0;
  transform: translateY(20px);
  animation: staggerFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.stagger-item:nth-child(1) { animation-delay: 0.1s; }
.stagger-item:nth-child(2) { animation-delay: 0.2s; }
.stagger-item:nth-child(3) { animation-delay: 0.3s; }
.stagger-item:nth-child(4) { animation-delay: 0.4s; }
.stagger-item:nth-child(5) { animation-delay: 0.5s; }
.stagger-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes staggerFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Pulse Animation */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.pulse {
  animation: pulse 2s infinite;
}

/* Bounce Animation */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.bounce {
  animation: bounce 2s infinite;
}

/* Slide In Animation */
@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-left {
  animation: slideInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.slide-in-right {
  animation: slideInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Enhanced Form Styles */
.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-label {
  display: block;
}
