/* Основні стилі для body */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}

/* Стиль для header */
header {
  background-color: #333;
  color: white;
  padding: 20px;
  text-align: center;
}

header h1 {
  margin: 0;
}

/* Навігація */
nav ul {
  list-style-type: none;
  padding: 0;
}

nav ul li {
  display: inline;
  margin: 0 10px;
}

nav ul li a {
  color: white;
  text-decoration: none;
}

/* Hero Section */
.hero {
  position: relative;
  background: url("img/path-to-image.jpg") no-repeat center center/cover;
  color: white;
  text-align: center;
  padding: 100px 20px;
}

/* Додаємо затемнення */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(
    0,
    0,
    0,
    0.4
  ); /* 0.4 - рівень прозорості, змінюй на свій розсуд */
  z-index: -1; /* Забезпечує, щоб затемнення не перекривало текст */
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 30px;
}

.hero .btn-primary {
  padding: 15px 30px;
  background-color: #ff5e00;
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.hero .btn-primary:hover {
  background-color: #ff3b00;
}

/* Секція "Despre Noi" */
.about {
  padding: 50px 20px;
  text-align: center;
  background-color: #fff;
}

.about h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about p {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 30px;
}

.about h3 {
  font-size: 1.8rem;
  margin-top: 30px;
}

.about ul {
  list-style-type: none;
  padding: 0;
}

.about ul li {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* Секція соціальних мереж */
.social-media {
  padding: 40px 20px;
  text-align: center;
  background-color: #333;
  color: white;
}

.social-media h3 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.social-media .social-links a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.social-media .social-links a:hover {
  color: #ff5e00;
}

/* Стиль для футера */
footer {
  background-color: #333;
  color: white;
  padding: 20px;
  text-align: center;
}

footer a {
  color: white;
  text-decoration: none;
}

footer a:hover {
  color: #ff5e00;
}
section {
  margin: 0 auto;
  max-width: 1200px;
}

h2 {
  color: #333;
}

.product-list {
  display: flex;
  gap: 20px;
}

.product {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.product img {
  width: 100%;
  height: auto;
}

.product button {
  background-color: #333;
  color: white;
  padding: 10px;
  border: none;
  cursor: pointer;
}
.despre-text {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  align-items: center;
}
.despre-text img {
  border-radius: 50px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

label {
  font-weight: bold;
  margin-bottom: 5px;
}

input,
textarea {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

textarea {
  resize: vertical;
}

button {
  background-color: #333;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background-color: #555;
}

/* Стіль для картинок */
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Збільшення картинки при наведенні */
img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Стіль для картинок в секціях продуктів */
.product img {
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product img:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Для картинок в галереї (наприклад, в секції продукти) */
.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

/* Допоміжні стилі для вирівнювання картинок */
img {
  margin: 0 auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
}

a {
  text-decoration: none;
  font-style: normal;
  color: inherit;
}

/* Стиль для кукі банера */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #333;
  color: white;
  padding: 15px;
  text-align: center;
  font-size: 1rem;
  z-index: 9999;
  display: none; /* За замовчуванням приховано */
  justify-content: space-between;
  align-items: center;
}

.cookie-banner p {
  margin: 0;
  padding-right: 10px;
  display: inline-block;
}

.cookie-banner a {
  color: #ff5e00;
  text-decoration: none;
}

.cookie-btn {
  padding: 10px 20px;
  background-color: #ff5e00;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.cookie-btn:hover {
  background-color: #ff3b00;
}
