:root {
  --primary-color: #f9a01c; /* Оранжевый */
  --secondary-color: #8b4513; /* Коричневый (SaddleBrown) */
  --text-dark: #2c2c2c; /* Темно-серый для текста */
  --text-light: #ffffff; /* Белый для текста */
  --bg-light: #fdfaf6; /* Очень светлый, почти белый, теплый фон */
  --bg-dark: #1a1a1a; /* Темный фон для футера и акцентов */
  --accent: #d4a574; /* Светло-коричневый акцент */
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: "Montserrat", sans-serif;
  --font-headings: "Playfair Display", serif;
  --font-accent: "Inter", sans-serif;
  --border-light: #e0e0e0; /* Светлая граница для попапа меню */
  --border-lighter: #e9ecef; /* Еще светлее граница */
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

i.fas.fa-times {
  color: red;
}
/* Prevent horizontal overflow on all elements */
*,
*::before,
*::after {
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  background-color: var(--bg-light);
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Loader */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.5s ease;
}

#loader img {
  width: 250px;
  height: auto;
  margin-bottom: 20px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

#loader-text {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

#loader-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(249, 160, 28, 0.3);
  border-radius: 50%;
  border-top: 4px solid var(--primary-color);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Navigation Sidebar */
.nav-sidebar {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
  background-color: rgba(0, 0, 0, 0.15);
  padding: 10px 5px;
  border-radius: 15px;
}

.nav-sidebar.visible {
  opacity: 1;
}

.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  margin: 15px 0;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.nav-dot:hover {
  background-color: var(--primary-color);
  transform: scale(1.5);
}

.nav-dot.active {
  background-color: var(--primary-color);
  transform: scale(1.5);
}

.nav-dot::before {
  content: attr(data-section);
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 5px 15px;
  border-radius: 5px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  font-size: 0.875rem;
}

.nav-dot:hover::before {
  opacity: 1;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(249, 160, 28, 0.05) 0%, rgba(139, 69, 19, 0.05) 100%);
  backdrop-filter: blur(10px);
  color: white;
  z-index: 999;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
  height: 110px;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
}

header.scrolled {
  background-color: rgba(253, 250, 246, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  height: 90px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  width: 100%;
}

.logo {
  height: 70px;
  transition: transform 0.3s ease, height 0.3s ease;
}
/* header.scrolled .logo {
        height: 70px;
      } */

.logo:hover {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 20px;
  align-items: center;
}

.nav-menu li {
  position: relative;
}

.nav-link {
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: color 0.3s ease;
  position: relative;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-main);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
header.scrolled .nav-link {
  color: var(--text-dark);
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active-link {
  color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active-link::after {
  width: 100%;
}

.nav-menu .nav-link.phone-nav-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  color: var(--primary-color);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.nav-menu .nav-link.phone-nav-button:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
}
.nav-menu .nav-link.phone-nav-button::after {
  display: none;
}

.language-selector {
  position: relative;
}

.language-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 5px;
  color: white;
  font-weight: 500;
  transition: color 0.3s ease;
}
header.scrolled .language-btn {
  color: var(--text-dark);
}
.language-btn .language-icon {
  margin-right: 4px;
}
.language-btn .language-text {
  font-size: 0.9rem;
}

.language-btn:hover {
  color: var(--primary-color);
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  box-shadow: var(--shadow);
  border-radius: 8px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  min-width: 150px;
}

.language-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  display: block;
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  color: var(--text-dark);
  transition: background-color 0.3s ease;
  font-size: 0.9rem;
}
.language-option .flag-icon {
  margin-right: 8px;
}

.language-option:hover {
  background-color: var(--bg-light);
  color: var(--primary-color);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: white;
  z-index: 1002;
  position: fixed;
  right: 25px;
  top: 30px;
  transition: transform 0.3s ease, color 0.3s ease;
}
header.scrolled .mobile-menu-toggle {
  top: 25px;
  color: var(--text-dark);
}

/* Hero Section */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-image: url("../images/hero-bg.jpg");
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  color: var(--text-light);
  text-align: center;
  padding: 120px 5% 3rem;
  width: 100%;
  box-sizing: border-box;
}

