* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial;
}

body {
  background: radial-gradient(circle at top, #141414, #0b0b0b);
  color: white;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* HEADER */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  display: flex;
  justify-content: space-between;
  padding: 20px 60px;
  background: rgba(10,10,10,0.6);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212,175,55,0.15);
  z-index: 1000;
}

.header a {
  color: #aaa;
  margin-right: 20px;
  text-decoration: none;
}

.header a:hover {
  color: #d4af37;
}

.cart {
  cursor: pointer;
  color: #d4af37;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 160px 90px;
  min-height: 100vh;
  background: radial-gradient(circle at 20% 20%, rgba(212,175,55,0.08), transparent 50%);
}

.hero-left {
  flex: 1;
  display: flex;
  justify-content: center;
  animation: fadeLeft 1s ease;
}

.hero-right {
  flex: 1;
  animation: fadeRight 1s ease;
}

.image {
  width: 420px;
  filter: drop-shadow(0 0 40px rgba(212,175,55,0.3));
  transition: 0.4s;
}

.image:hover {
  transform: scale(1.05);
}

.hero-right h1 {
  font-size: 60px;
  line-height: 1.05;
  letter-spacing: 1px;
}

.hero-right p {
  margin-top: 15px;
  color: #aaa;
  font-size: 18px;
}

/* animations */
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* BUTTON */
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  border: 1px solid #d4af37;
  color: #d4af37;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background: #d4af37;
  color: #000;
}

/* SECTIONS */
.section {
  padding: 100px 80px;
  text-align: center;
}

.section h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #d4af37;
}

.section p {
  max-width: 700px;
  margin: 0 auto;
  color: #bbb;
  line-height: 1.6;
}

.dark {
  background: #111;
}

/* PRODUCTS */
.product-grid {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.product {
  background: #141414;
  border: 1px solid #222;
  width: 260px;
  padding: 15px;
  border-radius: 12px;
  transition: 0.3s;
}

.product:hover {
  transform: translateY(-8px);
  border-color: #d4af37;
}

.product img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
}

.product button {
  margin-top: 10px;
  width: 100%;
  padding: 10px;
  background: #d4af37;
  border: none;
  cursor: pointer;
}

/* CART */
.cart-panel {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100%;
  background: #0f0f0f;
  padding: 20px;
  transition: 0.3s;
  border-left: 1px solid rgba(212,175,55,0.2);
}

.cart-panel.open {
  right: 0;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
  font-size: 14px;
}

.total {
  margin-top: 20px;
  color: #d4af37;
}
/* CONTACT WRAPPER IMPROVEMENT */
#contact {
  background: linear-gradient(145deg, #101010, #0b0b0b);
  border-top: 1px solid rgba(212,175,55,0.1);
  border-bottom: 1px solid rgba(212,175,55,0.1);
}

/* CONTACT TITLE */
#contact h2 {
  letter-spacing: 1px;
}

/* CONTACT TEXT */
#contact p {
  color: #aaa;
  margin-bottom: 20px;
}

/* CONTACT BOX (premium info block) */
.contact-box {
  margin-top: 25px;
  padding: 20px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  background: rgba(20,20,20,0.6);
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  line-height: 1.8;
  color: #bbb;
}

/* FORM (premium card style) */
.contact-form {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  padding: 25px;
  background: linear-gradient(145deg, #141414, #0d0d0d);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 14px;
  box-shadow: 0 0 30px rgba(0,0,0,0.4);
}

/* INPUTS */
.contact-form input,
.contact-form textarea {
  padding: 14px;
  background: #0f0f0f;
  border: 1px solid rgba(212,175,55,0.2);
  color: #fff;
  outline: none;
  border-radius: 8px;
  transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #d4af37;
  box-shadow: 0 0 12px rgba(212,175,55,0.2);
}

/* TEXTAREA */
.contact-form textarea {
  min-height: 130px;
  resize: none;
}

/* BUTTON */
.contact-form button {
  padding: 14px;
  background: #d4af37;
  border: none;
  cursor: pointer;
  font-weight: bold;
  border-radius: 8px;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #fff;
  color: #000;
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  /* Головний відступ для мобілок */
  .header {
    padding: 15px 20px;
  }
  
  .header nav {
    display: none; /* Приховуємо навігацію, щоб не налізала на кошик (можна замінити на бургер-меню) */
  }

  .hero {
    flex-direction: column-reverse; /* Картинка буде над текстом або навпаки */
    padding: 100px 20px 40px;
    text-align: center;
  }

  .hero-right h1 {
    font-size: 32px; /* Зменшуємо завеликий заголовок */
  }

  .image {
    width: 100%; /* Картинка підлаштовується під ширину екрана */
    max-width: 280px;
    margin-bottom: 30px;
  }

  .section {
    padding: 60px 20px;
  }

  .product-grid {
    gap: 15px;
  }

  .product {
    width: 100%; /* Картки товарів на весь екран */
    max-width: 320px;
  }

  .contact-form, .contact-box {
    width: 100%;
    margin: 20px auto;
  }
  
  .cart-panel {
    width: 100%; /* Кошик на весь екран на мобілці */
    right: -100%;
  }
}
