@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
}

body {
  margin: 0;
  padding-top: 80px; 
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}


.header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%); 
  background-color: #fff;
  z-index: 10;
  padding: 20px 40px;
  border-bottom: 1px solid #e0e0e0;
  max-width: 1160px;
  width: 100%; 
}

.header-container {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.logo-and-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 3px;
  cursor: pointer;
}

.logo-icon {
  width: 32px;
  height: 32px;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: #6c5fbc;
}

.nav a {
  margin: 0 10px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;

}

.nav a:hover{
  color: #6c5fbc;
}

.auth a {
  margin-left: 20px;
  text-decoration: none;
  font-weight: 600;
}

.login {
  color: #6c5fbc;
}

.signup  {
  background-color: #6c5fbc;
  color: white;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: bold;
  text-align: center;
  font-size: 16px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.signup:hover {
  background-color: transparent;
  color: #6c5fbc;
  border-color: #6c5fbc;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1100;
}

.burger span {
  width: 24px;
  height: 3px;
  background-color: #6c5fbc;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6.3px, 6.3px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6.3px, -6.3px);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%; 
  width: 60%;
  height: 100vh;
  background-color: #fff;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1); 
  transition: left 0.4s ease;
  z-index: 1050;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
}

.mobile-menu.active {
  left: 0;
  opacity: 1; 
}


.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav a {
  color: #333;
  text-decoration: none;
  font-size: 25px;
  font-weight: 500;
  transition: color 0.3s;
}

.mobile-nav a:hover {
  color: #6c5fbc;
}

.mobile-nav .signup {
  background-color: #6c5fbc;
  color: white;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: bold;
  text-align: center;
  font-size: 16px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.mobile-nav .signup:hover {
  background-color: transparent;
  color: #6c5fbc;
  border-color: #6c5fbc;
}

@media (max-width: 768px) {
  .nav, .auth {
    display: none;
  }

  .burger {
    display: flex;
  }
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
  }
}

.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 80px;
  flex-wrap: wrap;
}

.hero-content {
  max-width: 600px;
}

.hero-subtitle {
  color: #aaa;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 10px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-title .highlight {
  color: #6c5fbc;
}

.hero-description {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 30px;
}

.btn {
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.btn.primary {
  background-color: #6c5fbc;
  color: white;
  border: 2px solid #6c5fbc;
}

.btn.primary:hover {
  background-color: transparent;
  color: #6c5fbc;
  border-color: #6c5fbc;
}

.btn.secondary {
  background-color: #f7f3ff;
  color: #6c5fbc;
  border-color: #6c5fbc;
}

.btn.secondary:hover {
  background-color: transparent;
  color: #6c5fbc;
  border: 2px solid #6c5fbc;
}


.trustpilot {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin-top: 10px;
}

.trustpilot img {
  width: 100px;
}

.stars {
  color: #fbbf24;
}

.hero-image img {
  width: 400px;
  max-width: 100%;
}


@media (max-width: 1200px) {
  .hero {
    flex-direction: column;
    padding: 40px 20px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-description {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .trustpilot {
    justify-content: center;
    margin-top: 20px;
  }

  .hero-image {
    margin-top: 40px;
  }

  .hero-image img {
    width: 100%;
    max-width: 320px;
  }
}

.stats {
  background-color: #6c5fbc;
  color: white;
  display: flex;
  justify-content: space-around;
  padding: 40px 20px;
  text-align: center;
  
}

.stat-item {
  flex: 1;
  padding: 0 20px;
  position: relative;
}

.stat-item:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background-color: white;
  opacity: 0.5;
}


.stat-item h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.stat-item p {
  font-size: 14px;
  max-width: 240px;
  margin: 0 auto;
}

.quality-section {
  padding: 80px 60px;
  display: flex;
  justify-content: center;
}

.quality-container {
  display: flex;
  gap: 60px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center; /* Центрирование элементов */
}

.phone-image img {
  width: 250px;
  max-width: 100%;
}

.quality-text h2 {
  font-size: 32px;
  margin-bottom: 24px;
}

.quality-text .highlight {
  color: #6c5fbc;
}

.quality-text ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 40px;
  color: #555;
}

.download-btn {
  background-color: #6c5fbc;
  color: white;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.download-btn:hover {
  background-color: transparent;
  color: #6c5fbc;
  border-color: #6c5fbc;
}

@media (max-width: 1200px) {
  .quality-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .quality-text ul {
    text-align: left;
  }
}



.divider {
  margin: 30px 0;
  border: none;
  border-top: 1px solid #ddd;
}

.restaurants {
  padding: 40px 20px;
  text-align: center;
}

.restaurants__title {
  font-size: 2rem;
  font-weight: bold;
}

.restaurants__highlight {
  color: #7d5fff;
}

.restaurants__list {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
  
}

.restaurant-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  width: 250px;
  text-align: left;
}

.restaurant-card__image {
  width: 100%;
  height: auto;
  display: block;
}

.restaurant-card__info {
  padding: 15px;
}

.restaurant-card__tag {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 5px;
  display: inline-block;
  margin-bottom: 8px;
}

.restaurant-card__tag--healthy {
  background-color: #fcdcdc;
  color: #d43f3f;
}

.restaurant-card__tag--trending {
  background-color: #fceec0;
  color: #d4a437;
}

.restaurant-card__name {
  font-size: 1.1rem;
  font-weight: bold;
  margin: 0;
}

.restaurant-card__details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  margin-top: 10px;
}

