@import url("https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&family=Dancing+Script:wght@400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700;800;900&display=swap");

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

:root {
  --primary-gold: #ffd700;
  --secondary-gold: #ffa500;
  --accent-orange: #ff6347;
  --deep-brown: #2c1810;
  --light-brown: #8b4513;
  --cream: #f5deb3;
  --dark-bg: #0a0a0a;
  --card-bg: rgba(255, 215, 0, 0.1);
  --text-light: #d2b48c;
}

body {
  font-family: "Vazirmatn", sans-serif;
  overflow-x: hidden;
  background: var(--dark-bg);
  color: #fff;
  cursor: none;
}

/* Custom Cursor - Hide on mobile */
.custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, var(--primary-gold), var(--secondary-gold));
  border-radius: 50%;
  pointer-events: none;
  z-index: 10001;
  transition: all 0.1s ease;
  box-shadow: 0 0 20px var(--primary-gold);
}

.custom-cursor::before {
  content: "";
  position: absolute;
  top: -15px;
  left: -15px;
  width: 50px;
  height: 50px;
  border: 2px solid var(--primary-gold);
  border-radius: 50%;
  opacity: 0.3;
  animation: cursorPulse 2s ease-in-out infinite;
}

@keyframes cursorPulse {
  0%,
  100% {
    transform: scale(0.5);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.1;
  }
}

.custom-cursor.hover {
  transform: scale(2);
  background: radial-gradient(circle, var(--accent-orange), var(--primary-gold));
  box-shadow: 0 0 40px var(--accent-orange);
}

/* Hide cursor on mobile */
@media (max-width: 768px) {
  .custom-cursor {
    display: none;
  }

  body {
    cursor: auto;
  }
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #2c1810, #1a0f08, #3d2817);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  overflow: hidden;
}

.coffee-beans-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.coffee-bean {
  position: absolute;
  width: 12px;
  height: 16px;
  background: linear-gradient(45deg, #8b4513, #a0522d, #cd853f);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  animation: fallDown linear infinite;
  box-shadow: 0 0 10px rgba(139, 69, 19, 0.5);
}

.coffee-bean::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2px;
  height: 12px;
  background: #654321;
  border-radius: 1px;
}

@keyframes fallDown {
  0% {
    transform: translateY(-100px) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(calc(100vh + 100px)) rotate(360deg);
    opacity: 0;
  }
}

.loading-content {
  text-align: center;
  z-index: 2;
  position: relative;
}

.loading-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  font-size: 4rem;
  font-weight: 900;
  background: linear-gradient(45deg, #ffd700, #ffa500, #ff6347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem;
  animation: glow 2s ease-in-out infinite alternate;
}

.loading-logo-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-gold);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
  animation: logoSpin 3s linear infinite;
}

@keyframes logoSpin {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.1);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

.loading-text {
  font-size: 1.5rem;
  color: #d2b48c;
  margin-bottom: 2rem;
  animation: pulse 1.5s ease-in-out infinite;
}

.loading-progress {
  width: 300px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin: 0 auto;
}

