/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
  background: white;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #666;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #333;
}

.header-actions {
  display: flex;
  gap: 1rem;
}

.search-btn,
.cart-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
  color: black;
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh; /* уменьшаем высоту, можно подправить 50vh/70vh */
    display: flex;
    align-items: flex-end; /* текст внизу */
    justify-content: flex-end; /* текст справа */
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center;
}

.hero-content {
    display: flex;
    align-items: center;      /* вертикальное выравнивание */
    justify-content: flex-end; /* справа на десктопе */
    gap: 10px;                /* расстояние между элементами, если несколько */
    flex-wrap: nowrap;        /* запрещаем перенос */

}

.hero-title {
    font-size: 36px; /* можно поставить меньше 36px, например 28px */
    color: #fff;
    line-height: 1.2;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
    white-space: nowrap; /* чтобы текст не переносился */
}

.hero-text {
    display: flex;
    align-items: center;
    gap: 10px;                /* промежуток между словами или элементами */
    white-space: nowrap;      /* текст не переносится */
}


/* Мобильные устройства */
@media (max-width: 768px) {
    .hero-bg-img {
        content: url('8.webp'); /* заменяем фон на мобильный */
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: center;
    }

    .hero {
        height: 70px;
        min-height: 30vh;
        align-items: center;
        justify-content: center;
    }

    .hero-content {
        justify-content: center; /* центрируем по горизонтали */
        font-size: 10px;
    }

 .hero-title {
        font-size: 18px; /* меньше для телефона */
        margin-top: 200px;
    }
}





/* Features Section */
.features-section {
    background: #fff;
    padding: 30px 0;
    border-top: 1px solid #e0e0e0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: center;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.feature-icon {
    font-size: 24px;
    flex-shrink: 0;
}

/* Products Section */
.products-section {
  background: #f4f4f4;
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 28px;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* всегда 4 карточки в строке */
  gap: 40px; /* расстояние между карточками */
  justify-items: center; /* выравниваем содержимое по центру */
}

.product-card {
  text-align: center;
  padding: 0; /* убираем внутренние отступы */
}

.product-image {
  margin-bottom: 15px;
}

.product-image img {
  width: 100%;
  max-width: 320px;  /* ограничение, чтобы не расползалось */
  height: 320px;     /* делаем фото квадратным и крупным */
  object-fit: contain;
}

.product-title {
  font-size: 20px;
  margin-bottom: 8px;
  color: #222;
}

.product-price {
  font-size: 20px;
  margin-bottom: 6px;
  color: #111;
}


.product-rating {
  font-size: 14px;
  color: #222;
}

.product-rating span {
  color: #777;
  margin-left: 5px;
}

@media (max-width: 768px) {
  .products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr); /* 2 карточки в ряд */
    gap: 20px; /* расстояние между карточками */
    justify-items: center;
  }

  .product-card {
    width: 100%;
    max-width: none; /* убираем ограничения */
    text-align: center;
  }

  .product-image img {
    width: 100%;
    height: auto; /* пропорциональная высота */
    max-width: 100%; /* чтобы не было обрезки */
    object-fit: contain;
  }
}





.slideshow-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('7.webp') center/cover no-repeat;
  z-index: 0;
}

.slideshow-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.slide {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 50px;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 1s ease-in-out;
  width: 100%;
  max-width: 1200px;
  height: 500px; /* фиксированная высота, чтобы картинка не прыгала */
}

.slide.active {
  opacity: 1;
}

.slide-image {
  width: 500px;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  flex-shrink: 0;
}

