/* Asosiy sozlamalar */
:root {
  --primary-color: #e67e22;
  --secondary-color: #d35400;
  --accent-color: #f39c12;
  --dark-color: #2c3e50;
  --light-color: #ecf0f1;
  --text-color: #333;
  --text-light: #777;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
  background-color: #f9f9f9;
}

/* Backgroundlar */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
  opacity: 0.7;
}

.parallax-bg {
  position: fixed;
  top: -50%;
  left: 0;
  width: 100%;
  height: 200vh;
  z-index: -2;
  background: url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  opacity: 0.2;
  will-change: transform;
}

.morphing-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(circle at 20% 80%, rgba(230, 126, 34, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(52, 152, 219, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 40% 40%, rgba(155, 89, 182, 0.1) 0%, transparent 50%);
  animation: morphing 15s ease-in-out infinite;
}

@keyframes morphing {
  0% {
    border-radius: 60% 40% 30% 70%/60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40%/50% 60% 30% 60%;
  }
  100% {
    border-radius: 60% 40% 30% 70%/60% 30% 70% 40%;
  }
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  z-index: 1000;
  transition: var(--transition);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.navbar-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.navbar-logo i {
  margin-right: 0.5rem;
  font-size: 1.8rem;
}

.navbar-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.navbar-link {
  text-decoration: none;
  color: var(--dark-color);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition);
}

.navbar-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.navbar-link:hover {
  color: var(--primary-color);
}

.navbar-link:hover::after {
  width: 100%;
}

.navbar-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.navbar-search {
  position: relative;
  display: flex;
  align-items: center;
  order: 1;
}

.navbar-search input {
  padding: 0.5rem 1rem;
  border: 1px solid #ddd;
  border-radius: 50px;
  outline: none;
  transition: var(--transition);
  width: 200px;
}

.navbar-search input:focus {
  border-color: var(--primary-color);
  width: 250px;
}

.navbar-search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  margin-left: -2.5rem;
  transition: var(--transition);
}

.navbar-search-btn:hover {
  color: var(--primary-color);
}

.navbar-audio-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text-light);
  transition: var(--transition);
}

.navbar-audio-toggle:hover {
  color: var(--primary-color);
  transform: scale(1.1);
}

/* Language Selector */
.language-selector {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: 1px solid #ddd;
  border-radius: 50px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn:hover {
  border-color: var(--primary-color);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 0.5rem;
  display: none;
  min-width: 150px;
  z-index: 10;
}

.language-selector:hover .lang-dropdown {
  display: block;
  animation: fadeIn 0.3s ease;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  transition: var(--transition);
}

.lang-option:hover {
  background: #f5f5f5;
}

/* Auth Section */
.navbar-auth {
  display: flex;
  align-items: center;
}

.navbar-signin-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.navbar-signin-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.navbar-user-profile {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-user-photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.navbar-user-info {
  display: flex;
  flex-direction: column;
}

.navbar-user-name {
  font-weight: 500;
}

.navbar-signout-btn {
  background: none;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.navbar-signout-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--dark-color);
  margin: 3px 0;
  transition: var(--transition);
  border-radius: 2px;
}

/* Video Navbar */
.slider-container {
  margin-top: 80px;
  height: 70vh;
  overflow: hidden;
  position: relative;
  margin-bottom: 3rem;
}

.slider {
  width: 100%;
  height: 100%;
}

.slide {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
}

.slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Main Title */
.main-title {
  text-align: center;
  font-size: 4rem;
  font-weight: 800;
  margin: 2rem 0 1rem;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pulse 2s infinite;
}

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

.subtitle-container {
  text-align: center;
  margin-bottom: 3rem;
}

.subtitle {
  font-size: 1.5rem;
  color: var(--text-light);
}

/* Story Section */
.story-section {
  display: flex;
  max-width: 100%;
  margin: 4rem auto;
  padding: 0 2rem;
  gap: 3rem;
  align-items: center;
}

.story-image {
  flex: 1;
  height: 500px;
  background: url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.story-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(230, 126, 34, 0.3), rgba(52, 152, 219, 0.3));
}

.story-content {
  flex: 1;
}

.story-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.line {
  overflow: hidden;
}