.loading-bar {
  height: 100%;
  background: linear-gradient(90deg, #ffd700, #ffa500);
  border-radius: 3px;
  animation: loadProgress 4s ease-in-out;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

@keyframes glow {
  0% {
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
  }
  100% {
    text-shadow: 0 0 40px rgba(255, 215, 0, 0.8), 0 0 60px rgba(255, 165, 0, 0.6);
  }
}

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

@keyframes loadProgress {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

/* Main Content */
.main-content {
  opacity: 0;
  transition: opacity 2s ease-in;
}

.main-content.show {
  opacity: 1;
}

/* Floating Particles */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.particle {
  position: absolute;
  opacity: 0.2;
  animation: particleFloat 12s linear infinite;
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) translateX(0px) rotate(0deg) scale(0.5);
    opacity: 0;
  }
  10% {
    opacity: 0.4;
  }
  90% {
    opacity: 0.4;
  }
  100% {
    transform: translateY(-100px) translateX(50px) rotate(360deg) scale(1);
    opacity: 0;
  }
}

/* Enhanced Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(30px);
  z-index: 1000;
  transition: all 0.5s ease;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.header.scrolled {
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 10px 40px rgba(255, 215, 0, 0.2);
  transform: translateY(-100%);
  animation: headerSlide 0.5s ease-out 0.2s forwards;
}

@keyframes headerSlide {
  to {
    transform: translateY(0);
  }
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: logoBreath 4s ease-in-out infinite;
}

.logo-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-gold);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
  transition: all 0.3s ease;
}

.logo-text {
  font-family: "Dancing Script", cursive;
  font-size: 2.8rem;
  font-weight: 900;
  background: linear-gradient(45deg, var(--primary-gold), var(--secondary-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo:hover .logo-image {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.logo:hover .logo-text {
  transform: scale(1.05);
  text-shadow: 0 0 20px var(--primary-gold);
}

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 3rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  position: relative;
  transition: all 0.3s ease;
  padding: 1rem 1.5rem;
  border-radius: 25px;
}

.nav-links a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-gold), var(--secondary-gold));
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-links a:hover::before {
  width: 80%;
}

.nav-links a:hover {
  color: var(--primary-gold);
  background: rgba(255, 215, 0, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 215, 0, 0.2);
}

.social-header {
  display: flex;
  gap: 1rem;
}

.social-header a {
  color: var(--text-light);
  font-size: 1.3rem;
  transition: all 0.3s ease;
  padding: 0.8rem;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
}

.social-header a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
  transition: left 0.5s ease;
}

.social-header a:hover::before {
  left: 100%;
}

.social-header a:hover {
  color: var(--primary-gold);
  background: rgba(255, 215, 0, 0.1);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(44, 24, 16, 0.6), rgba(0, 0, 0, 0.7)),
    radial-gradient(circle at 30% 70%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(255, 165, 0, 0.1) 0%, transparent 50%),
    url("https://images.unsplash.com/photo-1501339847302-ac426a4a7cbb?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80")
    center / cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23FFD700" opacity="0.1"><animate attributeName="opacity" values="0.1;0.3;0.1" dur="3s" repeatCount="indefinite"/></circle><circle cx="80" cy="30" r="1.5" fill="%23FFA500" opacity="0.1"><animate attributeName="opacity" values="0.1;0.4;0.1" dur="2s" repeatCount="indefinite"/></circle><circle cx="60" cy="70" r="2.5" fill="%23FFD700" opacity="0.1"><animate attributeName="opacity" values="0.1;0.2;0.1" dur="4s" repeatCount="indefinite"/></circle></svg>');
  animation: sparkleMove 15s linear infinite;
}

@keyframes sparkleMove {
  0% {
    transform: translateX(0) translateY(0);
  }
  100% {
    transform: translateX(-100px) translateY(-50px);
  }
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--primary-gold);
  border-radius: 50%;
  animation: heroParticleFloat 10s linear infinite;
  box-shadow: 0 0 15px var(--primary-gold);
}

@keyframes heroParticleFloat {
  0% {
    transform: translateY(100vh) translateX(0px) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
    transform: translateY(90vh) translateX(20px) scale(1);
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-10vh) translateX(-20px) scale(0);
    opacity: 0;
  }
}

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-cup {
  position: absolute;
  font-size: 3rem;
  opacity: 0.15;
  animation: floatCup 8s ease-in-out infinite;
  filter: drop-shadow(0 0 10px var(--primary-gold));
}

@keyframes floatCup {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-30px) rotate(5deg);
  }
  50% {
    transform: translateY(-20px) rotate(-5deg);
  }
  75% {
    transform: translateY(-40px) rotate(3deg);
  }
}

.hero-content {
  z-index: 2;
  max-width: 900px;
  padding: 0 2rem;
  animation: heroContentReveal 2s ease-out;
}

@keyframes heroContentReveal {
  0% {
    opacity: 0;
    transform: translateY(80px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-title {
  font-family: "Dancing Script", cursive;
  font-size: 5.5rem;
  font-weight: 900;
  margin-bottom: 2rem;
  color: var(--primary-gold);
  animation: titleMorph 6s ease-in-out infinite;
  text-shadow: 0 0 50px rgba(255, 215, 0, 0.3);
  line-height: 1.2;
}

@keyframes titleMorph {
  0%,
  100% {
    transform: scale(1);
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
  }
  50% {
    transform: scale(1.05);
    text-shadow: 0 0 50px rgba(255, 215, 0, 0.8);
  }
}

.hero-subtitle {
  font-size: 1.8rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  animation: subtitleWave 4s ease-in-out infinite;
  line-height: 1.6;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

@keyframes subtitleWave {
  0%,
  100% {
    transform: translateY(0px) rotateX(0deg);
    opacity: 0.95;
  }
  50% {
    transform: translateY(-10px) rotateX(5deg);
    opacity: 1;
  }
}

.hero-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: buttonsReveal 2s ease-out 1s both;
}

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

.btn {
  padding: 1.3rem 3rem;
  border: none;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s ease;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
  color: var(--dark-bg);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 2px solid var(--primary-gold);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.btn:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 20px 40px rgba(255, 215, 0, 0.5);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--secondary-gold), var(--accent-orange));
}

.btn-secondary:hover {
  background: var(--primary-gold);
  color: var(--dark-bg);
}

/* Menu Section */
.menu-section {
  padding: 6rem 0;
  background: linear-gradient(
    135deg,
    #1a1a1a 0%,
    var(--deep-brown) 25%,
    #1a1a1a 50%,
    var(--deep-brown) 75%,
    #1a1a1a 100%
  );
  position: relative;
  overflow: hidden;
}

.menu-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="coffee-pattern" x="0" y="0" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="2" fill="%23FFD700" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23coffee-pattern)"/></svg>');
  opacity: 0.3;
}