.restaurant-card__time,
.restaurant-card__rating,
.restaurant-card__icon {
  color: #777;
}

.restaurants__footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.restaurants__view-all {
  color: #63626d;
  text-decoration: none;
  font-weight: bold;
}

.dishes, .dashboard {
  padding: 40px 20px;
}

.dishes__title,
.dashboard__title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #333;
}

.dishes__highlight,
.dashboard__highlight {
  color: #7d5fff;
}

.dishes__list {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  padding: 20px 0;
  justify-content: center;
}

.dish-card {
  flex: 0 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  width: 180px;
  padding: 16px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  scroll-snap-align: start;
}

.dish-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.dish-card__image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  margin: 0 auto 12px;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.dish-card:hover .dish-card__image {
  transform: scale(1.05);
}

.dish-card__tag {
  font-size: 12px;
  border-radius: 12px;
  padding: 4px 10px;
  display: inline-block;
  margin-bottom: 8px;
  font-weight: 600;
  text-transform: uppercase;
}

.dish-card__tag--trending {
  background: #fce8e6;
  color: #d1433f;
}

.dish-card__tag--healthy {
  background: #e8fbe6;
  color: #3fb83f;
}

.dish-card__tag--supreme {
  background: #e6f3fc;
  color: #3478d4;
}

.dish-card__name {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 6px;
  color: #333;
}

.dish-card__info {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 10px;
}

.dish-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.dish-card__price {
  font-weight: 700;
  color: #222;
}

.dish-card__add {
  background: #7d5fff;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  transition: background-color 0.3s ease;
}

.dish-card__add:hover {
  background: #6949e4;
}

.dishes__list::-webkit-scrollbar {
  height: 8px;
}

.dishes__list::-webkit-scrollbar-thumb {
  background: #7d5fff;
  border-radius: 10px;
}

.dishes__list::-webkit-scrollbar-track {
  background: #f1f1f1;
}
@media (max-width: 1208px) {
  .dishes__list {
    flex-direction: column;
    align-items: center;
  }

  .dish-card {
    width: 50%;
  }
}

@media (max-width: 480px) {
  .dish-card {
    width: 80%;
    margin-bottom: 20px;
  }
}

.dashboard {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
  padding-top: 40px;
}

.dashboard__text,
.dashboard__summary {
  flex: 1 1 300px;
}

.dashboard__orders {
  margin-top: 20px;
  list-style: none;
  padding: 0;
}

.order-item {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 12px;
  border-radius: 12px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.05);
  margin-bottom: 12px;
}

.order-item__image {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 12px;
}

.order-item__info {
  flex: 1;
}

.order-item__name {
  font-weight: 600;
  display: block;
}

.order-item__status {
  font-size: 0.8rem;
  color: #999;
}

.order-item__time {
  font-size: 0.8rem;
  color: #bbb;
}

.summary-card {
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.summary-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.summary-card__title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
}

.summary-card__filter {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #f9f9f9;
  font-size: 1rem;
  color: #333;
}

.summary-card__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 16px;
}

.summary-card__info {
  display: flex;
  align-items: center;
}

.summary-card__icon {
  width: 32px;
  height: 32px;
  margin-right: 12px;
}

.summary-card__text {
  display: flex;
  flex-direction: column;
}

.summary-card__label {
  font-weight: 500;
  color: #666;
}

.summary-card__amount {
  font-weight: bold;
  color: #333;
  font-size: 1.2rem;
}

.summary-card__progress-container {
  width: 100%;
  background-color: #eee;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 8px;
}

.summary-card__progress {
  height: 8px;
  border-radius: 4px;
  transition: width 1s ease-in-out;
}

