@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
  --primary-color: #3d2817;
  --background-color: #f5efe6;
  --accent-color: #b87333;
  --highlight-color: #faf7f2;
  --text-color: #2c2c2c;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
  overflow-x: hidden;
}

header {
  background-color: var(--primary-color);
  color: var(--highlight-color);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--highlight-color);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--highlight-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 1rem;
}

nav a:hover {
  color: var(--accent-color);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--highlight-color);
  margin: 3px 0;
  transition: 0.3s;
  display: block;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

section {
  margin: 2rem 0;
  padding: 2rem;
}

section.hero {
  margin-top: 0;
}

.section-header {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-header.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero {
  background: linear-gradient(rgba(61, 40, 23, 0.7), rgba(61, 40, 23, 0.5)), url('../images/hero-bg.jpg') center/cover no-repeat;
  color: var(--highlight-color);
  padding: 8rem 2rem;
  text-align: center;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.3s;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  max-width: 700px;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.6s;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.9s;
}

.btn {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  display: inline-block;
  cursor: pointer;
  border: 2px solid transparent;
  font-family: 'Montserrat', sans-serif;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--highlight-color);
}

.btn-primary:hover {
  background-color: #9a5f28;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(184, 115, 51, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
  background-color: var(--highlight-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.product-card {
  background-color: var(--highlight-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.product-card-content {
  padding: 1.5rem;
}

.product-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.product-card p {
  color: var(--text-color);
  margin-bottom: 1rem;
}

.content-container {
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 2rem;
  padding: 0 2rem;
}

.text-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

.text-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--primary-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.text-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.text-content p {
  margin-bottom: 1rem;
}

.text-content ul {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.text-content li {
  margin-bottom: 0.5rem;
}

form {
  max-width: 600px;
  margin: 2rem auto;
  background-color: var(--highlight-color);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

form input[type="text"],
form input[type="email"],
form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

form textarea {
  resize: vertical;
  min-height: 150px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1rem;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
}

.checkbox-group label {
  font-weight: 400;
  font-size: 0.9rem;
}

.success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.success-page h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.success-page p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

footer {
  background-color: var(--primary-color);
  color: var(--highlight-color);
  padding: 3rem 2rem 1rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-column h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.footer-column p,
.footer-column a {
  color: var(--highlight-color);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  margin: 0;
}

.privacy-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.privacy-links a {
  color: var(--highlight-color);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.privacy-links a:hover {
  color: var(--accent-color);
}

.privacy-popup {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary-color);
  color: var(--highlight-color);
  padding: 2rem;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
  z-index: 10000;
}

.privacy-popup.active {
  display: block;
}

.privacy-popup-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.privacy-popup p {
  flex: 1;
  min-width: 250px;
}

.privacy-popup-buttons {
  display: flex;
  gap: 1rem;
}

.privacy-popup button {
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
}

.privacy-popup .btn-accept {
  background-color: var(--accent-color);
  color: var(--highlight-color);
}

.privacy-popup .btn-accept:hover {
  background-color: #9a5f28;
}

.privacy-popup .btn-decline {
  background-color: transparent;
  color: var(--highlight-color);
  border: 2px solid var(--highlight-color);
}

.privacy-popup .btn-decline:hover {
  background-color: var(--highlight-color);
  color: var(--primary-color);
}

.privacy-policy,
.terms,
.return-policy,
.cookies {
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (max-width: 768px) {
  body {
    hyphens: auto;
  }

  .logo {
    font-size: 1rem;
  }

  .hamburger {
    display: flex;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  nav.active {
    max-height: 500px;
  }

  nav ul {
    flex-direction: column;
    padding: 1rem 2rem;
    gap: 1rem;
    align-items: flex-start;
  }

  section {
    margin-bottom: 1rem;
    padding: 1rem;
  }

  .hero {
    padding: 4rem 1rem;
    min-height: 400px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-header {
    font-size: 1.8rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .privacy-popup-content {
    flex-direction: column;
    text-align: center;
  }

  .privacy-popup-buttons {
    width: 100%;
    justify-content: center;
  }

  .privacy-policy,
  .terms,
  .return-policy,
  .cookies {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