.section-title {
  text-align: center;
  font-family: "Dancing Script", cursive;
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 4rem;
  background: linear-gradient(45deg, var(--primary-gold), var(--secondary-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  animation: titleSpectacle 4s ease-in-out infinite;
  z-index: 2;
}

@keyframes titleSpectacle {
  0%,
  100% {
    transform: scale(1);
    text-shadow: 0 0 20px var(--primary-gold);
  }
  50% {
    transform: scale(1.05);
    text-shadow: 0 0 40px var(--secondary-gold);
  }
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-gold),
    var(--secondary-gold),
    var(--primary-gold),
    transparent
  );
  animation: lineGlow 3s ease-in-out infinite;
}

@keyframes lineGlow {
  0%,
  100% {
    box-shadow: 0 0 10px var(--primary-gold);
  }
  50% {
    box-shadow: 0 0 30px var(--secondary-gold);
  }
}

.menu-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.menu-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
  padding: 0 1rem;
  justify-items: center; /* دکمه‌ها وسط ستون باشن */
}


.category-btn {
  padding: 0.8rem 1.5rem;
  background: transparent;
  border: 2px solid var(--primary-gold);
  color: var(--primary-gold);
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.4s ease;
  font-weight: 600;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}

.category-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--primary-gold);
  transition: left 0.4s ease;
  z-index: -1;
}

.category-btn:hover::before,
.category-btn.active::before {
  left: 0;
}

.category-btn.active,
.category-btn:hover {
  color: var(--dark-bg);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .menu-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.menu-card {
  background: linear-gradient(145deg, rgba(255, 215, 0, 0.1) 0%, rgba(0, 0, 0, 0.9) 100%);
  border-radius: 25px;
  overflow: hidden;
  border: 2px solid rgba(255, 215, 0, 0.2);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  cursor: pointer;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
}

.menu-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
  transition: left 0.8s ease;
  z-index: 1;
}

