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

:root {
  --color-olive: #6B8E23;
  --color-terracotta: #E2725B;
  --color-navy: #1C2526;
  --color-offwhite: #F5F2E9;
  --color-white: #FFFFFF;
  --color-lightgray: #F9F8F5;
  --color-gray: #E8E6E1;
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Source Sans Pro', sans-serif;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-navy);
  background-color: var(--color-white);
  line-height: 1.7;
  font-size: 18px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--color-navy);
  font-weight: 400;
  letter-spacing: 0.05em;
}

h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  line-height: 1.3;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.8rem;
  line-height: 1.4;
  margin-bottom: 1rem;
  font-style: italic;
  color: var(--color-olive);
}

p {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--color-navy);
}

a {
  color: var(--color-olive);
  text-decoration: none;
  transition: var(--transition);
}

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

button, .btn {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 1rem 2rem;
  border: none;
  background-color: var(--color-olive);
  color: var(--color-white);
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
  text-decoration: none;
}

button:hover, .btn:hover {
  transform: scale(1.04);
  opacity: 0.9;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-gray);
  z-index: 1000;
  padding: 1.5rem 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 8%;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-olive);
  letter-spacing: 0.1em;
}

.logo a {
  color: var(--color-olive);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

nav ul li a {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-navy);
  position: relative;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-olive);
  transition: var(--transition);
}

nav ul li a:hover::after {
  width: 100%;
}

nav ul li a.active::after {
  width: 100%;
  background-color: var(--color-olive);
}

main {
  margin-top: 80px;
}

section {
  padding: 120px 8%;
  max-width: 1600px;
  margin: 0 auto;
}

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

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.85);
  z-index: 1;
}

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

.hero h1 {
  color: var(--color-navy);
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.3rem;
  color: var(--color-navy);
  margin-bottom: 2rem;
}

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

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

.section-text {
  padding-right: 2rem;
}

.section-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.grid-6 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.card {
  background-color: var(--color-white);
  border: 1px solid var(--color-gray);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-color: var(--color-olive);
}

.card h3 {
  color: var(--color-olive);
  margin-bottom: 1rem;
}

.card p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline-item {
  padding: 2rem;
  margin-bottom: 2rem;
  border-left: 4px solid var(--color-olive);
  padding-left: 2rem;
}

.timeline-item h4 {
  color: var(--color-olive);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.timeline-item p {
  margin-bottom: 0;
  color: var(--color-navy);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 2rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--color-white);
}

table th {
  background-color: var(--color-olive);
  color: var(--color-white);
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

table td {
  padding: 1rem;
  border-bottom: 1px solid var(--color-gray);
  color: var(--color-navy);
}

table tr:hover {
  background-color: var(--color-lightgray);
}

.faq {
  max-width: 900px;
  margin: 3rem auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-gray);
  padding-bottom: 1.5rem;
}

.faq-question {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--color-olive);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  transition: var(--transition);
}

.faq-question.active::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  margin-top: 1rem;
  padding-top: 1rem;
  color: var(--color-navy);
  line-height: 1.7;
}

.faq-answer.active {
  display: block;
}

.disclaimer {
  background-color: var(--color-offwhite);
  border-left: 4px solid var(--color-terracotta);
  padding: 2rem;
  border-radius: 4px;
  margin: 3rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-navy);
}

.cta-section {
  text-align: center;
  padding: 4rem 2rem;
  background-color: var(--color-lightgray);
  border-radius: 8px;
  margin: 4rem 0;
}

.cta-section h3 {
  color: var(--color-navy);
  margin-bottom: 1.5rem;
}

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

.blog-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-gray);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.blog-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.blog-card-content {
  padding: 2rem;
}

.blog-card-date {
  font-size: 0.9rem;
  color: var(--color-olive);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.blog-card h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--color-navy);
  font-family: var(--font-serif);
}

.blog-card p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--color-navy);
}

.blog-card-link {
  display: inline-block;
  color: var(--color-olive);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.blog-card-link:hover {
  color: var(--color-terracotta);
}

.blog-header {
  margin-bottom: 3rem;
}

.blog-article {
  max-width: 900px;
  margin: 0 auto;
}

.blog-article-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.article-content h2 {
  margin: 2rem 0 1.5rem 0;
}

.article-content h3 {
  margin: 1.5rem 0 1rem 0;
}

.article-content p {
  margin-bottom: 1.5rem;
}

footer {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 4rem 8%;
  margin-top: 6rem;
}

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

.footer-section h4 {
  color: var(--color-offwhite);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section a {
  color: var(--color-offwhite);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
}

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

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

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

.cookie-banner.active {
  display: block;
}

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

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

.cookie-text a {
  color: var(--color-olive);
  text-decoration: underline;
}

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

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

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

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

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

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

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

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

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

input[type="email"],
textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--color-gray);
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-navy);
  background-color: var(--color-white);
  transition: var(--transition);
}

input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-olive);
  box-shadow: 0 0 0 3px rgba(107, 142, 35, 0.1);
}

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

.error-message {
  color: var(--color-terracotta);
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

.success-message {
  background-color: #D4EDDA;
  color: #155724;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  border: 1px solid #C3E6CB;
}

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

  h2 {
    font-size: 1.7rem;
  }

  nav ul {
    gap: 1rem;
  }

  nav ul li a {
    font-size: 0.85rem;
  }

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

  .section-text {
    padding-right: 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

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

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

  section {
    padding: 60px 5%;
  }
}

@supports (backdrop-filter: blur(10px)) {
  header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
  }
}
