@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@600;700&family=Karla:wght@400;500&display=swap');

:root {
  --primary-brown: #4A2C2A;
  --accent-orange: #D2691E;
  --olive-green: #6B8E23;
  --warm-cream: #F5F5DC;
  --text-dark: #2C2C2C;
  --light-bg: #F9F7F4;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Karla', sans-serif;
  color: var(--text-dark);
  line-height: 1.8;
  font-size: 17px;
  background-color: var(--light-bg);
}

h1 {
  font-family: 'Nunito', sans-serif;
  font-size: 52px;
  font-weight: 600;
  letter-spacing: 0.8px;
  line-height: 1.2;
  color: var(--primary-brown);
  margin-bottom: 30px;
}

h2 {
  font-family: 'Nunito', sans-serif;
  font-size: 38px;
  font-weight: 600;
  color: var(--accent-orange);
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-brown);
  margin-bottom: 15px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(74, 44, 42, 0.95) 0%, rgba(74, 44, 42, 0.85) 100%),
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%234A2C2A" width="100" height="100"/><path fill="%23654321" opacity="0.1" d="M0 0h100v50H0z"/></svg>');
  background-size: cover;
  padding: 20px 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

nav.navbar {
  background: transparent !important;
}

.navbar-brand {
  font-family: 'Nunito', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--warm-cream) !important;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.navbar-brand:hover {
  color: var(--accent-orange) !important;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link {
  color: var(--warm-cream) !important;
  margin-left: 25px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--accent-orange) !important;
}

main {
  margin-top: 80px;
}

.hero-section {
  position: relative;
  height: 100vh;
  background: linear-gradient(rgba(74, 44, 42, 0.4), rgba(74, 44, 42, 0.4));
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  overflow: hidden;
  animation: fadeIn 0.8s ease-in;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.hero-content {
  max-width: 700px;
  z-index: 2;
  animation: slideUp 0.8s ease-out 0.2s backwards;
}

.section {
  padding: 160px 0;
  background-color: var(--light-bg);
}

.section:nth-child(even) {
  background-color: #FEFDFB;
}

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

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.product-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  animation: fadeInScale 0.6s ease-out;
}

.product-card:hover {
  border: 3px solid var(--accent-orange);
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(210, 105, 30, 0.15);
}

.product-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.product-content {
  padding: 30px;
}

.product-content h3 {
  color: var(--primary-brown);
  margin-bottom: 12px;
}

.product-content p {
  color: #666;
  line-height: 1.8;
  font-size: 15px;
}

.nutrients-list {
  list-style: none;
  margin: 30px 0;
}

.nutrients-list li {
  padding: 15px;
  margin-bottom: 15px;
  background-color: var(--warm-cream);
  border-left: 4px solid var(--accent-orange);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.nutrients-list li:hover {
  background-color: rgba(210, 105, 30, 0.08);
  transform: translateX(8px);
}

.nutrients-list strong {
  color: var(--primary-brown);
  font-weight: 600;
}

.content-block {
  margin-bottom: 50px;
  animation: fadeIn 0.6s ease-out;
}

.content-block p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: var(--text-dark);
}

.image-block {
  margin: 40px 0;
  text-align: center;
  animation: fadeInScale 0.6s ease-out;
}

.image-block img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  max-height: 400px;
  object-fit: cover;
}

.disclaimer-box {
  background-color: rgba(107, 142, 35, 0.08);
  border-left: 5px solid var(--olive-green);
  padding: 25px;
  margin: 40px 0;
  border-radius: 4px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-dark);
}

.disclaimer-box strong {
  color: var(--olive-green);
}

.faq-item {
  margin-bottom: 25px;
  padding: 20px;
  background-color: var(--warm-cream);
  border-radius: 4px;
  border-left: 4px solid var(--accent-orange);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-question {
  font-weight: 600;
  color: var(--primary-brown);
  margin-bottom: 10px;
  cursor: pointer;
}

.faq-answer {
  color: var(--text-dark);
  font-size: 15px;
  line-height: 1.8;
}

.cta-button {
  display: inline-block;
  background-color: var(--accent-orange);
  color: white;
  padding: 14px 36px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(210, 105, 30, 0.25);
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background-color: var(--primary-brown);
  box-shadow: 0 6px 20px rgba(210, 105, 30, 0.35);
  transform: translateY(-2px);
}

.cta-button:active {
  transform: translateY(0);
}

footer {
  background-color: var(--primary-brown);
  color: var(--warm-cream);
  padding: 60px 0 30px;
  margin-top: 100px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px;
  margin-bottom: 40px;
}

.footer-section h4 {
  color: var(--accent-orange);
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 600;
}

.footer-section p,
.footer-section ul {
  font-size: 14px;
  line-height: 1.8;
  color: var(--warm-cream);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: var(--accent-orange);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--warm-cream);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(245, 245, 220, 0.2);
  font-size: 13px;
  color: var(--warm-cream);
}

.contact-form {
  max-width: 500px;
  margin: 40px auto;
  padding: 40px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--primary-brown);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Karla', sans-serif;
  font-size: 15px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(210, 105, 30, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.form-disclaimer {
  background-color: rgba(107, 142, 35, 0.08);
  border-left: 4px solid var(--olive-green);
  padding: 15px;
  margin-bottom: 25px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--text-dark);
  line-height: 1.6;
}

.thank-you-container {
  text-align: center;
  padding: 100px 40px;
}

.thank-you-container h1 {
  color: var(--accent-orange);
  margin-bottom: 20px;
}

.thank-you-container p {
  font-size: 18px;
  margin-bottom: 30px;
  color: var(--text-dark);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary-brown);
  color: var(--warm-cream);
  padding: 20px 40px;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.cookie-button {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.cookie-accept {
  background-color: var(--accent-orange);
  color: white;
}

.cookie-accept:hover {
  background-color: #C2591A;
}

.cookie-decline {
  background-color: transparent;
  color: var(--warm-cream);
  border: 1px solid var(--warm-cream);
}

.cookie-decline:hover {
  background-color: rgba(245, 245, 220, 0.1);
}

.cookie-policy-link {
  color: var(--accent-orange);
  text-decoration: none;
  white-space: nowrap;
}

.cookie-policy-link:hover {
  text-decoration: underline;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 20px;
  }

  .section {
    padding: 100px 0;
  }

  .section-container {
    padding: 0 20px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 20px;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cookie-button {
    width: 100%;
    text-align: center;
  }

  .navbar-nav {
    margin-top: 15px;
  }

  .navbar-nav .nav-link {
    margin-left: 0;
    margin-bottom: 10px;
  }

  main {
    margin-top: 100px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 22px;
  }

  body {
    font-size: 15px;
  }

  .section-container {
    padding: 0 15px;
  }

  .contact-form {
    padding: 25px;
  }

  .hero-section {
    height: 70vh;
  }
}