.menu-card:hover::before {
  left: 100%;
}

.menu-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(255, 215, 0, 0.4);
  border-color: rgba(255, 215, 0, 0.6);
}

.menu-card-image-container {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 25px 25px 0 0;
}

.menu-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s ease;
  position: relative;
  z-index: 2;
}

.menu-card:hover .menu-card-image {
  transform: scale(1.1);
  filter: brightness(1.1) contrast(1.1) saturate(1.2);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 165, 0, 0.1) 50%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 3;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.menu-card:hover .image-overlay {
  opacity: 1;
}

.price-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
  color: var(--dark-bg);
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  font-family: "Dancing Script", cursive;
  font-size: 1.2rem;
  font-weight: 700;
  z-index: 4;
  box-shadow: 0 8px 16px rgba(255, 215, 0, 0.4);
  animation: pricePulse 3s ease-in-out infinite;
}

@keyframes pricePulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 8px 16px rgba(255, 215, 0, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(255, 215, 0, 0.6);
  }
}

.menu-card-content {
  padding: 2rem;
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(0, 0, 0, 0.8) 100%);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-card h3 {
  font-family: "Dancing Script", cursive;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-gold);
  margin-bottom: 1rem;
  text-align: center;
  animation: titleGlow 4s ease-in-out infinite;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

@keyframes titleGlow {
  0%,
  100% {
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
  }
  50% {
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
  }
}

.menu-card p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  text-align: center;
  opacity: 0.9;
}

.menu-card-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: auto;
}

.order-btn {
  background: linear-gradient(135deg, var(--light-brown), #a0522d);
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.4s ease;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(139, 69, 19, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.order-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.order-btn:hover::before {
  left: 100%;
}

.order-btn:hover {
  background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 30px rgba(255, 215, 0, 0.5);
  color: var(--dark-bg);
}

/* Gallery Section */
.gallery-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--dark-bg) 0%, #1a0f08 50%, var(--dark-bg) 100%);
  position: relative;
  overflow: hidden;
}

.gallery-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="gallery-pattern" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1.5" fill="%23FFD700" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23gallery-pattern)"/></svg>');
  opacity: 0.5;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1400px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  height: 250px;
  background: linear-gradient(135deg, var(--deep-brown), var(--light-brown));
}

.gallery-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.4), transparent);
  transition: left 0.8s ease;
  z-index: 2;
}

.gallery-item:hover::before {
  left: 100%;
}

.gallery-item:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 25px 50px rgba(255, 215, 0, 0.3);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s ease;
  position: relative;
  z-index: 1;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.1);
  filter: brightness(1.2) contrast(1.1) saturate(1.3);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(255, 215, 0, 0.2) 50%, rgba(0, 0, 0, 0.7) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 3;
  backdrop-filter: blur(5px);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  color: var(--primary-gold);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  animation: iconFloat 2s ease-in-out infinite;
}

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

.gallery-title {
  color: var(--primary-gold);
  font-family: "Dancing Script", cursive;
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

/* Reviews Section */
.reviews-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #1a1a1a 0%, var(--deep-brown) 50%, #1a1a1a 100%);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
}

@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(0, 0, 0, 0.8) 100%);
  padding: 2.5rem;
  border-radius: 25px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  text-align: center;
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(15px);
}

.review-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
  transition: left 0.8s ease;
}

.review-card:hover::before {
  left: 100%;
}

.review-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
  border-color: rgba(255, 215, 0, 0.5);
}

.review-stars {
  color: var(--primary-gold);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  animation: starsGlow 3s ease-in-out infinite;
}

@keyframes starsGlow {
  0%,
  100% {
    text-shadow: 0 0 10px var(--primary-gold);
  }
  50% {
    text-shadow: 0 0 20px var(--secondary-gold);
  }
}

