/* Модальное окно с акциями */
.promo-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

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

.promo-modal-content {
  background: white;
  margin: 5% auto;
  width: 90%;
  max-width: 600px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease;
  overflow: hidden;
  max-height: 80vh;
}

@keyframes slideIn {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.promo-modal-header {
  background: #e5e5e5;
  color: white;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
}

.promo-modal-header h2 {
  margin: 0;
  font-size: 22px;
  font-weight: bold;
}

.promo-modal-close {
  color: white;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.promo-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.promo-modal-body {
  padding: 25px;
  position: relative;
}

/* Слайдер внутри модального окна */
.promo-slider {
  display: flex;
  transition: transform 0.5s ease;
  margin-bottom: 20px;
}

.promo-card {
  flex: 0 0 100%;
  display: flex;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #eee;
  min-height: 300px;
  position: relative;
}

.promo-card-body {
  width: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

.promo-badge {
  position: absolute;
    top: -9px;
    right: -9px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
  color: white;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.promo-card-title {
  font-size: 26px;
  font-weight: bold;
  color: #c51c23;
  margin: 0 0 15px 0;
  text-align: center;
  line-height: 1.2;
}

.promo-card-text {
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  margin-bottom: 20px;
  max-width: 450px;
}

.promo-pizza-list {
  margin: 20px 0;
  width: 100%;
  max-width: 350px;
}

.pizza-item {
  background: #f8f9fa;
  padding: 8px 15px;
  margin: 5px 0;
  border-radius: 8px;
  font-size: 14px;
  border-left: 3px solid #c51c23;
  transition: all 0.3s ease;
  text-align: left;
}

.pizza-item:hover {
  background: #e9ecef;
  transform: translateX(3px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.promo-btn {
  background: linear-gradient(135deg, #c51c23 0%, #e74c3c 100%);
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 20px;
  display: inline-block;
  text-align: center;
  font-weight: bold;
  font-size: 15px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(197, 28, 35, 0.3);
  margin-top: 15px;
}

.promo-btn:hover {
  background: linear-gradient(135deg, #e74c3c 0%, #c51c23 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(197, 28, 35, 0.4);
  color: white;
  text-decoration: none;
}

/* Навигация слайдера */
.promo-slider-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
}

.promo-nav-btn {
  background: #c51c23;
  color: white;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-nav-btn:hover {
  background: #e74c3c;
  transform: scale(1.1);
}

.promo-dots {
  display: flex;
  gap: 8px;
}

.promo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.promo-dot.active {
  background: #c51c23;
  transform: scale(1.2);
}

/* Адаптивность */
@media (max-width: 768px) {
  .promo-modal-content {
    margin: 10% auto;
    width: 95%;
    max-height: 85vh;
  }
  
  .promo-modal-header {
    padding: 15px 20px;
  }
  
  .promo-modal-header h2 {
    font-size: 16px;
  }
  
  .promo-modal-body {
    padding: 20px;
  }
  
  .promo-card {
    min-height: 250px;
  }
  
  .promo-card-body {
    padding: 25px 15px;
  }
  
  .promo-card-title {
    font-size: 22px;
  }
  
  .promo-card-text {
    font-size: 14px;
  }
  
  .promo-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
} 