.events {
  background: var(--red-dark);
  padding: 4rem 0;
}
.events .container {
  width: var(--content-width-desktop);
  max-width: 1200px;
  margin: 0 auto;
  color: var(--beige-light);
}
.events .section-title {
  font-family: var(--font-title);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--beige-light);
}

.stories {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 10px;
  cursor: grab;
  -ms-overflow-style: none;  /* IE */
  scrollbar-width: none;  /* Firefox */
}
.stories::-webkit-scrollbar { display: none; }

.story-preview {
  flex-shrink: 0;
  width: 120px;
  height: 200px;
  border-radius: 12px;
  border: 3px solid transparent;
  transition: transform 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  overflow: hidden;
}
.story-preview:hover {
  transform: scale(1.05);
  border-color: var(--beige-light);
}
.story-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Заглушка */
.story-preview.no-story {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brown-second);
  color: var(--beige-light);
  font-size: 0.9rem;
  font-weight: bold;
  text-align: center;
  cursor: default;
}

/* --- Модалка --- */
.story-viewer {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}
.story-viewer img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  position: relative;
  z-index: 1; /* картинка под интерфейсом */
}
.story-viewer .story-progress {
  position: absolute;
  top: 20px;
  left: 5%;
  height: 4px;
  width: 0;
  background: var(--beige-light);
  border-radius: 2px;
  z-index: 2;
}
.story-viewer .close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  z-index: 2;
}
.story-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 2;
}
.story-controls button {
  background: rgba(0,0,0,0.5);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
}
.story-controls button:hover {
  background: rgba(255,255,255,0.2);
}

/* Мобильная адаптация ленты */
@media (max-width: 1279px) {
  .stories {
    gap: 0.5rem;
  }
  .story-item {
    width: 100px;
    height: 170px;
  }
  .events .container,
  .about .container {
    width: var(--content-width-mobile);
  }
  .about-grid {
    flex-direction: column;
  }
  .about-img img {
    height: 180px;
  }
}

/* О ресторане */
.about {
  background: var(--red-dark);
  padding: 4rem 0;
}
.about .container {
  width: var(--content-width-desktop);
  max-width: 1200px;
  margin: 0 auto;
  color: var(--beige-light);
}
.about .section-title {
  font-family: var(--font-title);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--beige-light);
}
.about-grid {
  display: flex;
  gap: 2rem;
}
.about-card {
  flex: 1;
  background: var(--brown-second);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.about-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  cursor: zoom-in;
}
.about-text {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  font-size: 1.2rem;
  line-height: 1.4;
}