.review-text {
  font-style: italic;
  margin-bottom: 2rem;
  line-height: 1.7;
  color: var(--text-light);
  font-size: 1rem;
}

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

.reviewer-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary-gold), var(--secondary-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--dark-bg);
  font-weight: bold;
}

.reviewer-name {
  font-weight: 600;
  color: var(--primary-gold);
  font-size: 1rem;
}

/* About Section */
.about-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--dark-bg) 0%, #1a0f08 50%, var(--dark-bg) 100%);
  position: relative;
}

.about-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-container {
    grid-template-columns: 1fr 1fr;
  }
}

.about-content h2 {
  font-family: "Dancing Script", cursive;
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
  background: linear-gradient(45deg, var(--primary-gold), var(--secondary-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textFloat 5s ease-in-out infinite;
}

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

.about-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.about-image {
  position: relative;
  width: 100%;
  height: 580px;
  border-radius: 25px;
  overflow: hidden;
  animation: imageFloat 6s ease-in-out infinite;
  box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
  background: linear-gradient(135deg, var(--deep-brown), var(--light-brown));
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image img {
  width: 100%;
  height: 100٪;      /* مهم: ارتفاع آزاد بشه */
  object-fit: cover; /* پر کردن فضا */
  border-radius: 25px;
}

.about-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 25px;
  transition: all 0.5s ease;
}

.about-image:hover .about-logo {
  transform: scale(1.05);
  filter: brightness(1.1) contrast(1.1);
}

@keyframes imageFloat {
  0%,
  100% {
    transform: translateY(0px) rotateY(0deg);
  }
  50% {
    transform: translateY(-15px) rotateY(5deg);
  }
}

.about-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
  transition: left 0.8s ease;
  z-index: 2;
}

.about-image:hover::before {
  left: 100%;
}

/* Contact Section */
.contact-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #1a1a1a 0%, var(--deep-brown) 100%);
}

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

.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
  }
}

.contact-info {
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(0, 0, 0, 0.8) 100%);
  padding: 2.5rem;
  border-radius: 25px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  backdrop-filter: blur(15px);
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: 15px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
  transition: left 0.5s ease;
}

.contact-item:hover::before {
  left: 100%;
}

.contact-item:hover {
  background: rgba(255, 215, 0, 0.1);
  transform: translateX(10px);
  box-shadow: 0 8px 16px rgba(255, 215, 0, 0.2);
}

.contact-item i {
  font-size: 1.8rem;
  color: var(--primary-gold);
  margin-left: 1.5rem;
  width: 35px;
  animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

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

.contact-details p {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 0.95rem;
}

.map-container {
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  height: 350px;
  background: linear-gradient(45deg, var(--deep-brown), var(--light-brown));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold);
  font-size: 1.1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.map-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
  transition: left 0.8s ease;
}

.map-container:hover::before {
  left: 100%;
}

.map-container:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 50px rgba(255, 215, 0, 0.2);
}

.map-container i {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  animation: mapIconFloat 4s ease-in-out infinite;
}

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