#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  font-family: var(--font-main);
  font-size: 1.2rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeIn 1s ease 0.3s forwards;
  color: var(--primary-color);
  font-weight: 600;
}

.hero-title {
  font-family: var(--font-headings);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.2;
  opacity: 0;
  animation: fadeIn 1s ease 0.5s forwards;
  color: var(--text-light);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeIn 1s ease 0.7s forwards;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-description i {
  color: var(--primary-color);
  /* margin-right: 0.7rem; */
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeIn 1s ease 0.9s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.btn {
  padding: 0.9rem 2.2rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  font-family: var(--font-main);
  align-items: center;
  gap: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  border: 2px solid transparent;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--text-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  #hero {
    background-attachment: scroll;
    padding-top: 100px;
    min-height: 80vh;
  }
  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-description {
    font-size: 1rem;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .btn {
    width: 100%;
    justify-content: center;
    max-width: 300px;
    padding: 0.8rem 1.5rem;
  }
}

/* Features Section */
#qualita {
  padding: 5rem 5%;
  background-color: var(--bg-light);
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

@media (min-width: 1200px) {
  .features-container {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 769px) and (max-width: 1199px) {
  .features-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}
@media (max-width: 768px) {
  .features-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.feature-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background-color: white;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.2rem;
}

.feature-title {
  font-family: var(--font-headings);
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
  color: var(--text-dark);
  font-weight: 700;
}

.feature-description {
  color: #555;
  line-height: 1.7;
  font-size: 0.9rem;
}

/* Menu Section (Specialties) */
#piatti {
  padding: 5rem 5%;
  background: linear-gradient(135deg, rgba(249, 160, 28, 0.05) 0%, rgba(139, 69, 19, 0.05) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-family: var(--font-headings);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--text-dark);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  font-weight: 700;
  padding-bottom: 0.5rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #555;
  max-width: 600px;
  margin: 1rem auto 0;
  line-height: 1.7;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.menu-item {
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  transform: scale(0.9);
  display: flex;
  flex-direction: column;
}

.menu-item.visible {
  opacity: 1;
  transform: scale(1);
}

.menu-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.menu-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.menu-item:hover img {
  transform: scale(1.08);
}

.menu-item-content {
  padding: 2rem 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.menu-item-title {
  font-family: var(--font-headings);
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
  color: var(--text-dark);
  font-weight: 700;
}

.menu-item-description {
  color: #555;
  line-height: 1.7;
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 1rem;
}

/* Full Menu Section */
#menu-completo {
  padding: 4rem 5%;
  text-align: center;
  background: linear-gradient(135deg, rgba(253, 250, 246, 1) 0%, rgba(249, 160, 28, 0.05) 100%);
}

/* Gallery Section */
#gallery {
  padding: 5rem 5%;
  background-color: var(--bg-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  transform: scale(0.8);
  transition: var(--transition), transform 0.4s ease;
  aspect-ratio: 1 / 1;
}

.gallery-item.visible {
  opacity: 1;
  transform: scale(1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.15);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  font-size: 2.5rem;
  color: var(--text-light);
  transform: scale(0.8);
  transition: transform 0.3s ease;
}
.gallery-item:hover .gallery-overlay i {
  transform: scale(1);
}

/* Location Section */
#contatti {
  padding: 5rem 5%;
  background: linear-gradient(135deg, rgba(249, 160, 28, 0.03) 0%, rgba(139, 69, 19, 0.03) 100%);
}

.location-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.location-info {
  opacity: 0;
  transform: translateX(-30px);
  transition: var(--transition);
}

.location-info.visible {
  opacity: 1;
  transform: translateX(0);
}

.location-title {
  font-family: var(--font-headings);
  font-size: 2.8rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}
.location-info p {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.location-details {
  margin-bottom: 2.5rem;
}

.location-details p {
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  color: #444;
}

.location-details i {
  color: var(--primary-color);
  margin-right: 0.8rem;
  width: 22px;
  text-align: center;
}

.map-container {
  height: 450px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateX(30px);
  transition: var(--transition);
}

.map-container.visible {
  opacity: 1;
  transform: translateX(0);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Testimonials Section */
#recensioni {
  padding: 5rem 5%;
  background-color: var(--bg-light);
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.testimonial-card {
  background-color: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition);
  border-left: 5px solid var(--primary-color);
}

.testimonial-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.quote-icon {
  font-size: 3.5rem;
  color: var(--primary-color);
  opacity: 0.2;
  position: absolute;
  top: 20px;
  right: 20px;
  left: auto;
}

.testimonial-text {
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: #555;
  padding-top: 1rem;
  font-size: 1.05rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.3rem;
  text-transform: uppercase;
}

.author-info {
  flex: 1;
}

.author-name {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
  font-size: 1.1rem;
}

.author-rating {
  color: var(--primary-color);
  font-size: 0.9rem;
}

.testimonial-date {
  font-size: 0.85rem;
  color: #888;
  margin-left: auto;
  align-self: flex-end;
}

/* Events Section */
#eventi {
  padding: 6rem 5%;
  background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url("../images/photo_2025-03-22_16-32-15.jpg") center/cover fixed;
  color: var(--text-light);
  text-align: center;
}

.events-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 3.5rem;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  color: var(--text-light);
  opacity: 0;
  transform: scale(0.9);
  transition: var(--transition);
  backdrop-filter: blur(5px);
}

.events-content.visible {
  opacity: 1;
  transform: scale(1);
}

.events-icon {
  font-size: 4.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.events-title {
  font-family: var(--font-headings);
  font-size: 3.2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.events-description {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.social-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.social-btn {
  padding: 0.9rem 2.2rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  border: 2px solid;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.instagram-btn {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
  border-color: transparent;
}

.instagram-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 30px rgba(131, 58, 180, 0.4);
}

.facebook-btn {
  background-color: #1877f2;
  color: white;
  border-color: #1877f2;
}

.facebook-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 30px rgba(24, 119, 242, 0.4);
}

/* Footer */
footer {
  background-color: var(--bg-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 5% 2rem;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  height: 100px;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.footer-info {
  margin-bottom: 2.5rem;
}

.footer-info p {
  margin-bottom: 0.8rem;
  font-size: 1rem;
}
.footer-info p i {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

.footer-social {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.8rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
  color: var(--primary-color);
  transform: scale(1.1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 2.5rem;
  margin-top: 2.5rem;
  font-size: 0.9rem;
}
.footer-bottom p {
  margin-bottom: 0.3rem;
}

/* Floating Phone Button */
.phone-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 5px 20px rgba(249, 160, 28, 0.3);
  cursor: pointer;
  transition: var(--transition);
  z-index: 100;
  animation: phonePulse 2s infinite;
  text-decoration: none;
  opacity: 0;
  transform: translateY(100px);
}

.phone-btn.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes phonePulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(249, 160, 28, 0.7);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(249, 160, 28, 0);
  }
}

.phone-btn:hover {
  transform: scale(1.1);
  background-color: var(--secondary-color);
}
.phone-btn-desktop {
  display: none;
}
.phone-btn-mobile {
  display: flex;
}

/* Enhanced Popup Styles */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 11000;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(5px);
}

.popup-overlay.active {
  display: flex;
  opacity: 1;
}

.popup-content {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 3rem 4rem;
  border-radius: 25px;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 90%;
  width: 500px;
  transform: scale(0.8);
  transition: transform 0.3s ease;
  border: 2px solid var(--primary-color);
}

.popup-overlay.active .popup-content {
  transform: scale(1);
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 2.5rem;
  color: #999;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
  background-color: rgba(0, 0, 0, 0.1);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  line-height: 1;
}

.popup-close:hover {
  color: var(--primary-color);
  transform: rotate(90deg);
}

.popup-logo {
  width: 150px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.popup-phone-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: block;
  text-align: center;
}

.popup-phone {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-family: var(--font-accent);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.popup-info p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #555;
}
.popup-info p a {
  color: #555;
  text-decoration: none;
  transition: color 0.3s ease;
}
.popup-info p a:hover {
  color: var(--primary-color);
}

.popup-info i {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

/* Full Menu Popup Styles */
.full-menu-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 11000;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(5px);
}

.full-menu-popup.active {
  display: flex;
  opacity: 1;
}

.full-menu-content {
  background: white;
  border-radius: 5px;
  max-width: 95%;
  max-height: 95%;
  width: 1200px;
  height: 90vh;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  transform: scale(0.8);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.full-menu-popup.active .full-menu-content {
  transform: scale(1);
}

.menu-popup-header {
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  background-color: #f8f9fa;
  flex-shrink: 0;
}

.menu-header-content {
  display: flex;
  align-items: center;
  flex: 1;
  margin-left: 32px;
  justify-content: center;
}

.menu-header-title {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.menu-popup-close {
  font-size: 1.8rem;
  color: var(--text-dark);
  background-color: transparent;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.menu-popup-close:hover {
  background-color: rgba(0, 0, 0, 0.1);
  color: var(--primary-color);
  transform: rotate(90deg);
}

.menu-main-content {
  flex: 1;
  display: flex;
  overflow: hidden;
}

.menu-sidebar {
  width: 280px;
  background-color: #f8f9fa;
  border-right: 1px solid var(--border-light);
  flex-shrink: 0;
  overflow-y: auto;
  padding: 1rem;
}

.menu-content-area {
  flex: 1;
  background: linear-gradient(135deg, rgba(249, 160, 28, 0.05) 0%, rgba(139, 69, 19, 0.05) 100%);
  overflow-y: auto;
  padding: 1rem;
  position: relative;
}

.cover-charge-note {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border: 1px solid #2196f3;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  margin-bottom: 1rem;
  text-align: center;
  color: #1565c0;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.1);
}
.cover-charge-note i {
  margin-right: 0.5rem;
  color: #2196f3;
}

.filter-section {
  margin-bottom: 1.5rem;
}

.filter-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.allergen-filters,
.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  justify-content: center;
}

.allergen-filter,
.category-filter,
.sort-btn {
  font-size: 0.85rem;
  /* border-radius: 20px; */
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  background-color: #f8f9fa;
  color: var(--text-dark);
}

.category-filter {
  padding: 0.3rem 0.4rem;
  font-family: "Montserrat";
  border-color: #e9ecef;
  background-color: white;
  width: 100%;
  text-transform: uppercase;
}

.category-filter:hover {
  border-color: var(--primary-color);
  background-color: rgba(249, 160, 28, 0.1);
  transform: translateY(-1px);
}

.category-filter.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(249, 160, 28, 0.3);
}
.allergen-filter {
  min-width: 46%;
  max-width: 48%;
  width: 47%;
}
.allergen-filter:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.allergen-filter.active {
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  opacity: 0.8;
  background-color: var(--bg-dark) !important;
  color: white !important;
  border-color: var(--bg-dark) !important;
}

.menu-category-title {
  font-family: var(--font-headings);
  font-size: 1.4rem;
  color: var(--secondary-color);
  margin: 15px 0 0;
  padding: 0.8rem 1rem;
  text-align: center;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  width: 100%;
  box-sizing: border-box;
}

.menu-section-title {
  font-family: var(--font-headings);
  font-size: 1.2rem;
  color: var(--primary-color);
  margin: 15px 0 5px;
  padding: 5px 10px;
  border-radius: 0 8px 8px 0;
  font-weight: 600;
}

.menu-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 5px;
}

.menu-popup-item {
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  border-radius: 2px;
  padding: 10px;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  position: relative;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.menu-popup-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: rgba(249, 160, 28, 0.3);
}
.menu-popup-item.filtered-out {
  opacity: 0.4;
  filter: grayscale(70%);
  background: linear-gradient(135deg, #f1f3f4 0%, #e8eaed 100%);
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
  gap: 1rem;
  min-height: 40px;
}

.menu-item-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
  flex: 1;
}
.menu-item-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  flex-shrink: 0;
}
.menu-item-description {
  font-size: 0.8rem;
  line-height: 1.4;
  color: #888;
  margin-bottom: 0.5rem;
  font-style: italic;
}

.menu-item-allergens {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.5rem;
}

.allergen-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.4rem;
  /* border-radius: 8px; */
  font-size: 0.65rem;
  font-weight: 500;
  color: white;
  gap: 0.2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.allergen-badge-name {
  font-size: 0.6rem;
}

.no-results {
  text-align: center;
  padding: 3rem 2rem;
  color: #6c757d;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  border: 2px dashed #dee2e6;
  margin: 2rem 0;
}

.no-results::before {
  content: "🔍";
  display: block;
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

/* Mobile Layout for Menu Popup */
@media (max-width: 991px) {
  .menu-sidebar {
    width: 260px;
  }
  .menu-items-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .full-menu-content {
    width: 98%;
    height: 95vh;
    flex-direction: column;
  }

  .menu-main-content {
    flex: 1;
    flex-direction: column;
    overflow: hidden;
  }

  .menu-content-area {
    flex: 1;
    padding: 0.5rem;
    overflow-y: auto;
    order: 1;
  }

  .menu-sidebar {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    background-color: #f8f9fa;
    border-right: none;
    border-top: 1px solid var(--border-light);
    padding: 0.5rem;
    overflow: visible;
    z-index: 1001;
    order: 2;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
  }

  .cover-charge-note {
    order: 3;
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    margin-bottom: 0;
    margin-top: 0.5rem;
  }

  .filter-section:nth-child(2) {
    order: 1;
  }

  .filter-section:nth-child(3) {
    order: 2;
  }

  .filter-section {
    margin-bottom: 0.8rem;
  }

  .filter-title {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.3rem;
    text-align: center;
  }

  .category-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 0.3rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
  }

  .category-filters::-webkit-scrollbar {
    height: 4px;
  }

  .category-filters::-webkit-scrollbar-track {
    background: transparent;
  }

  .category-filters::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 2px;
  }

  .category-filter {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    margin-right: 0.3rem;
    min-width: auto;
    width: auto;
  }

  .allergen-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 0.3rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
  }

  .allergen-filters::-webkit-scrollbar {
    height: 4px;
  }

  .allergen-filters::-webkit-scrollbar-track {
    background: transparent;
  }

  .allergen-filters::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 2px;
  }

  .allergen-filter {
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 0.7rem;
    padding: 0.35rem 0.6rem;
    margin-right: 0.3rem;
    min-width: auto;
    width: auto;
    max-width: none;
  }

  .menu-items-grid {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .menu-popup-item {
    padding: 0.8rem;
    min-height: 70px;
  }

  .menu-category-title {
    font-size: 1.1rem;
    padding: 0.6rem;
    margin: 10px 0 0;
  }

  .menu-section-title {
    font-size: 1rem;
    margin: 10px 0 3px;
    padding: 0.4rem 0.8rem;
  }

  .menu-item-name {
    font-size: 0.9rem;
  }

  .menu-item-price {
    font-size: 1.1rem;
  }

  .menu-item-description {
    font-size: 0.75rem;
  }

  /* Добавляем отступ снизу для контента, чтобы он не перекрывался фильтрами */
  .menu-content-area {
    padding-bottom: 120px;
  }
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .nav-sidebar {
    display: none;
  }
}

