
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #d4b8a6;
}

/*Верхнє меню*/

/* Контейнер верхнього меню */
.navbar {
  background-color: #38241b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}

/* Логотип у меню */
.navbar .logo {
  color: #ffffff;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Посилання у меню */
.navbar .nav-links {
  display: flex;
  gap: 10px;
}

/* Кнопки у верхньому меню */
.navbar button {
  padding: 6px 12px;
  cursor: pointer;
  background-color: #f0e9e1;
  color: #38241b;   
  border: none;
  padding: 10px 25px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; 
}

.navbar button:hover{
  transform: scale(1.03);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.hero {
  background-image: url('canvas.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  text-align: center;
  padding: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Заголовок */
.hero h1 {
  margin-bottom: 20px;
  color: #38241b;            
  font-size: 3em;            
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); 
}

/* Кнопка */
.hero button {
  background-color: #f0e9e1; 
  color: #38241b;
  border: none;
  padding: 10px 25px; 
  font-size: 18px;
  cursor: pointer;
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; 
}

.hero button:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/*Меню*/

/* Контейнер секції меню */
.menu-section {
  padding: 40px 20px;
  text-align: center;
}

/* Заголовок */
.menu-section h2 {
  margin-bottom: 10px;
}

/* Опис */
.menu-section p {
  margin-bottom: 30px;
}

/* Сітка карток меню */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Картки напоїв */
.menu-item {
  background-color: #f0f0f0;
  padding: 10px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Фото у картках */
.menu-item img {
  width: 100%;           
  height: 80px;          
  object-fit: cover;    
  background-color: #999;
  margin-bottom: 5px;
}

/* Назва напою */
.menu-item span {
  display: block;
  font-size: 0.9rem;
  text-align: center;
}

/*ПРО НАС */

/* Контейнер */
.about-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 40px 20px;
}

/* Текст */
.about-text {
  flex: 1 1 300px;
  max-width: 600px;
}

.about-text h1 {
  margin-bottom: 20px;
}

.about-text p {
  text-align: left; 
}

/* Фото */
.about-photo {
  flex: 1 1 250px;
  max-width: 300px;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 1 / 1; 
  object-fit: cover;
  border-radius: 8px;
  background-color: #999; 
}

/* Завантаження додатку*/

/* Контейнер */
.download-app {
  text-align: center;
  padding: 40px 20px;
}

.download-app h2 {
  margin-bottom: 30px;
}

/* Кнопка */
.download-btn {
  background-color: #f0e9e1; 
  color: #38241b;
  border: none;
  padding: 10px 20px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; 
  margin-bottom: 40px;
}

.download-btn:hover{
  transform: scale(1.03);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Зображення додатку */
.app-images {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.app-item img {
  width: 150px;
  height: 150px;
  object-fit: cover;
}

/* Нижній блок*/

/* Основний контейнер */
.footer {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  padding: 40px 20px;
  background: #38241b;
  color: #ffffff;
}

/* Колонки */
.footer-left, .footer-middle, .footer-right {
  flex: 1;
  min-width: 200px;
  text-align: center;
}

/* Соцмережі */
.socials {
  list-style: none;
  padding: 0;
}

.socials li {
  margin: 5px 0;
}

/* Кнопки (Google Play / Apple Store) */
.store-buttons img {
  width: 150px;
  margin: 10px;
}

/* Модальне вікно */

/* Загальний контейнер*/
.popup {
  background-color: #d4b8a6;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

/* Коли активне */
.popup.active {
  opacity: 1;
  visibility: visible;
}

/* Контент (дві колонки) */
.popup-content {
  background: #d4b8a6;     
  padding: 20px;        
  width: 600px;         
  display: flex;        
  gap: 20px;            
  border-radius: 8px;
  position: relative;   
}

/* Кнопка закриття (хрестик) */
.close {
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: 20px;
  cursor: pointer;
}

/* Ліва колонка (фото) */
.image-frame {
  flex: 1;       
  height: 250px;
  background: #d4b8a6;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  overflow: hidden;
}

.image-frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

/* Заглушка якщо фото нема */
.no-image {
  width: 80%;
  height: 80%;
  background: #777;
}

/* Права колонка (інформація) */
.popup-info {
  flex: 2; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

/* Заголовок у правій колонці */
.popup-info h2 {
  margin-top: 0;
}

/* Блок кнопок розмірів */
.sizes {
  margin: 10px 0;
}

/* Кнопки вибору розміру */
.sizes button {
  margin-right: 8px;
  padding: 6px 12px;
  cursor: pointer;
}

/* Кнопка "Додати" */
.add-btn {
  background-color: #f0e9e1; 
  color: #38241b;
  border: none;
  padding: 8px 16px; 
  font-size: 18px;
  cursor: pointer;
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; 
}

.add-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}