.summary-card__progress--purple {
  background: linear-gradient(45deg, #a285ff, #8e63d8);
}

.summary-card__progress--orange {
  background: linear-gradient(45deg, #ffc154, #ff9d2f);
}

.summary-card__progress-container:hover .summary-card__progress {
  transform: scale(1.05);
}

.summary-card__amount {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  transition: color 0.3s ease;
}

.summary-card__progress-container:hover .summary-card__amount {
  color: #5f5f5f;
}



@media (max-width: 768px) {
  .summary-card {
    padding: 16px;
  }

  .summary-card__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .summary-card__title {
    font-size: 1.1rem;
  }

  .summary-card__filter {
    font-size: 0.85rem;
    margin-top: 8px;
  }
}

@media (max-width: 480px) {
  .summary-card {
    padding: 14px;
    border-radius: 12px;
  }

  .summary-card__title {
    font-size: 1rem;
  }

  .summary-card__label,
  .summary-card__amount {
    font-size: 0.95rem;
  }

  .summary-card__bar-container {
    height: 8px;
  }
}

.reviews {
  padding: 60px 20px;
  text-align: center;
}

.reviews__title {
  font-size: 2rem;
  margin-bottom: 40px;
}

.reviews__title--highlight {
  color: #7d5fff;
}

.reviews__slider {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  justify-content: center;
  padding-bottom: 20px;
}

.review-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  width: 280px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  text-align: left;
  flex: 0 0 auto;
}

.review-card--active {
  border: 2px solid #7d5fff;
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.review-card__name {
  font-weight: bold;
  margin-bottom: 2px;
}

.review-card__duration {
  font-size: 0.8rem;
  color: #888;
}

.review-card__quote {
  margin-left: auto;
  font-size: 2rem;
  color: #ccc;
}

.review-card__text {
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 12px 0;
  color: #444;
}

.review-card__stars {
  font-size: 1rem;
  color: #f39c12;
}

.reviews__progress {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.reviews__progress-bar {
  width: 60px;
  height: 4px;
  background: #eee;
  border-radius: 2px;
}

.reviews__progress-bar--active {
  background: #7d5fff;
}


.promo-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #6c5fbc url('Group\ 34844.png') no-repeat center;
  background-size: cover;
  padding: 40px 50px;
  border-radius: 16px;
  color: white;
  position: relative;
  overflow: hidden;
  max-width: 1000px;
  margin: 40px auto;
  z-index: 10;

}

.promo-content h2 {
  font-size: 50px;
  font-weight: 900;
  margin-bottom: 20px;
  z-index: 10;

}

.subscribe-form {
  display: flex;
  gap: 10px;
  background: white;
  border-radius: 30px;
  padding: 6px 10px;
  align-items: center;
  z-index: 101;

}

.subscribe-form input {
  border: none;
  padding: 10px 16px;
  border-radius: 30px;
  outline: none;
  font-size: 14px;
  flex: 1;
  min-width: 220px;
  z-index: 10;

}

.subscribe-form button {
  background-color: #6c5fbc;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  z-index: 10;

}



.subscribe-form button:hover {
  background-color: transparent;
  color: #6c5fbc;
  border-color: #6c5fbc;
  z-index: 10;
}
@media (max-width: 600px) {
  .promo-banner {
    flex-direction: column;
    padding: 30px 20px;
    text-align: center;
  }

  .promo-content h2 {
    font-size: 36px;
  }

  .subscribe-form {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .subscribe-form input,
  .subscribe-form button {
    width: 100%;
    min-width: unset;
  }
}

.footer {
  background-color: #ffffff;
  padding: 20px 40px;
  font-size: 14px;
  color: #555;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo img {
  width: 30px;
  height: 30px;
}

.logo span {
  font-size: 18px;
  color: #6c5fbc;
  font-weight: bold;
}

.footer-nav a {
  margin-left: 20px;
  color: #333;
  text-decoration: none;
  font-weight: 600;
}

.footer-nav a:hover {
  text-decoration: underline;
}

hr {
  margin: 20px 0;
  border: 0;
  height: 1px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.social-icons a {
  margin-left: 15px;
}

.social-icons img {
  width: 16px;
  height: 16px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.social-icons img:hover {
  opacity: 1;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.modal {
  background: #fff;
  width: 90%;
  max-width: 960px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  position: relative;
  display: flex;
  flex-direction: column;
}

.hidden {
  display: none;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 25px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #999;
  transition: 0.3s ease;
}
.close-btn:hover {
  color: #333;
}

.modal-body {
  display: flex;
  flex-direction: row;
}

.modal-left {
  flex: 1;
  padding: 50px 40px;
}

.modal-left h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
}

.brand {
  color: #6c5ce7;
}

.socials {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.social-btn {
  background: #f0f0f0;
  padding: 12px;
  border-radius: 10px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.social-btn:hover {
  background: #e0e0e0;
}

.modal-overlay input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 15px;
  transition: 0.2s;
  margin: 5px 0;
}
form input:focus {
  border-color: #6c5fbc;
  outline: none;
}

.primary-btn {
  width: 100%;
  padding: 14px;
  background: #6c5fbc;
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
  border: 2px solid transparent;
}
.primary-btn:hover {
  background-color: transparent;
  color: #6c5fbc;
  border-color: #6c5fbc;
}

.alt-auth {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
}

.alt-auth a {
  color: #6c5fbc;
  text-decoration: none;
}

.modal-right {
  flex: 1;
  background: #6c5fbc;
  color: white;
  padding: 50px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.food-img {
  width: 80%;
  max-width: 280px;
  margin: 0 auto 20px;
}

.food-info h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.food-info p {
  font-size: 14px;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .modal-body {
    flex-direction: column;
  }
  .modal-left, .modal-right {
    width: 100%;
    padding: 30px;
  }
}
