/* Основные стили сайта пиццерии */
body {
  font-family: 'Roboto', sans-serif;
  color: #333;
  line-height: 1.6;
  padding-top: 0;
}

/* Стили для шапки */
.navbar-brand {
  font-family: 'Pacifico', cursive;
  font-size: 1.8rem;
  color: #ff6b6b !important;
}
@media (max-width: 1200px) {
  .navbar-brand {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .navbar-brand {
    font-size: clamp(1.55rem, 2vw + 1rem, 1.8rem);
  }
}

/* Баннер с печеньками */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 15px 0;
  z-index: 1000;
}

/* Стили для главной страницы */
.jumbotron {
  background: url('../images/pizza-banner.webp') no-repeat center center;
  background-size: cover;
  color: #fff;
  position: relative;
  padding: 7rem 2rem;
}

.jumbotron::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.jumbotron .container {
  position: relative;
  z-index: 2;
}

.jumbotron .container .lead.text-muted {
  color: #f7f7f7 !important;
}

/* О нас */
.wrap-gallery img {
  height: 100%;
  object-fit: cover;
}

/* Карточки продуктов */
.card {
  transition: transform 0.3s;
  margin-bottom: 20px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

/* Страница меню */
.product-card {
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.product-card .card-img-top {
  height: 250px;
}

.product-price {
  font-size: 1.25rem;
  font-weight: bold;
  color: #ff6b6b;
}

/* Фильтр категорий */
.category-filter {
  margin-bottom: 30px;
}

.category-filter .btn {
  margin-right: 5px;
  margin-bottom: 5px;
}

/* Кнопки */
.btn-primary {
  background-color: #ff6b6b;
  border-color: #ff6b6b;
}

.btn-primary:hover {
  background-color: #ff5252;
  border-color: #ff5252;
}

/* Формы */
.form-control:focus {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 0.25rem rgba(255, 107, 107, 0.25);
}

/* Страница корзины */
.cart-item {
  padding: 15px;
  border-bottom: 1px solid #e9ecef;
}

.item-quantity {
  width: 70px;
}

/* Личный кабинет */
.order-history-item {
  margin-bottom: 20px;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 5px;
}

.profile-info {
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 5px;
}

/* Подвал сайта */
footer {
  bottom: 0;
  width: 100%;
}

footer ul li {
  margin-bottom: 10px;
}

/* Адаптивность */
@media (max-width: 768px) {
  .jumbotron {
    padding: 4rem 1rem;
  }

  .card-img-top {
    height: 150px;
  }
}

/* Страница входа и регистрации */
.auth-form {
  max-width: 500px;
  margin: 50px auto;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-radius: 5px;
}

/* Админ-панель */
.admin-sidebar {
  min-height: calc(100vh - 56px);
  background-color: #343a40;
}

.admin-sidebar .nav-link {
  color: rgba(255, 255, 255, 0.75);
}

.admin-sidebar .nav-link:hover {
  color: #fff;
}

.admin-sidebar .nav-link.active {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
}

.admin-content {
  padding: 20px;
}

/* Иконки в админ-панели */
.admin-sidebar .nav-link i {
  margin-right: 10px;
}

/* Анимация для кнопок */
.btn {
  transition: all 0.3s;
}

/* Badge для корзины */
.badge-cart {
  position: relative;
  top: -10px;
  right: -2px;
}