/* Color Palette */
:root {
  --color-sage: #A8CABA;
  --color-taupe: #BFAF92;
  --color-navy: #4A607C;
  --color-oatmeal: #F5F0E1;
  --color-white: #FFFFFF;
  --color-black: #1A1A1A;
  --color-gray-light: #E8E8E8;
  --color-gray-dark: #5A5A5A;
}

/* General Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Source Sans Pro', sans-serif;
  color: var(--color-black);
  background-color: var(--color-white);
  line-height: 1.7;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--color-black);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

h1 {
  font-size: 4.2rem;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 2rem;
}

h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  line-height: 1.8;
  font-size: 1rem;
}

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

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

/* Layout */
.container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--color-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-sage);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-black);
  transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
  margin-top: 70px;
  height: 90vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.05));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-left: 5%;
  padding-right: 50%;
}

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

.hero p {
  color: var(--color-white);
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 2rem;
}

/* Sections */
section {
  padding: 4rem 0;
}

section.alt-bg {
  background-color: var(--color-oatmeal);
}

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

section.sage-bg h2,
section.sage-bg h3,
section.sage-bg h4 {
  color: var(--color-white);
}

section.sage-bg a {
  color: var(--color-white);
  font-weight: 500;
}

section.sage-bg a:hover {
  color: var(--color-oatmeal);
}

/* Content Blocks */
.content-block {
  margin-bottom: 3rem;
}

.content-block h3 {
  color: var(--color-navy);
  margin-bottom: 1rem;
}

.content-block p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-black);
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

.image-small {
  width: 60%;
  margin: 0 auto;
}

/* Buttons and CTAs */
.btn {
  display: inline-block;
  padding: 0.95rem 2.5rem;
  background-color: var(--color-sage);
  color: var(--color-black);
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(168, 202, 186, 0.3);
}

.btn:hover {
  background-color: var(--color-taupe);
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(168, 202, 186, 0.4);
}

.btn-secondary {
  background-color: var(--color-navy);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(74, 96, 124, 0.3);
}

.btn-secondary:hover {
  background-color: var(--color-taupe);
}

/* Cards */
.card {
  background-color: var(--color-white);
  border: 2px solid var(--color-gray-light);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--color-sage);
  box-shadow: 0 8px 20px rgba(168, 202, 186, 0.2);
  transform: translateY(-4px);
}

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

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

.card a {
  color: var(--color-sage);
  font-weight: 600;
  transition: color 0.3s ease;
}

.card a:hover {
  color: var(--color-navy);
}

/* Two Column Layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.two-column.text-left {
  grid-template-columns: 1fr 1fr;
}

.two-column.text-right {
  grid-template-columns: 1fr 1fr;
}

/* Table */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background-color: var(--color-white);
}

table thead {
  background-color: var(--color-sage);
  color: var(--color-black);
}

table th,
table td {
  padding: 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--color-gray-light);
}

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

/* Accordion */
.accordion-item {
  border: 1px solid var(--color-gray-light);
  border-radius: 4px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-header {
  background-color: var(--color-oatmeal);
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--color-navy);
  transition: background-color 0.3s ease;
}

.accordion-header:hover {
  background-color: var(--color-sage);
}

.accordion-content {
  padding: 1.5rem;
  background-color: var(--color-white);
  display: none;
  line-height: 1.8;
}

.accordion-content.active {
  display: block;
}

.accordion-toggle {
  font-size: 1.2rem;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.accordion-toggle.active {
  transform: rotate(180deg);
}

/* Footer */
footer {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

footer .container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

footer h4 {
  color: var(--color-sage);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

footer p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-gray-light);
  margin-bottom: 0.5rem;
}

footer a {
  color: var(--color-sage);
  text-decoration: none;
  font-size: 0.95rem;
}

footer a:hover {
  color: var(--color-taupe);
}

.footer-bottom {
  border-top: 1px solid var(--color-gray-dark);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-gray-light);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 1.5rem 2rem;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
}

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

.cookie-content a {
  color: var(--color-sage);
  font-weight: 600;
}

.cookie-content a:hover {
  color: var(--color-taupe);
}

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

.cookie-btn {
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

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

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

.cookie-btn-reject {
  background-color: var(--color-gray-dark);
  color: var(--color-white);
}

.cookie-btn-reject:hover {
  background-color: var(--color-gray-light);
  color: var(--color-black);
}

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

.cookie-btn-learn:hover {
  background-color: var(--color-sage);
  color: var(--color-black);
}

/* Disclaimer Box */
.disclaimer {
  background-color: var(--color-oatmeal);
  border-left: 4px solid var(--color-navy);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
}

.disclaimer p {
  font-size: 0.95rem;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.disclaimer strong {
  color: var(--color-navy);
  font-weight: 700;
}

/* Form */
form {
  max-width: 600px;
  margin: 0 auto;
}

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

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

input[type="email"],
input[type="text"],
textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--color-gray-light);
  border-radius: 4px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input[type="email"]:focus,
input[type="text"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-sage);
  box-shadow: 0 0 0 3px rgba(168, 202, 186, 0.1);
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  nav {
    gap: 1rem;
  }

  nav a {
    font-size: 0.85rem;
  }

  .hero {
    height: 70vh;
    margin-top: 60px;
  }

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

  .hero p {
    font-size: 1rem;
  }

  .hero-content {
    padding-left: 2rem;
    padding-right: 1rem;
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  section {
    padding: 2rem 0;
  }

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

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

  .cookie-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .image-small {
    width: 100%;
  }
}

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

  h2 {
    font-size: 1.4rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  .logo {
    font-size: 1.2rem;
  }

  nav {
    gap: 0.5rem;
  }

  nav a {
    font-size: 0.75rem;
  }

  .hero {
    height: 50vh;
  }

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

  .hero p {
    font-size: 0.9rem;
  }

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

  table {
    font-size: 0.85rem;
  }

  table th,
  table td {
    padding: 0.75rem;
  }

  .cookie-banner {
    padding: 1rem;
  }

  .cookie-content {
    font-size: 0.85rem;
  }
}
