@import url('https://fonts.googleapis.com/css2?family=Cormorant:wght@400;500;600;700&family=Source+Serif+Pro:wght@400;600&display=swap');

:root {
  --color-terracotta: #b85042;
  --color-sage: #7a8c6e;
  --color-ochre: #f0d9b5;
  --color-indigo: #3f4a6d;
  --color-white: #ffffff;
  --color-dark: #1a1a1a;
  --color-light-gray: #f5f5f5;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Serif Pro', serif;
  font-size: 17.5px;
  line-height: 1.82;
  color: var(--color-dark);
  background-color: var(--color-white);
}

h1 {
  font-family: 'Cormorant', serif;
  font-size: 5.1rem;
  letter-spacing: 0.4px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--color-dark);
}

h2 {
  font-family: 'Cormorant', serif;
  font-size: 3.2rem;
  letter-spacing: 0.3px;
  font-weight: 400;
  margin-bottom: 1.5rem;
  margin-top: 2rem;
  color: var(--color-dark);
}

h3 {
  font-family: 'Cormorant', serif;
  font-size: 2rem;
  letter-spacing: 0.2px;
  font-weight: 500;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
  color: var(--color-dark);
}

p {
  margin-bottom: 1.5rem;
  color: var(--color-dark);
}

a {
  color: var(--color-sage);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-terracotta);
}

header {
  position: sticky;
  top: 0;
  background-color: var(--color-white);
  border-bottom: 1px solid #e0e0e0;
  z-index: 1000;
  transition: background-color 0.5s ease;
}

header.scrolled {
  background-color: var(--color-terracotta);
  border-bottom: 2px solid var(--color-sage);
}

header.scrolled a,
header.scrolled .logo {
  color: var(--color-white);
}

.header-container {
  max-width: 1520px;
  margin: 0 auto;
  padding: 1.5rem 120px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Cormorant', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-terracotta);
  text-decoration: none;
  transition: color 0.3s ease;
}

header.scrolled .logo {
  color: var(--color-white);
}

nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

nav a {
  font-size: 1rem;
  color: var(--color-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--color-terracotta);
}

header.scrolled nav a {
  color: var(--color-white);
}

header.scrolled nav a:hover {
  color: var(--color-ochre);
}

.container {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 120px;
}

@media (max-width: 768px) {
  .container,
  .header-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  nav {
    gap: 1.5rem;
  }

  nav a {
    font-size: 0.9rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.3rem;
  }
}

section {
  padding: 160px 0;
  position: relative;
  animation: fadeInUp 0.65s ease-out;
}

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

.hero {
  background-image: url('images/hero-ashwagandha.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  position: relative;
  padding: 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(184, 80, 66, 0.3);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero p {
  color: var(--color-white);
  font-size: 1.3rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

.section-light {
  background-color: var(--color-white);
}

.section-warm {
  background: linear-gradient(135deg, rgba(184, 80, 66, 0.05) 0%, rgba(240, 217, 181, 0.08) 100%);
}

.section-sage {
  background: linear-gradient(135deg, rgba(122, 140, 110, 0.03) 0%, rgba(63, 74, 109, 0.02) 100%);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background-color: var(--color-white);
  border: 1px solid #e0e0e0;
  padding: 2.5rem;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
}

.card:hover {
  border-color: var(--color-sage);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08),
              inset 0 0 20px rgba(240, 217, 181, 0.3);
  transform: scale(1.03);
}

.card h3 {
  color: var(--color-terracotta);
  margin-top: 0;
}

.card p {
  margin-bottom: 1rem;
}

.card-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  position: relative;
}

.card-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(240, 217, 181, 0.2);
  border-radius: 4px;
}