/* Footer */
.footer {
  background: var(--dark-bg);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (min-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-section h3 {
  font-family: "Dancing Script", cursive;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: var(--primary-gold);
  animation: footerTitleGlow 4s ease-in-out infinite;
}

@keyframes footerTitleGlow {
  0%,
  100% {
    text-shadow: 0 0 10px var(--primary-gold);
  }
  50% {
    text-shadow: 0 0 20px var(--secondary-gold);
  }
}

.footer-section p,
.footer-section a {
  color: var(--text-light);
  text-decoration: none;
  line-height: 1.7;
  transition: color 0.3s ease;
  margin-bottom: 0.5rem;
  display: block;
  font-size: 0.95rem;
}

.footer-section a:hover {
  color: var(--primary-gold);
  transform: translateX(5px);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  display: inline-block;
  width: 45px;
  height: 45px;
  background: linear-gradient(45deg, var(--light-brown), #a0522d);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.footer-social a:hover {
  background: linear-gradient(45deg, var(--primary-gold), var(--secondary-gold));
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 16px rgba(255, 215, 0, 0.3);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 215, 0, 0.2);
  padding-top: 2rem;
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
}

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

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

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 55px;
  height: 55px;
  background: linear-gradient(45deg, var(--primary-gold), var(--secondary-gold));
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.scroll-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 12px 35px rgba(255, 215, 0, 0.5);
}

.scroll-top i {
  color: var(--dark-bg);
  font-size: 1.3rem;
}

/* Modal Styles */
.modal {
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

.modal-content {
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(0, 0, 0, 0.9) 100%);
  margin: 5% auto;
  padding: 2rem;
  border-radius: 25px;
  width: 90%;
  max-width: 600px;
  border: 2px solid rgba(255, 215, 0, 0.3);
  position: relative;
  animation: modalAppear 0.5s ease-out;
}

@keyframes modalAppear {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(-50px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.close {
  color: var(--primary-gold);
  float: right;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.close:hover {
  color: var(--secondary-gold);
  transform: scale(1.2);
}

.modal h2 {
  font-family: "Dancing Script", cursive;
  font-size: 2.5rem;
  color: var(--primary-gold);
  margin-bottom: 2rem;
  text-align: center;
}

.modal input,
.modal textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 15px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.modal input:focus,
.modal textarea:focus {
  outline: none;
  border-color: var(--primary-gold);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.modal textarea {
  min-height: 120px;
  resize: vertical;
}

.order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  margin-bottom: 1rem;
  background: rgba(255, 215, 0, 0.1);
  border-radius: 15px;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quantity-controls button {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: var(--primary-gold);
  color: var(--dark-bg);
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.quantity-controls button:hover {
  background: var(--secondary-gold);
  transform: scale(1.1);
}

.remove-btn {
  background: #ff4444;
  color: white;
  border: none;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.remove-btn:hover {
  background: #cc0000;
  transform: scale(1.1);
}

.order-total {
  text-align: center;
  font-size: 1.5rem;
  margin: 2rem 0;
  color: var(--primary-gold);
}

.rating-input {
  margin-bottom: 1rem;
}

.rating-input label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary-gold);
  font-weight: 600;
}

.stars {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.star {
  font-size: 2rem;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
}

.star:hover,
.star.active {
  color: var(--primary-gold);
  transform: scale(1.2);
}

.image-modal-content {
  max-width: 90%;
  max-height: 90%;
  text-align: center;
}

.image-modal-content img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 15px;
}

.image-modal-content p {
  color: var(--primary-gold);
  font-size: 1.2rem;
  margin-top: 1rem;
}

/* Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(80px);
  transition: all 1.2s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Additional magical effects */
.sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary-gold);
  border-radius: 50%;
  animation: sparkleAnimation 2s ease-in-out infinite;
}

@keyframes sparkleAnimation {
  0%,
  100% {
    opacity: 0;
    transform: scale(0);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes magicalRipple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

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

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

.mt-4 {
  margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 999;
    align-items: center;
    backdrop-filter: blur(10px);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 1.2rem 2rem;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    font-size: 1.1rem;
  }

  .logo-image {
    width: 40px;
    height: 40px;
  }

  .logo-text {
    font-size: 2rem;
  }

  .loading-logo-image {
    width: 60px;
    height: 60px;
  }

  .loading-logo {
    font-size: 3rem;
    flex-direction: column;
    gap: 1rem;
  }

  .hero {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
  }

  .hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
  }

  .section-title {
    font-size: 2.8rem;
    margin-bottom: 3rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
  }

  .menu-container {
    padding: 0 1rem;
  }

  .menu-categories {
    grid-template-columns: repeat(4, 1fr); /* ۴ دکمه در هر خط */
  }

  .category-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.8rem;
    flex: 1;
    min-width: auto;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0;
  }

  .menu-card-image-container {
    height: 200px;
  }

  .menu-card-content {
    padding: 1.5rem;
  }

  .menu-card h3 {
    font-size: 1.6rem;
  }

  .menu-card p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .price-badge {
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    top: 12px;
    right: 12px;
  }

  .order-btn {
    padding: 0.7rem 1.8rem;
    font-size: 0.9rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .gallery-item {
    height: 220px;
  }

  .gallery-title {
    font-size: 1.2rem;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .review-card {
    padding: 2rem;
  }

  .review-text {
    font-size: 0.95rem;
  }

  .reviewer-avatar {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 0 1rem;
  }

  .about-content h2 {
    font-size: 2.8rem;
  }

  .about-content p {
    font-size: 1.1rem;
  }

  .about-image {
    height: 800px; /* یا هر عددی که مناسب دیدی */
  }

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

  .contact-info {
    padding: 2rem;
  }

  .contact-item i {
    font-size: 1.5rem;
    width: 30px;
  }

  .contact-details h4 {
    font-size: 1rem;
  }

  .contact-details p {
    font-size: 0.9rem;
  }

  .map-container {
    height: 300px;
  }

  .map-container i {
    font-size: 3rem;
  }

  .social-header {
    display: none;
  }

  .scroll-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
  }

  .scroll-top i {
    font-size: 1.2rem;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .footer-section h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }

  .footer-section p,
  .footer-section a {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.4rem;
  }

  .footer-social a {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .nav {
    padding: 0 1rem;
  }

  .logo-image {
    width: 35px;
    height: 35px;
  }

  .logo-text {
    font-size: 1.8rem;
  }

  .loading-logo-image {
    width: 50px;
    height: 50px;
  }

  .loading-logo {
    font-size: 2.5rem;
  }

  .loading-text {
    font-size: 1.2rem;
  }

  .loading-progress {
    width: 250px;
  }

  .hero-title {
    font-size: 2.5rem;
    line-height: 1.1;
  }

  .hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.4;
  }

  .section-title {
    font-size: 2.3rem;
    margin-bottom: 2.5rem;
  }

  .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .menu-container,
  .gallery-grid,
  .reviews-grid,
  .about-container {
    padding: 0 0.5rem;
  }

  .menu-categories {
    grid-template-columns: repeat(3, 1fr); /* ۴ دکمه در هر خط */
  }

  .category-btn {
    padding: 0.6rem 1rem;
    font-size: 0.75rem;
  }

  .menu-card-content {
    padding: 1.2rem;
  }

  .menu-card h3 {
    font-size: 1.4rem;
  }

  .menu-card p {
    font-size: 0.9rem;
  }

  .price-badge {
    font-size: 1rem;
    padding: 0.4rem 0.8rem;
  }

  .order-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
  }

  .gallery-item {
    height: 200px;
  }

  .gallery-overlay i {
    font-size: 2rem;
  }

  .gallery-title {
    font-size: 1.1rem;
  }

  .review-card {
    padding: 1.5rem;
  }

  .review-text {
    font-size: 0.95rem;
  }

  .reviewer-avatar {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }

  .about-content h2 {
    font-size: 2.3rem;
  }

  .about-content p {
    font-size: 1rem;
  }

  .about-image {
    height: 400px;
  }

  .contact-info {
    padding: 1.5rem;
  }

  .contact-item i {
    font-size: 1.5rem;
    width: 30px;
  }

  .contact-details h4 {
    font-size: 1rem;
  }

  .contact-details p {
    font-size: 0.9rem;
  }

  .map-container {
    height: 250px;
  }

  .map-container i {
    font-size: 3rem;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0 0.5rem;
  }

  .footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
  }

  .footer-section p,
  .footer-section a {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .footer-social a {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
}