.story-text {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Category Navbar */
.category-navbar {
  background: white;
  padding: 1rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 3rem;
  position: sticky;
  top: 80px;
  z-index: 999;
  transition: var(--transition);
}

.category-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.category-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: white;
  border: 1px solid #ddd;
  border-radius: 25px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
  font-size: 0.85rem;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.category-btn:hover,
.category-btn:active,
.category-btn:focus {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
  outline: none;
}

/* Mobil uchun touch feedback */
@media (max-width: 768px) {
  .category-btn:active {
    transform: translateY(-1px);
    transition: transform 0.1s ease;
  }
}

/* Category Menus */
.category-menus {
  position: relative;
}

.category-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 1100;
  padding: 2rem;
  overflow-y: auto;
  display: none;
  animation: slideInUp 0.5s ease;
  -webkit-overflow-scrolling: touch;
}

@keyframes slideInUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

/* Ichki navigatsiya */
.inner-category-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: var(--border-radius);
  flex-wrap: wrap;
}

.inner-nav-btn {
  background: white;
  border: 1px solid #ddd;
  border-radius: 50px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-color);
}

.inner-nav-btn:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.inner-nav-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.menu-header h2 {
  font-size: 2rem;
  color: var(--primary-color);
}

.close-menu {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-light);
  transition: var(--transition);
}

.close-menu:hover {
  color: var(--primary-color);
  transform: rotate(90deg);
}

.menu-content {
  max-width: 1200px;
  margin: 0 auto;
}

.menu-section {
  margin-bottom: 3rem;
}

.menu-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
  position: relative;
  padding-left: 1rem;
}

.menu-section h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: var(--primary-color);
}

.menu-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1.5rem;
}

.menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
  padding: 1rem;
  border-radius: var(--border-radius);
}

.menu-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  background: white;
}

.menu-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

/* Add Restaurant Section */
.add-restaurant-section {
  margin: 3rem 0;
  padding: 0 2rem;
  perspective: 1000px;
}

.add-restaurant-banner {
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 20px;
  padding: 3rem 2rem;
  box-shadow: 0 15px 40px rgba(230, 126, 34, 0.2);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  animation: bannerFloat 6s ease-in-out infinite;
}

.add-restaurant-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="90" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.banner-icon {
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transform-style: preserve-3d;
  animation: iconRotate 8s linear infinite;
  transition: all 0.3s ease;
}