.slide-text {
  color: #fff;
  font-size: 32px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .slideshow-section {
    height: 70vh;
  }

  .slide {
    flex-direction: column; /* картинка сверху, текст снизу */
    gap: 20px;
    width: 90%;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .slide-image {
    width: 100%;
    height: 80vw; /* адаптивная высота картинки */
    border-radius: 16px;
  }

  .slide-text {
    font-size: 20px;
    text-align: center;
    color: #fff;
    width: 100%;
  }

  .background-image {
    background: url('7.webp') center/cover no-repeat;
  }
}


/* Reviews Section */
.reviews-section {
    background: #f8f8f8;
    padding: 80px 0;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    font-style: italic;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.review-rating {
    color: #FFD700;
    font-size: 20px;
    margin-bottom: 20px;
}

.review-text {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.review-author {
    color: #666;
    font-weight: 600;
    font-size: 14px;
}

/* Newsletter Section */
/* Newsletter */
    .newsletter-section {
      background: #fff;
      padding: 80px 20px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .newsletter-title {
      font-size: 28px;
      font-weight: 300;
      margin-bottom: 25px;
    }
    .newsletter-form {
      display: flex;
      max-width: 500px;
      margin: 0 auto;
      gap: 12px;
    }
    .newsletter-input {
      flex: 1;
      padding: 14px 20px;
      border: 1px solid #ddd;
      border-radius: 50px;
      font-size: 15px;
      outline: none;
    }
    .newsletter-btn {
      background: #111;
      color: #fff;
      border: none;
      padding: 14px 28px;
      border-radius: 50px;
      font-weight: 300;
      cursor: pointer;
      transition: all 0.3s ease;
    }
    .newsletter-btn:hover {
      background: #444;
    }

/* Promo section */
.promo-section {
  position: relative;
  padding: 80px 20px;
  overflow: hidden;
  background: #fff;
}

.promo-content {
  display: flex; /* flex для одной линии */
  justify-content: center; /* центрируем */
  gap: 10px; /* примерно 1 см */
  z-index: 1;
  position: relative;
  flex-wrap: nowrap; /* запрещаем перенос на новую строку */
}

.promo-item {
  text-align: center;
  position: relative;
  z-index: 2;
  flex: 1 1 0; /* все элементы делят доступное пространство */
  max-width: 33.33%; /* каждая картинка занимает треть ширины контейнера */
}

/* Картинки */
.promo-product,
.promo-image {
  width: 100%; /* растягиваем по ширине flex-блока */
  height: 500px; /* фиксированная высота */
  border-radius: 16px;
  background: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.promo-product img,
.promo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Тексты */
.promo-discount {
  font-size: 22px;
  font-weight: 300;
  margin-bottom: 10px;
  color: #111;
}
.promo-description,
.promo-title,
.promo-subtitle {
  font-weight: 300;
  color: #333;
}
.promo-title {
  font-size: 24px;
  margin-bottom: 5px;
}
.promo-subtitle {
  font-size: 15px;
  color: #666;
}

/* Floating circles */
.circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(0,0,0,0.05);
  animation: float 12s infinite ease-in-out;
  z-index: 0;
}
.circle:nth-child(1) {
  width: 220px; height: 220px;
  top: -60px; left: 10%;
  animation-duration: 18s;
}
.circle:nth-child(2) {
  width: 150px; height: 150px;
  bottom: -40px; right: 15%;
  animation-duration: 22s;
}
.circle:nth-child(3) {
  width: 100px; height: 100px;
  top: 40%; left: -50px;
  animation-duration: 16s;
}
@keyframes float {
  0% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-40px) translateX(30px); }
  100% { transform: translateY(0) translateX(0); }
}


@media (max-width: 768px) {
  /* контейнер на мобильных убираем паддинги */
  .promo-section .container {
    padding: 0;
    margin: 0;
  }

  .promo-content {
    display: flex;
    overflow-x: auto; 
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    padding: 0;
    margin: 0;
  }

  .promo-item {
    flex: 0 0 100%; /* каждая картинка на весь экран */
    max-width: 100%;
    scroll-snap-align: start;
    position: relative;
  }

  .promo-product,
  .promo-image {
    width: 100%;
    height: 80vw;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .promo-product img,
  .promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .promo-text {
    position: absolute;
    bottom: 10%;
    left: 5%;
    right: 5%;
    color: #fff;
    text-align: left;
    background: rgba(0,0,0,0.3);
    padding: 10px;
    border-radius: 8px;
  }

  .promo-discount {
    font-size: 18px;
  }
  .promo-description {
    font-size: 14px;
  }
}


    /* Footer */
    .footer {
      background: #fff;
      padding: 60px 0 30px;
      border-top: 1px solid #eee;
    }
    .footer-content {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 40px;
      margin-bottom: 30px;
    }
    .footer-title {
      font-size: 16px;
      font-weight: 400;
      margin-bottom: 15px;
    }
    .footer-link {
      display: block;
      color: #555;
      text-decoration: none;
      margin-bottom: 8px;
      font-weight: 300;
      transition: color 0.3s ease;
    }
    .footer-link:hover {
      color: #000;
    }
    .footer-description,
    .contact-info p {
      font-size: 14px;
      color: #666;
      font-weight: 300;
      margin: 0 0 5px;
    }
    .footer-bottom {
      text-align: center;
      font-size: 13px;
      color: #999;
      border-top: 1px solid #eee;
      padding-top: 15px;
    }


/* Shopping Cart Modal */
.cart-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}

.cart-modal.active {
  visibility: visible;
  opacity: 1;
}

.cart-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.cart-sidebar {
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 100%;
  background: white;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cart-modal.active .cart-sidebar {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #eee;
}

.cart-header h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c2c2c;
}

.cart-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
  padding: 0.5rem;
}

.cart-content {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-image {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 8px;
  background: #f8f9fa;
  padding: 0.5rem;
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: #2c2c2c;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.cart-item-price {
  font-size: 1rem;
  font-weight: 600;
  color: #2c2c2c;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.cart-quantity-btn {
  width: 24px;
  height: 24px;
  border: 1px solid #ddd;
  background: white;
  font-size: 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.cart-quantity-display {
  font-size: 0.9rem;
  font-weight: 500;
  min-width: 20px;
  text-align: center;
}

.remove-item-btn {
  background: none;
  border: none;
  color: #999;
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: underline;
  margin-left: 0.5rem;
}

.cart-recommendations {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

.cart-recommendations h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #666;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.recommendation-item {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.recommendation-image {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 6px;
  background: #f8f9fa;
  padding: 0.25rem;
}

.recommendation-info h4 {
  font-size: 0.8rem;
  font-weight: 500;
  color: #2c2c2c;
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.recommendation-price {
  margin-bottom: 0.5rem;
}

.rec-current-price {
  font-size: 0.9rem;
  font-weight: 600;
  color: #2c2c2c;
  margin-right: 0.5rem;
}

.rec-original-price {
  font-size: 0.8rem;
  color: #999;
  text-decoration: line-through;
}

.add-recommendation-btn {
  background: none;
  border: 1px solid #2c2c2c;
  color: #2c2c2c;
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  text-decoration: underline;
}

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid #eee;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.view-cart-btn {
  background: white;
  color: #2c2c2c;
  border: 2px solid #2c2c2c;
  padding: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
}

.view-cart-btn:hover {
  background: #2c2c2c;
  color: white;
}

.checkout-btn {
  background: #2c2c2c;
  color: white;
  border: none;
  padding: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.checkout-btn:hover {
  background: #1a1a1a;
}

/* Hero Section */
.hero {
  margin-top: 80px;
  padding: 4rem 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-visual {
  position: relative;
  height: 500px;
}

.yellow-shape {
  position: absolute;
  top: 50px;
  left: 50px;
  width: 300px;
  height: 400px;
  background: #ffd700;
  clip-path: polygon(0 0, 80% 0, 100% 20%, 100% 100%, 20% 100%, 0 80%);
  z-index: 1;
}

.products-showcase {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-bottles-image {
  max-width: 100%;
  max-height: 600px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.hero-info h1 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #2c2c2c;
  line-height: 1.2;
}

.hero-description {
  font-size: 1rem;
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.pricing {
  margin-bottom: 1.5rem;
}

.current-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: #dc3545;
  margin-right: 1rem;
}

.original-price {
  font-size: 1.2rem;
  color: #999;
  text-decoration: line-through;
}

.product-details {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.product-details strong {
  color: #2c2c2c;
  font-weight: 600;
}

.quantity-selector {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  gap: 0;
}

.quantity-btn {
  width: 40px;
  height: 40px;
  border: 1px solid #ddd;
  background: white;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.quantity-btn:hover {
  background: #f8f9fa;
}

.quantity-btn.minus {
  border-radius: 5px 0 0 5px;
}

.quantity-btn.plus {
  border-radius: 0 5px 5px 0;
}

#quantity {
  width: 60px;
  height: 40px;
  border: 1px solid #ddd;
  border-left: none;
  border-right: none;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  background: white;
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.add-to-cart-btn {
  background: white;
  color: #2c2c2c;
  border: 2px solid #2c2c2c;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
}

.add-to-cart-btn:hover {
  background: #2c2c2c;
  color: white;
}

.buy-now-btn {
  background: #2c2c2c;
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.buy-now-btn:hover {
  background: #1a1a1a;
}

.delivery-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: #666;
}

.delivery-icon {
  font-size: 1.2rem;
}

.share-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: #666;
}

.share-icons {
  display: flex;
  gap: 0.5rem;
}

.share-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.25rem;
}

.hero-features,
.feature,
.cta-button {
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
   
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .mission-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .promo-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .cart-sidebar {
        width: 100%;
    }
}


/* Mini Banner */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  background: #ffffff; /* фон секции */
  width: 100%;
  height: 70px;
  padding: 10px 0;
display: flex;
justify-content: center;
align-items: center;  
}

.marquee__inner {
  display: inline-flex;
  position: absolute;
  left: -70%; /* начинаем с правого края */
  animation: marquee 795s linear infinite;
  align-items: center;
  

}

.marquee__item {
  display: inline-flex;
  align-items: center;
  margin-right: 50px; /* расстояние между повторениями */
  color: #000000;
  font-size: 18px;
}

.marquee__item img {
  width: 40px; /* размер значка */
  height: 40px;
  object-fit: contain;
  margin-left: 40px; /* расстояние между текстом и значком */
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}