.image-block {
  margin: 3rem 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.image-block img {
  width: 100%;
  height: auto;
  display: block;
}

.text-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .text-image-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.text-image-grid.reverse {
  direction: rtl;
}

.text-image-grid.reverse > * {
  direction: ltr;
}

button, .btn {
  font-family: 'Source Serif Pro', serif;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1rem 2rem;
  border: 2px solid var(--color-sage);
  background: linear-gradient(135deg, rgba(240, 217, 181, 0.1) 0%, rgba(240, 217, 181, 0.05) 100%);
  color: var(--color-sage);
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

button:hover, .btn:hover {
  background: linear-gradient(135deg, rgba(240, 217, 181, 0.3) 0%, rgba(240, 217, 181, 0.2) 100%);
  box-shadow: 0 0 15px rgba(240, 217, 181, 0.4);
  animation: pulse 0.6s ease;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

button:active, .btn:active {
  box-shadow: 0 0 20px rgba(63, 74, 109, 0.6);
  animation: ripple 0.6s ease-out;
}

@keyframes ripple {
  0% {
    box-shadow: 0 0 0 rgba(63, 74, 109, 0.8);
  }
  100% {
    box-shadow: 0 0 30px rgba(63, 74, 109, 0);
  }
}

form {
  max-width: 600px;
  margin: 2rem 0;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-dark);
}

input[type="email"],
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: 'Source Serif Pro', serif;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 2px;
  background-color: var(--color-white);
  color: var(--color-dark);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-sage);
  box-shadow: 0 0 8px rgba(122, 140, 110, 0.3);
}

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

footer {
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 3rem 120px;
  margin-top: 3rem;
  border-top: 1px solid var(--color-terracotta);
}

@media (max-width: 768px) {
  footer {
    padding: 2rem;
  }
}

.footer-content {
  max-width: 1520px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-section h3 {
  color: var(--color-ochre);
  font-size: 1.1rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.8;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: #999;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

.disclaimer {
  background: linear-gradient(135deg, rgba(63, 74, 109, 0.05) 0%, rgba(122, 140, 110, 0.05) 100%);
  border-left: 4px solid var(--color-indigo);
  padding: 2rem;
  margin: 3rem 0;
  border-radius: 2px;
}

.disclaimer h3 {
  color: var(--color-indigo);
  margin-top: 0;
}

.disclaimer p {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.list-bordered {
  list-style: none;
  margin: 1.5rem 0;
}

.list-bordered li {
  padding: 0.75rem 0;
  padding-left: 1.5rem;
  position: relative;
  border-bottom: 1px solid #e0e0e0;
}

.list-bordered li:before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-sage);
  font-weight: bold;
}

.list-bordered li:last-child {
  border-bottom: none;
}

.text-center {
  text-align: center;
}

.margin-top {
  margin-top: 2rem;
}

.margin-bottom {
  margin-bottom: 2rem;
}

.text-muted {
  color: #666;
  font-size: 0.95rem;
}

.highlight {
  color: var(--color-terracotta);
  font-weight: 600;
}

.accent-line {
  height: 2px;
  background: linear-gradient(90deg, var(--color-indigo) 0%, transparent 100%);
  width: 80px;
  margin: 1rem 0;
}

.section .accent-line {
  margin-left: 0;
}

@media (max-width: 768px) {
  section {
    padding: 80px 0;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.6rem;
  }
}

.stagger-text > * {
  animation: fadeInUpStagger 0.5s ease-out both;
}

.stagger-text > *:nth-child(1) { animation-delay: 0.12s; }
.stagger-text > *:nth-child(2) { animation-delay: 0.24s; }
.stagger-text > *:nth-child(3) { animation-delay: 0.36s; }
.stagger-text > *:nth-child(4) { animation-delay: 0.48s; }
.stagger-text > *:nth-child(5) { animation-delay: 0.60s; }

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 1.5rem 2rem;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  display: none;
}

.cookie-banner.visible {
  display: block;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-content {
  max-width: 1520px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 250px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.cookie-text p {
  margin: 0;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.65rem 1.3rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.3s ease;
  border: none;
  font-family: 'Source Serif Pro', serif;
  font-weight: 600;
}

.cookie-btn-accept {
  background-color: var(--color-sage);
  color: var(--color-white);
}

.cookie-btn-accept:hover {
  background-color: var(--color-terracotta);
}

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

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

.cookie-btn-policy {
  background-color: transparent;
  border: 1px solid var(--color-ochre);
  color: var(--color-ochre);
}

.cookie-btn-policy:hover {
  background-color: rgba(240, 217, 181, 0.1);
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

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

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