.banner-icon:hover {
  transform: rotateY(180deg) scale(1.1);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.banner-text {
  flex: 1;
  color: white;
}

.banner-text h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.banner-text p {
  font-size: 1.1rem;
  opacity: 0.9;
  line-height: 1.6;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
  margin-bottom: 1rem;
}

.banner-warning {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  padding: 1rem;
  margin-top: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  backdrop-filter: blur(5px);
}

.banner-warning i {
  color: #fff3cd;
  font-size: 1.2rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.banner-warning span {
  font-size: 0.95rem;
  line-height: 1.4;
  opacity: 0.95;
}

.banner-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.contact-first-btn {
  background: #28a745;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  min-width: 200px;
  justify-content: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transform-style: preserve-3d;
  animation: buttonPulse 4s ease-in-out infinite;
}

.contact-first-btn:hover {
  transform: translateY(-5px) rotateX(10deg) scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  background: #218838;
  color: white;
  animation: none;
}

.add-restaur.category-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(230, 126, 34, 0.2);
  border-radius: 12px;
  padding: 0.7rem 1rem;
  color: var(--dark-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  user-select: none;
  font-size: 0.9rem;
}

.add-restaurant-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  color: #ff6b6b;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid rgba(255, 255, 255, 0.2);
  text-shadow: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
  letter-spacing: 1px;
  min-width: 200px;
  justify-content: center;
  opacity: 0.8;
  cursor: pointer;
  transform-style: preserve-3d;
  animation: buttonFloat 5s ease-in-out infinite;
}

.add-restaurant-btn:hover {
  background: white;
  transform: translateY(-4px) rotateX(-10deg) scale(1.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ff6b6b;
  opacity: 1;
  animation: none;
}

.add-restaurant-btn i {
  font-size: 1.2rem;
}

/* 3D Animatsiyalar */
@keyframes bannerFloat {
  0%, 100% {
    transform: translateY(0px) rotateX(0deg);
  }
  25% {
    transform: translateY(-5px) rotateX(2deg);
  }
  50% {
    transform: translateY(-10px) rotateX(0deg);
  }
  75% {
    transform: translateY(-5px) rotateX(-2deg);
  }
}

@keyframes iconRotate {
  0% {
    transform: rotateY(0deg) rotateZ(0deg);
  }
  25% {
    transform: rotateY(90deg) rotateZ(5deg);
  }
  50% {
    transform: rotateY(180deg) rotateZ(0deg);
  }
  75% {
    transform: rotateY(270deg) rotateZ(-5deg);
  }
  100% {
    transform: rotateY(360deg) rotateZ(0deg);
  }
}

@keyframes buttonPulse {
  0%, 100% {
    transform: scale(1) rotateX(0deg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }
  50% {
    transform: scale(1.02) rotateX(5deg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  }
}

@keyframes buttonFloat {
  0%, 100% {
    transform: translateY(0px) rotateX(0deg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
  50% {
    transform: translateY(-3px) rotateX(3deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }
}

/* Floating Elements */
.floating-elements {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  pointer-events: none;
}

.floating-utensil {
  position: absolute;
  font-size: 1.5rem;
  animation: floatAround 10s linear infinite;
  opacity: 0.7;
}

.floating-utensil:nth-child(1) {
  top: 10px;
  left: 10px;
  animation-delay: 0s;
}

.floating-utensil:nth-child(2) {
  top: 30px;
  right: 10px;
  animation-delay: -3s;
}

.floating-utensil:nth-child(3) {
  bottom: 10px;
  left: 20px;
  animation-delay: -6s;
}

@keyframes floatAround {
  0% {
    transform: rotate(0deg) translateX(30px) rotate(0deg);
  }
  100% {
    transform: rotate(360deg) translateX(30px) rotate(-360deg);
  }
}

/* Banner Decoration */
.banner-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.food-particle {
  position: absolute;
  font-size: 2rem;
  opacity: 0.3;
  animation: particleFloat 15s linear infinite;
}

.food-particle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.food-particle:nth-child(2) {
  top: 60%;
  left: 80%;
  animation-delay: -3s;
}

.food-particle:nth-child(3) {
  top: 30%;
  right: 15%;
  animation-delay: -6s;
}

.food-particle:nth-child(4) {
  bottom: 40%;
  left: 20%;
  animation-delay: -9s;
}

.food-particle:nth-child(5) {
  bottom: 20%;
  right: 30%;
  animation-delay: -12s;
}

@keyframes particleFloat {
  0% {
    transform: translateY(0px) rotate(0deg) scale(1);
    opacity: 0.3;
  }
  25% {
    transform: translateY(-20px) rotate(90deg) scale(1.1);
    opacity: 0.5;
  }
  50% {
    transform: translateY(-10px) rotate(180deg) scale(0.9);
    opacity: 0.3;
  }
  75% {
    transform: translateY(-30px) rotate(270deg) scale(1.2);
    opacity: 0.4;
  }
  100% {
    transform: translateY(0px) rotate(360deg) scale(1);
    opacity: 0.3;
  }
}

/* Responsive Design for Add Restaurant Section */
@media (max-width: 768px) {
  .add-restaurant-section {
    padding: 0 1rem;
  }
  
  .add-restaurant-banner {
    padding: 2rem 1.5rem;
  }
  
  .banner-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .banner-icon {
    font-size: 3rem;
  }
  
  .banner-text h2 {
    font-size: 1.8rem;
  }
  
  .banner-text p {
    font-size: 1rem;
  }
  
  .banner-warning {
    padding: 0.8rem;
    margin-top: 0.8rem;
  }
  
  .banner-warning span {
    font-size: 0.85rem;
  }
  
  .banner-buttons {
    width: 100%;
  }
  
  .contact-first-btn,
  .add-restaurant-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    min-width: auto;
    width: 100%;
    max-width: 250px;
    animation: none; /* Mobile da animatsiyalarni o'chirish */
  }
  
  .floating-elements,
  .banner-decoration {
    display: none; /* Mobile da qo'shimcha elementlarni yashirish */
  }
  
  .banner-icon {
    animation: none; /* Mobile da icon animatsiyasini o'chirish */
  }
  
  .add-restaurant-banner {
    animation: none; /* Mobile da banner animatsiyasini o'chirish */
  }
}

@media (max-width: 480px) {
  .banner-text h2 {
    font-size: 1.5rem;
  }
  
  .banner-text p {
    font-size: 0.9rem;
  }
  
  .add-restaurant-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* Cards Section */
#cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.8rem;
  max-width: 1800px;
  margin: 0 auto 4rem;
  padding: 0 0.5rem;
}

.enhanced-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  position: relative;
  transform-style: preserve-3d;
  perspective: 1000px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  width: 100%;
  aspect-ratio: 0.9/1;
  min-height: 460px;
  display: flex;
  flex-direction: column;
}

.enhanced-card:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18), 0 4px 16px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(230, 126, 34, 0.3);
}

.logo {
  padding: 1rem 1rem 0.5rem;
  position: relative;
  z-index: 2;
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.1);
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  backdrop-filter: blur(5px);
}

.card-image {
  height: 180px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  z-index: 2;
  border-radius: 12px;
  margin: 0 0.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: var(--transition);
  border-radius: 12px;
}

.enhanced-card:hover .card-image img {
  transform: scale(1.1);
}

.meta {
  padding: 0.5rem 1rem 0;
  font-size: 0.75rem;
  color: var(--dark-color);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.1);
  margin: 0.5rem;
  border-radius: 6px;
  backdrop-filter: blur(5px);
  position: relative;
  z-index: 2;
}

.tags {
  display: flex;
  gap: 0.3rem;
  padding: 0.5rem 1rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.tag {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.7rem;
  color: var(--dark-color);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.desc {
  padding: 0 1rem 0.5rem;
  color: var(--dark-color);
  font-size: 0.85rem;
  line-height: 1.4;
  flex-grow: 1;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.05);
  margin: 0 0.5rem;
  border-radius: 6px;
  backdrop-filter: blur(5px);
  position: relative;
  z-index: 2;
}

/* Tugmalar uchun yangi stillar */
.cta {
  display: flex;
  gap: 0.4rem;
  padding: 0 1rem 1rem;
  margin-top: auto;
  position: relative;
  z-index: 2;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  background: rgba(230, 126, 34, 0.8);
  backdrop-filter: blur(10px);
  color: white;
  text-decoration: none;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  transition: var(--transition);
  flex: 1;
  font-size: 0.8rem;
  min-height: 38px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn:hover {
  background: rgba(211, 84, 0, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230, 126, 34, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Maxsus restoran tugmalari uchun sozlamalar */
.enhanced-card[data-tags*="kfc"] .btn,
.enhanced-card[data-tags*="caravan"] .btn,
.enhanced-card[data-tags*="afsona"] .btn,
.enhanced-card[data-tags*="besh qozon"] .btn {
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  min-height: 40px;
}

/* Mobile qurilmalar uchun qo'shimcha sozlamalar */
@media (max-width: 768px) {
  .cta {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .btn {
    min-height: 48px;
    font-size: 1rem;
  }
  
  .enhanced-card[data-tags*="kfc"] .btn,
  .enhanced-card[data-tags*="caravan"] .btn,
  .enhanced-card[data-tags*="afsona"] .btn,
  .enhanced-card[data-tags*="besh qozon"] .btn {
    min-height: 44px;
    font-size: 0.9rem;
  }
}

/* Kichik ekranlar uchun qo'shimcha sozlamalar */
@media (max-width: 576px) {
  .cta {
    padding: 0 1rem 1rem;
  }
  
  .btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
  
  .enhanced-card[data-tags*="kfc"] .btn,
  .enhanced-card[data-tags*="caravan"] .btn,
  .enhanced-card[data-tags*="afsona"] .btn,
  .enhanced-card[data-tags*="besh qozon"] .btn {
    padding: 0.5rem 0.9rem;
    font-size: 0.85rem;
  }
}

/* About Us Section */
.about-us-section {
  background: white;
  padding: 4rem 0;
  margin-top: 2rem;
}

.about-container {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  gap: 3rem;
  align-items: center;
}

.about-content {
  flex: 1;
}

.about-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.about-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--primary-color);
}

.about-text {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  background: #f9f9f9;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature h3 {
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.feature p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.about-image {
  flex: 1;
}

.image-placeholder {
  height: 400px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.image-placeholder:hover img {
  transform: scale(1.05);
}

/* Animatsiyalar */
.fade-in-up {
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .story-section,
  .about-container {
    flex-direction: column;
  }
  
  .story-image,
  .about-image {
    width: 100%;
  }
  
  .navbar-menu {
    display: none;
  }
  
  .navbar-controls {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .main-title {
    font-size: 3rem;
  }
  
  .category-container {
    flex-wrap: wrap;
  }
  
  #cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 0 1rem;
  }
}

@media (max-width: 768px) {
  .navbar-container {
    padding: 1rem;
  }
  
  .parallax-bg {
    background-attachment: scroll;
    transform: none !important;
  }
  
  .main-title {
    font-size: 2.5rem;
  }
  
  .subtitle {
    font-size: 1.2rem;
  }
  
  .story-title,
  .about-title {
    font-size: 2rem;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .cta {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .btn {
    font-size: 0.8rem;
    min-height: 36px;
  }
}

@media (max-width: 576px) {
  .navbar-container {
    padding: 0.75rem 1rem;
  }
  
  .navbar-logo .logo-img {
    width: 130px;
    height: 35px;
  }
  
  .navbar-logo {
    font-size: 1.5rem;
  }
  
  .mobile-menu-toggle {
    padding: 0.25rem;
  }
  
  .mobile-menu-toggle span {
    width: 22px;
    height: 2px;
  }
  
  .navbar-controls {
    top: 140px;
    padding: 1rem;
  }
  
  .navbar-menu {
    padding: 1.5rem 1rem;
  }
  
  .navbar-menu .navbar-link {
    font-size: 1rem;
    padding: 0.75rem 0;
  }
  
  .category-navbar {
    top: 70px;
    padding: 0.75rem 0;
    position: relative;
    z-index: 998;
  }
  
  .category-container {
    gap: 0.5rem;
    padding: 0 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .category-btn {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    min-height: 44px;
    min-width: 44px;
  }
  
  .inner-category-nav {
    gap: 0.2rem;
    padding: 0.5rem;
  }
  
  .inner-nav-btn {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
  }
  
  #cards {
    grid-template-columns: 1fr;
    padding: 0 0.5rem;
    gap: 1.2rem;
  }
  
  .enhanced-card {
    min-height: 480px;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  #cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 0.3rem;
  }
  
  .enhanced-card {
    min-height: 500px;
    max-width: none;
  }
  
  .menu-items {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Restaurant Items Styling */
.restaurant-section {
  margin-bottom: 2rem;
}

.restaurant-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
  text-align: center;
}

.restaurant-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.restaurant-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  position: relative;
}

.restaurant-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  color: inherit;
}

.restaurant-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.restaurant-info {
  padding: 1.5rem;
  flex-grow: 1;
}

.restaurant-info h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.restaurant-info p {
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--primary-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Category Menu Improvements */
.category-menu {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
}

.menu-header {
  background: white;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive Design for Restaurant Items */
@media (max-width: 768px) {
  .inner-category-nav {
    gap: 0.25rem;
    padding: 0.75rem;
  }
  
  .inner-nav-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
  
  .restaurant-items {
    grid-template-columns: 1fr;
  }
  
  .restaurant-item {
    flex-direction: row;
    align-items: center;
  }
  
  .restaurant-item img {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
  }
  
  .restaurant-info {
    padding: 1rem;
  }
}

@media (max-width: 576px) {
  .restaurant-item {
    flex-direction: column;
  }
  
  .restaurant-item img {
    width: 100%;
    height: 150px;
  }
}

/* Logo uchun yangi stillar */
.logo-img {
  width: 160px; /* Oldingi: 120px */
  height: 40px; /* Balandligi o'zgarmaydi */
  border-radius: 8px; /* Oldingi: 50% */
  object-fit: cover;
  margin-right: 10px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  font-size: 1.8rem; /* Oldingi: 2.5rem */
  font-weight: 700; /* Oldingi: 900px */
  color: var(--primary-color);
}

/* Mobile menyu uchun responsive stillar */
@media (max-width: 992px) {
  .navbar-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 2rem 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    gap: 1rem;
  }
  
  .navbar-menu.active {
    transform: translateY(0);
    opacity: 1;
  }
  
  .navbar-menu .navbar-item {
    text-align: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
  }
  
  .navbar-menu .navbar-item:last-child {
    border-bottom: none;
  }
  
  .navbar-menu .navbar-link {
    font-size: 1.1rem;
    padding: 1rem 0;
    display: block;
  }
  
  .navbar-controls {
    position: fixed;
    top: 160px;
    left: 0;
    width: 100%;
    background: white;
    padding: 1.5rem 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 998;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border-top: 1px solid #eee;
  }
  
  .navbar-controls.active {
    transform: translateY(0);
    opacity: 1;
  }
  
  .navbar-search {
    order: 1;
    width: 100%;
  }
  
  .navbar-search input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }
  
  .navbar-search input:focus {
    width: 100%;
  }
  
  .navbar-audio-toggle {
    order: 2;
    align-self: center;
    padding: 0.75rem;
    font-size: 1.5rem;
  }
  
  .language-selector {
    order: 3;
    align-self: center;
  }
  
  .lang-btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  .navbar-auth {
    order: 4;
    align-self: center;
  }
  
  .navbar-signin-btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  /* Mobile menu overlay */
  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 997;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}


/* Story Section Background */
.story-section {
  position: relative;
  padding: 4rem 0;
  margin: 4rem 0;
  overflow: hidden;
}

.story-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  z-index: -1;
}

.story-container {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.story-image {
  flex: 1;
  height: 500px;
  background: url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.story-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(230, 126, 34, 0.1), rgba(52, 152, 219, 0.1));
}

.story-content {
  flex: 1;
}

.story-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: var(--dark-color);
}

.story-logo {
  max-width: 200px;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.story-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.line {
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.story-text-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.story-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-color);
  padding: 0.5rem 0;
  border-left: 3px solid transparent;
  padding-left: 1rem;
  transition: var(--transition);
}

.story-text:hover {
  border-left-color: var(--primary-color);
  background: rgba(230, 126, 34, 0.05);
  padding-left: 1.5rem;
}

/* Responsive Design for Story Section */
@media (max-width: 992px) {
  .story-container {
    flex-direction: column;
  }
  
  .story-image {
    width: 100%;
    height: 300px;
  }
  
  .story-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .story-section {
    padding: 2rem 0;
    margin: 2rem 0;
  }
  
  .story-container {
    padding: 0 1rem;
  }
  
  .story-title {
    font-size: 1.8rem;
  }
  
  .story-text {
    font-size: 1rem;
  }
}

/* Story Section uchun to'liq ekran balandligi */
.story-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
  margin: 0;
  position: relative;
}

.story-container {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  gap: 3rem;
  align-items: center;
  min-height: 80vh;
}

/* Story content balandligini to'g'irlash */
.story-content {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-text-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 1rem;
}

/* Scrollbar stilini yaxshilash */
.story-text-container::-webkit-scrollbar {
  width: 6px;
}

.story-text-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.story-text-container::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

.story-text-container::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}




/* Video va story-section orasidagi bo'shliqni yo'q qilish */
.slider-container {
  margin-bottom: 0 !important;
}

/* Story-section bo'limini optimallashtirish */
.story-section {
  min-height: auto !important;
  padding: 2rem 0 !important;
  margin: 0 !important;
  position: relative;
}

.story-container {
  min-height: auto !important;
  padding: 2rem !important;
  gap: 2rem;
}

/* Story text container balandligini cheklash */
.story-text-container {
  max-height: 300px !important;
  overflow-y: auto;
  padding-right: 0.5rem;
}

/* Scrollbar stilini yaxshilash */
.story-text-container::-webkit-scrollbar {
  width: 4px;
}

.story-text-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.story-text-container::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

.story-text-container::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

/* Mobile ovoz boshqaruv tugmasi */
.mobile-audio-toggle {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 1.5rem;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-audio-toggle:hover {
  transform: scale(1.1);
  background: var(--secondary-color);
}

@media (max-width: 768px) {
  .mobile-audio-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Mobile da story-section balandligini qisqartirish */
  .story-container {
    padding: 1rem !important;
    gap: 1.5rem;
  }
  
  .story-image {
    height: 200px !important;
  }
  
  .story-title {
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
  }
  
  .story-logo {
    max-width: 150px;
  }
  
  .story-text {
    font-size: 0.9rem !important;
    padding: 0.25rem 0 !important;
  }
}

/* Kategoriya tugmalari uchun maxsus touch optimizatsiyasi */
.category-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  border: 1px solid #ddd;
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
  
  /* Touch optimizatsiyasi */
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  min-height: 44px; /* iOS uchun minimal balandlik */
  min-width: 44px; /* iOS uchun minimal kenglik */
}

.category-btn:hover,
.category-btn:active,
.category-btn:focus {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
  outline: none;
}

/* Mobil uchun touch feedback va yaxshilangan responsive design */
@media (max-width: 768px) {
  .category-navbar {
    padding: 0.75rem 0;
    position: relative;
    top: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .category-container {
    gap: 0.5rem;
    padding: 0 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  
  .category-btn {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    flex: 1 1 calc(50% - 0.25rem);
    min-width: 140px;
    max-width: 180px;
    justify-content: center;
    text-align: center;
    border-radius: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .category-btn:active {
    transform: translateY(-1px) scale(0.98);
    transition: transform 0.1s ease;
  }
  
  .category-btn:hover,
  .category-btn:active,
  .category-btn:focus {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.25);
  }
  
  .category-btn i {
    font-size: 1.1rem;
    margin-right: 0.4rem;
  }
  
  .category-btn span {
    font-size: 0.8rem;
    font-weight: 600;
  }
}

/* Juda kichik ekranlar uchun yaxshilangan responsive design */
@media (max-width: 576px) {
  .category-navbar {
    padding: 0.5rem 0;
  }
  
  .category-container {
    gap: 0.4rem;
    padding: 0 0.5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }
  
  .category-btn {
    padding: 0.5rem 0.4rem;
    font-size: 0.7rem;
    min-width: auto;
    width: 100%;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    min-height: 60px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  }
  
  .category-btn:hover,
  .category-btn:active,
  .category-btn:focus {
    transform: translateY(-1px) scale(1.05);
    box-shadow: 0 3px 8px rgba(230, 126, 34, 0.3);
  }
  
  .category-btn i {
    font-size: 1rem;
    margin-right: 0;
    margin-bottom: 0.1rem;
  }
  
  .category-btn span {
    font-size: 0.65rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.1;
  }
  
  /* 5 ta tugma uchun maxsus grid layout */
  .category-btn:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }
}

/* Mobile menyu ochiq bo'lganda kategoriya navbarini to'g'ri joylashtirish */
@media (max-width: 992px) {
  .category-navbar {
    position: relative !important;
    top: auto !important;
    z-index: 998;
    margin-top: 0;
  }
  
  /* Mobile menyu ochiq bo'lganda */
  .navbar-menu.active ~ .category-navbar {
    margin-top: 0;
  }
}

/* Juda kichik ekranlar uchun qo'shimcha optimizatsiya */
@media (max-width: 480px) {
  .category-navbar {
    padding: 0.5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  }
  
  .category-container {
    gap: 0.3rem;
    padding: 0 0.5rem;
  }
  
  .category-btn {
    padding: 0.6rem 0.4rem;
    min-height: 65px;
    border-radius: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid rgba(230, 126, 34, 0.1);
  }
  
  .category-btn:hover,
  .category-btn:active,
  .category-btn:focus {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.25);
  }
  
  .category-btn i {
    font-size: 1.1rem;
  }
  
  .category-btn span {
    font-size: 0.65rem;
    font-weight: 700;
  }
}

/* Kategoriya menyularini mobile uchun optimallashtirish */
@media (max-width: 768px) {
  .category-menu {
    padding: 1rem;
  }
  
  .menu-header {
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
    padding: 1rem 0;
  }
  
  .menu-header h2 {
    font-size: 1.5rem;
  }
  
  .restaurant-items {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .restaurant-item {
    flex-direction: row;
    align-items: center;
  }
  
  .restaurant-item img {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
  }
  
  .restaurant-info {
    padding: 1rem;
  }
  
  .restaurant-info h4 {
    font-size: 1.1rem;
  }
}

/* Add Restaurant Section */
.add-restaurant-section {
  background: linear-gradient(135deg, #ff6b6b 0%, #ffa500 100%);
  padding: 4rem 0;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
  perspective: 1000px;
}

.add-restaurant-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 4rem 0;
  margin: 2rem 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-header h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 700;
}

.contact-header p {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.contact-icon {
  font-size: 2rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-details h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-details p {
  margin: 0.5rem 0;
}

.contact-details a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.contact-details span {
  color: #888;
  font-size: 0.9rem;
  font-style: italic;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-form h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 600;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
}

.contact-note {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  margin-top: 2rem;
}

.contact-note p {
  margin: 0;
  color: #856404;
  font-size: 1rem;
}

.contact-note strong {
  color: var(--primary-color);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .contact-section {
    padding: 2rem 0;
    margin: 1rem;
    border-radius: 15px;
  }
  
  .contact-container {
    padding: 0 1rem;
  }
  
  .contact-header h2 {
    font-size: 2rem;
  }
  
  .contact-header p {
    font-size: 1rem;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-item {
    padding: 1rem;
  }
  
  .contact-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  .contact-details h3 {
    font-size: 1.1rem;
  }
  
  .contact-details a {
    font-size: 1rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .contact-form h3 {
    font-size: 1.3rem;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 0.8rem;
  }
  
  .submit-btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
  
  .contact-note {
    padding: 1rem;
  }
  
  .contact-note p {
    font-size: 0.9rem;
  }
}

/* Contact Requests Section (for add-restaurant.html) */
.contact-requests-section {
  margin-top: 3rem;
  padding: 2rem;
  background: #f8f9fa;
  border-radius: 15px;
  border: 2px solid #e9ecef;
}

.requests-container {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.requests-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e9ecef;
}

.requests-header h3 {
  color: var(--primary-color);
  margin: 0;
  font-size: 1.3rem;
}

.contact-requests-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.request-item-card {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.request-item-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.2);
}

.request-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.request-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
}

.request-date {
  color: #666;
  font-size: 0.9rem;
  font-style: italic;
}

.request-details {
  margin-bottom: 1rem;
}

.request-info {
  line-height: 1.6;
  color: #333;
}

.request-info strong {
  color: var(--primary-color);
}

.request-info a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
}

.request-info a:hover {
  text-decoration: underline;
}

.request-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.action-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.3s ease;
}

.call-btn {
  background: #28a745;
  color: white;
}

.call-btn:hover {
  background: #218838;
  color: white;
}

.telegram-btn {
  background: #0088cc;
  color: white;
}

.telegram-btn:hover {
  background: #006699;
  color: white;
}

.action-btn.delete-btn {
  background: #dc3545;
  color: white;
}

.action-btn.delete-btn:hover {
  background: #c82333;
}

/* Mobile responsiveness for contact requests */
@media (max-width: 768px) {
  .contact-requests-section {
    margin-top: 2rem;
    padding: 1rem;
  }
  
  .requests-container {
    padding: 1rem;
  }
  
  .requests-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  
  .request-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .request-title {
    font-size: 1.1rem;
  }
  
  .request-actions {
    justify-content: flex-start;
  }
  
  .action-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
}

/* Navbar Menu Responsive */
@media (max-width: 1200px) {
  .navbar-menu {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
}

/* Section Styles */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--dark-color);
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

/* News Section */
.news-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.news-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.news-image {
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.news-card:hover .news-image img {
  transform: scale(1.1);
}

.news-content {
  padding: 1.5rem;
}

.news-content h3 {
  color: var(--dark-color);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.news-content p {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.news-date {
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Experts Section */
.experts-section {
  background: white;
}

.experts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.expert-card {
  text-align: center;
  padding: 2rem;
  border-radius: var(--border-radius);
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.expert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.expert-image {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--primary-color);
}

.expert-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expert-info h3 {
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

.expert-title {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.expert-description {
  color: var(--text-light);
  line-height: 1.6;
}

/* Articles Section */
.articles-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.article-card {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.article-card h3 {
  color: var(--dark-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.article-card p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.read-more:hover {
  color: var(--secondary-color);
}

/* Podcast Section */
.podcast-section {
  background: white;
}

.podcast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.podcast-card {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}

.podcast-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.podcast-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.podcast-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(230, 126, 34, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  transition: var(--transition);
}

.podcast-card:hover .play-button {
  background: var(--primary-color);
  transform: translate(-50%, -50%) scale(1.1);
}

.podcast-info {
  padding: 1.5rem;
}

.podcast-info h3 {
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

.podcast-info p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.podcast-duration {
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Reviews Section */
.reviews-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.review-card {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.review-header {
  margin-bottom: 1rem;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reviewer-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.reviewer-info h4 {
  color: var(--dark-color);
  margin-bottom: 0.25rem;
}

.rating {
  font-size: 0.9rem;
}

.review-text {
  color: var(--text-light);
  line-height: 1.6;
  font-style: italic;
}

/* Category Search Styles */
.category-search {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 2px solid transparent;
  border-radius: 30px;
  padding: 0.8rem 1.2rem;
  box-shadow: 0 8px 25px rgba(230, 126, 34, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0 1rem;
  position: relative;
  overflow: hidden;
}

.category-search::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(230, 126, 34, 0.1), transparent);
  transition: left 0.6s;
}

.category-search:hover::before {
  left: 100%;
}

.category-search:hover {
  border-color: var(--primary-color);
  box-shadow: 0 12px 35px rgba(230, 126, 34, 0.25);
  transform: translateY(-2px);
}

.category-search:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(230, 126, 34, 0.1);
}

.category-search input {
  border: none;
  outline: none;
  padding: 0.5rem 0.8rem;
  font-size: 1rem;
  background: transparent;
  color: var(--dark-color);
  width: 220px;
  font-weight: 500;
  z-index: 2;
  position: relative;
}

.category-search input::placeholder {
  color: var(--text-light);
  font-weight: 400;
}

.category-search-btn {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-left: 0.5rem;
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
  position: relative;
  z-index: 2;
}

.category-search-btn:hover {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

.category-search-btn:active {
  transform: scale(0.95);
}

.category-search-btn i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.category-search-btn:hover i {
  transform: scale(1.2);
}

/* Responsive for category search */
@media (max-width: 768px) {
  .category-search {
    margin: 0.5rem 0;
    width: 100%;
    max-width: 300px;
    padding: 0.6rem 1rem;
  }
  
  .category-search input {
    width: 160px;
    font-size: 0.9rem;
  }
  
  .category-search-btn {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .category-search {
    padding: 0.5rem 0.8rem;
  }
  
  .category-search input {
    width: 120px;
  }
  
  .category-search-btn {
    width: 35px;
    height: 35px;
  }
}