@media (min-width: 769px) {
  .phone-btn-desktop {
    display: flex;
  }
  .phone-btn-mobile {
    display: none;
  }
}

/* Additional mobile fixes */
@media (max-width: 768px) {
  body,
  html {
    width: 100%;
    overflow-x: hidden;
  }

  section {
    width: 100%;
    overflow-x: hidden;
  }

  .events-title {
    font-size: 2.5rem;
  }
  header {
    height: 80px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  header.scrolled {
    height: 80px;
  }
  header.scrolled .logo,
  .logo {
    height: 40px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -10px;
  }

  nav {
    height: 100%;
    padding: 0 60px 0 20px;
    position: relative;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transition: right 0.4s ease-in-out;
    z-index: 1000;
    padding: 40px 0;
    overflow-y: auto;
    gap: 0.5rem;
    max-width: 100%;
    box-sizing: border-box;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
    margin: 0;
  }

  .nav-link {
    display: block;
    padding: 0.2rem 0;
    font-size: 1.1rem;
    color: var(--text-dark);
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
    width: 100%;
  }

  .nav-menu .nav-link.phone-nav-button {
    padding: 0.8rem 1rem;
    margin-top: 1rem;
    width: auto;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }

  .nav-link:hover,
  .nav-link:active,
  .nav-link:focus {
    background-color: var(--bg-light);
    color: var(--primary-color);
  }

  .nav-link::after {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
    top: 22px;
    right: 25px;
    z-index: 1003;
  }
  header.scrolled .mobile-menu-toggle {
    top: 22px;
  }

  .language-selector {
    position: static;
    width: 100%;
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
  }

  .language-btn {
    width: auto;
    max-width: 250px;
    margin: 0 auto;
    padding: 0.8rem 1rem;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    background-color: var(--bg-light);
    justify-content: center;
    color: var(--text-dark);
  }

  .language-dropdown {
    position: static;
    width: 100%;
    max-width: 250px;
    margin: 1rem auto 0;
    box-shadow: none;
    background-color: var(--bg-light);
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
  }

  .language-dropdown.active {
    max-height: 300px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .language-option {
    padding: 0.8rem;
    border-bottom: 1px solid #eee;
  }

  .language-option:last-child {
    border-bottom: none;
  }

  .location-container {
    grid-template-columns: 1fr;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .section-title,
  .location-title,
  .feature-title,
  .menu-item-title {
    text-align: center;
  }
  .section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .location-info {
    text-align: center;
  }

  .location-details {
    text-align: center;
  }
  .location-details p {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .location-details p i {
    margin-right: 0.5rem;
  }

  .location-info .btn {
    margin: 0 auto;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .phone-btn-desktop {
    display: none;
  }
  .phone-btn-mobile {
    display: flex;
  }

  .full-menu-content {
    width: 95%;
    height: 95vh;
  }

  .menu-popup-header {
    padding: 12px 15px;
  }

  .menu-header-title {
    font-size: 1.2rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .btn {
    width: 100%;
    justify-content: center;
    max-width: 300px;
  }

  .section-title {
    font-size: 2rem;
  }

  .phone-btn {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    text-align: center;
  }
  .section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-content {
    padding-top: 1rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .testimonial-card {
    padding: 2rem 1.5rem;
  }

  .gallery-grid {
    gap: 1rem;
  }

  .popup-content {
    width: 95%;
    padding: 2.5rem 1.5rem;
  }

  .popup-phone {
    font-size: 2.2rem;
  }

  .full-menu-content {
    width: 98%;
    height: 98vh;
  }

  .menu-popup-header {
    padding: 10px 12px;
  }

  .menu-header-title {
    font-size: 1.1rem;
    text-align: center;
  }
  .menu-popup-close {
    width: 32px;
    height: 32px;
    font-size: 1.5rem;
  }

  .allergen-filter,
  .category-filter,
  .sort-btn {
    font-size: 0.75rem;
    padding: 0.4rem 0.7rem;
  }

  .menu-item-name {
    font-size: 1rem;
  }

  .menu-item-price {
    font-size: 1.15rem;
  }

  .menu-category-title {
    font-size: 1.1rem;
  }

  .menu-section-title {
    font-size: 1rem;
  }
}

/* Events Section */
#eventi {
  padding: 5rem 5%;
  background-image: url("../images/events-abstract.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  color: white;
  text-align: center;
}

#eventi::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.events-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.events-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.events-title {
  font-family: var(--font-headings);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.events-description {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  color: white;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.instagram-btn {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 4px 15px rgba(220, 39, 67, 0.3);
}

.instagram-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(220, 39, 67, 0.5);
}

.facebook-btn {
  background-color: #1877f2;
  box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
}

.facebook-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(24, 119, 242, 0.5);
}
