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

:root {
  --charcoal: #3c3f41;
  --amber: #d4a017;
  --sage: #b2c8b6;
  --terracotta: #a0522d;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --dark-gray: #2a2a2a;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans Pro', sans-serif;
  color: var(--charcoal);
  background-color: var(--white);
  line-height: 1.85;
  font-size: 17px;
}

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

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--charcoal);
  margin-bottom: 2rem;
  margin-top: 3rem;
}

h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 1.25rem;
  margin-top: 1.5rem;
}

p {
  margin-bottom: 1.25rem;
  color: var(--charcoal);
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 160, 23, 0.1);
  transition: all 0.3s ease;
}

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

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

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

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--charcoal);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.logo:hover {
  color: var(--amber);
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--amber);
  transition: width 0.3s ease;
}

.nav-link:hover:after {
  width: 100%;
}

.nav-link:hover {
  color: var(--amber);
}

footer {
  background-color: var(--charcoal);
  color: var(--white);
  padding: 4rem 2rem 2rem;
  margin-top: 6rem;
  font-size: 0.95rem;
}

.footer-container {
  max-width: 1520px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--amber);
}

.footer-section a {
  color: var(--white);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

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

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact p {
  margin: 0;
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(212, 160, 23, 0.2);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

.footer-message {
  color: var(--amber);
  font-weight: 500;
  margin-bottom: 1rem;
}

.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(60, 63, 65, 0.4) 0%, rgba(212, 160, 23, 0.2) 100%);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('images/hero-roots-twilight.jpg') center/cover no-repeat;
  z-index: -1;
  animation: parallax 1s ease-out forwards;
}

@keyframes parallax {
  from {
    transform: translateZ(0);
  }
  to {
    transform: translateZ(0);
  }
}

.hero-content {
  max-width: 700px;
  padding: 2rem;
  margin-left: 10%;
  animation: fadeUpStagger 1s ease-out forwards;
  opacity: 0;
}

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

.hero-content h1 {
  color: var(--white);
  animation: fadeUpStagger 1s ease-out 0.14s forwards;
  opacity: 0;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
  animation: fadeUpStagger 1s ease-out 0.28s forwards;
  opacity: 0;
}

section {
  padding: 10rem 2rem;
  max-width: 1520px;
  margin: 0 auto;
}

.section-with-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.section-with-image img {
  width: 100%;
  height: auto;
  max-width: 600px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(60, 63, 65, 0.15);
}

.section-text {
  animation: fadeUpStagger 0.8s ease-out forwards;
  opacity: 0;
}

.section-text h2,
.section-text h3 {
  animation: fadeUpStagger 0.8s ease-out 0.14s forwards;
  opacity: 0;
}

.section-text p {
  animation: fadeUpStagger 0.8s ease-out 0.28s forwards;
  opacity: 0;
}

.accent-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--amber) 0%, rgba(212, 160, 23, 0.3) 100%);
  margin-bottom: 2rem;
}

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

.card {
  background: var(--white);
  border: 2px solid transparent;
  padding: 2.5rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(60, 63, 65, 0.1);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(212, 160, 23, 0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  border-color: var(--amber);
  box-shadow: 0 8px 30px rgba(212, 160, 23, 0.2);
  transform: scale(1.03);
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  position: relative;
  z-index: 1;
  margin-top: 0;
}

.card p {
  position: relative;
  z-index: 1;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: transparent;
  border: 2px solid var(--amber);
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  font-family: 'Source Sans Pro', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: var(--amber);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  opacity: 0.1;
  z-index: -1;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover {
  color: var(--charcoal);
  transform: scale(1.04);
  box-shadow: 0 8px 25px rgba(212, 160, 23, 0.2);
}

.btn:active {
  transform: scale(0.98);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

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

.image-left {
  order: -1;
}

.disclaimer-box {
  background-color: var(--light-gray);
  border-left: 4px solid var(--amber);
  padding: 2rem;
  margin: 3rem 0;
  border-radius: 4px;
  font-size: 0.95rem;
}

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

.contact-form {
  max-width: 600px;
  margin: 2rem auto;
  background-color: var(--light-gray);
  padding: 2.5rem;
  border-radius: 4px;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--charcoal);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid rgba(60, 63, 65, 0.2);
  border-radius: 4px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.1);
}

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

.form-disclaimer {
  font-size: 0.85rem;
  color: rgba(60, 63, 65, 0.7);
  margin-top: 1rem;
  line-height: 1.6;
}

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

.thank-you-box {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 600px;
  margin: 4rem auto;
}

.thank-you-box h1 {
  margin-bottom: 1rem;
}

.thank-you-box p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: rgba(60, 63, 65, 0.8);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--charcoal);
  color: var(--white);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  z-index: 999;
  font-size: 0.9rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

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

.cookie-text {
  flex: 1;
  line-height: 1.5;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  white-space: nowrap;
}

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  font-family: 'Source Sans Pro', sans-serif;
  text-decoration: none;
  display: inline-block;
}

.cookie-btn-accept {
  background-color: var(--amber);
  color: var(--charcoal);
}

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

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

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

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

.cookie-btn-learn:hover {
  background-color: rgba(212, 160, 23, 0.1);
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.9;
}

.about-content h2 {
  text-align: center;
}

.advantage-item {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.advantage-item::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--amber);
  font-size: 1.2rem;
}

.catalog-item {
  background-color: var(--light-gray);
  padding: 2rem;
  border-radius: 4px;
  margin-bottom: 2rem;
  border-left: 4px solid var(--amber);
}

.catalog-item h3 {
  margin-top: 0;
}

.catalog-advantages {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.catalog-advantages li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.catalog-advantages li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--amber);
}

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

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  section {
    padding: 5rem 1.5rem;
  }

  .section-with-image {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .image-left {
    order: 0;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    margin-left: 0;
    padding: 1.5rem;
  }

  .header-container {
    flex-direction: column;
    gap: 1rem;
  }

  nav {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .nav-link {
    width: 100%;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

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

  .cookie-btn {
    width: 100%;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  section {
    padding: 3rem 1rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}
