@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@400;600&family=Londrina+Solid:wght@400;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@400;600&family=Rubik:wght@600&display=swap');

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

html {
  scroll-behavior: smooth;
}

body, .menu-carousel {
  scrollbar-width: none;
}

body::-webkit-scrollbar,
.menu-carousel::-webkit-scrollbar {
  display: none;
}

body {
  font-family: 'Heebo', sans-serif;
  direction: rtl;
  background: linear-gradient(to bottom right, #fafafa, #ff90da);
  color: #fff;
  padding-bottom: 60px;
  position: relative;
  z-index: 1;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: url('images/background.jpg') center center / cover no-repeat;
  filter: blur(12px) brightness(0.6);
  z-index: -1;
  pointer-events: none;
}

.logo-card {
  max-width: 700px;
  width: 100%;
  margin: 30px auto;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border-radius: 24px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  padding: 20px;
  margin: 30px auto;
  width: calc(100% - 32px); 
  display: flex;
  justify-content: center;
}

.logo-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-text {
  height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* распределим по вертикали */
  align-items: flex-start;
  text-align: right;
  overflow: hidden;
}

.logo-text .logo-title {
  font-size: 16px;
  color: #ffd700;
  margin-bottom: 4px;
  font-weight: 500;
}

.logo-text h1 {
  font-size: 24px;
  font-family: 'Rubik', sans-serif;
  line-height: 1;
  margin: 0;
}

.logo-text h2 {
  font-size: 14px;
  line-height: 1;
  color: #fff;
  margin: 0;
}

.logo-text p {
  font-size: 15px;
  color: #ffd700;
  margin-bottom: 4px;
}

.logo-image {
  flex-shrink: 0;
  width: 130px;
  height: 130px;
}

.logo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.logo-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.logo-btn {
  padding: 8px 18px;
  border: 1.5px solid #ffffff;
  border-radius: 12px;
  background-color: transparent;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.25s ease;
}

.logo-btn:hover {
  background-color: rgba(255, 215, 0, 0.15);
  box-shadow: 0 2px 6px rgba(255, 215, 0, 0.25); 
  border-color: #ffd700;
  color: #ffd700;
  transition: all 0.25s ease;
}

.menu-wrapper {
  padding: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.menu-group {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 40px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.menu-carousel {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(10px);
  padding: 10px 12px;
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  direction: rtl;
  white-space: nowrap;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;

  max-width: 700px;
  width: calc(100% - 32px);
  margin: 0 auto;
  border-radius: 18px;
  transition: all 0.3s ease;
  border: none;
  background-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.menu-carousel.stuck {
  position: fixed;
  top: 0px;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
  border-radius: 0px;
  border: 0px solid rgba(20, 20, 20, 0.6);
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(12px);
  z-index: 1000;
}

.cat-link {
  flex: 0 0 auto;
  padding: 12px 24px;
  border: 1px solid #ffffff;
  border-radius: 12px;
  background-color: transparent;
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.25s ease;
}

.cat-link:hover {
  background-color: rgba(255, 215, 0, 0.1);
  border-color: #ffd700;
  color: #ffd700;
}

.cat-link.active {
  background-color: rgba(255, 215, 0, 0.2);
  border-color: #ffd700;
  color: #ffd700;
}

.group-title {
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 20px;
  border-bottom: 2px solid #ffd700;
  padding-bottom: 10px;
}

.group-title span {
  color: #ffd700;
  font-weight: bold;
  margin-right: 8px;
}

.group-subtitle {
  text-align: center;
  font-size: 15px;
  color: #ffd700;
  margin-top: 4px;
  margin-bottom: 20px;
  font-weight: 500;
}

.menu-item {
  display: flex;
  align-items: stretch;
  background-color: rgba(255, 221, 246, 0.35);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  height: auto;
}

.menu-img {
  width: 50%;
  padding: 1px;
  background-color: #f0f0f0;
}

.menu-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: 0 12px 12px 0;
}

.menu-text {
  width: 50%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: right;
}

.menu-text h3 {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.menu-text p {
  font-size: 16px;
  color: #e0e0e0;
  line-height: 1.5;
}

.site-footer {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  margin: 40px auto 30px;
  line-height: 1.6;
  width: 100%;
  max-width: 700px;
  padding: 0 16px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: #ffd700;
}

@media (min-width: 1280px) {
  .menu-carousel.stuck {
    justify-content: center !important;
  }
}

/* mobile */
  @media (max-width: 500px) {
    .logo-card {
      width: calc(100% - 32px);
      margin: 24px auto;
      padding: 20px;
      height: auto;              
      min-height: unset;        
    }
  
    .logo-inner {
      flex-direction: column;
      align-items: center;
      gap: 16px;
      height: auto;               
    }
  
    .logo-image {
      width: 120px;
      height: 120px;
    }
  
    .logo-text {
      align-items: center;
      text-align: center;
      gap: 8px;
      height: auto;            
    }
  
    .logo-buttons {
      display: flex;
      flex-direction: column;
      gap: 10px;
      width: 100%;
      max-width: 220px;
    }
  
    .logo-btn {
      width: 100%;
      padding: 10px 0;
      font-size: 15px;
    }

    .category-nav {
      flex-direction: column;
      align-items: center;
    }
    
    .cat-link {
      flex: 0 0 auto;
      width: 100%;
      flex: unset;
      min-width: unset;
    }

    .menu-item {
      flex-direction: row;
      align-items: center;
    }
  
    .menu-img, .menu-text {
      width: 100%;
    }
  
    .menu-img img {
      height: 200px;
      object-fit: cover;
      width: 100%;
      border-radius: 12px 12px 0 0;
    }
  
    .menu-text {
      padding: 16px;
      text-align: center;
      align-items: center;
    }
  }
