:root {
  --primary-color: #2F4F4F;
  --accent-gold: #B8860B;
  --accent-teal: #008080;
  --light-bg: #F5F5F5;
  --white: #FFFFFF;
  --dark-gray: #1A1A1A;
  --medium-gray: #4A4A4A;
  --border-gray: #CCCCCC;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--dark-gray);
  background-color: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

h1 {
  font-family: 'Georgia', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

h2 {
  font-family: 'Georgia', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.3;
  margin-bottom: 1.5rem;
  margin-top: 2rem;
}

h3 {
  font-family: 'Georgia', serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--primary-color);
  line-height: 1.4;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}

p {
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--medium-gray);
}

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

a:hover {
  color: var(--accent-teal);
  text-decoration: underline;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--primary-color);
  color: var(--white);
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.logo {
  font-family: 'Georgia', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-decoration: none;
  letter-spacing: 1px;
}

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

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--white);
  font-size: 0.95rem;
  transition: color 0.3s ease;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

nav a:hover,
nav a.active {
  color: var(--accent-gold);
  border-bottom: 2px solid var(--accent-gold);
}

main {
  margin-top: 80px;
  padding-bottom: 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border-gray);
}

.section:last-child {
  border-bottom: none;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.hero {
  position: relative;
  height: 600px;
  background: linear-gradient(135deg, var(--primary-color) 0%, rgba(47, 79, 79, 0.8) 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: 0;
}

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

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

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

.hero p {
  color: var(--light-bg);
  font-size: 1.3rem;
  line-height: 1.8;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.disclaimer {
  background-color: var(--light-bg);
  border-left: 4px solid var(--accent-gold);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 2px;
}

.disclaimer p {
  color: var(--dark-gray);
  margin: 0;
  font-size: 0.95rem;
}

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

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

.two-column-reverse > :first-child {
  order: 2;
}

.two-column-reverse > :last-child {
  order: 1;
}

.image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.image-wrapper:hover img {
  transform: scale(1.02);
}

.principle-list {
  list-style: none;
  counter-reset: principle-counter;
}

.principle-list li {
  counter-increment: principle-counter;
  margin-bottom: 2rem;
  padding-left: 3rem;
  position: relative;
}

.principle-list li::before {
  content: counter(principle-counter);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-gold);
}

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

.card {
  background-color: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 2px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 1.5rem;
}

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

.card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

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

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-gray);
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-date {
  font-weight: 700;
  color: var(--accent-gold);
  font-size: 1rem;
}

.timeline-content h4 {
  color: var(--primary-color);
  margin-top: 0;
  font-size: 1.3rem;
}

.quote {
  font-style: italic;
  color: var(--medium-gray);
  border-left: 4px solid var(--accent-teal);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-size: 1.1rem;
}

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

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

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

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

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

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

tr:hover {
  background-color: var(--light-bg);
}

.button {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background-color: var(--accent-gold);
  color: var(--white);
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
}

.button:hover {
  background-color: var(--accent-teal);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 128, 128, 0.3);
}

.button-secondary {
  background-color: var(--accent-teal);
  color: var(--white);
}

.button-secondary:hover {
  background-color: var(--accent-gold);
}

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

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

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

input[type="email"],
textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border-gray);
  border-radius: 2px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
}

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

.contact-disclaimer {
  background-color: var(--light-bg);
  padding: 1.5rem;
  border-radius: 2px;
  margin-bottom: 2rem;
  border-left: 4px solid var(--accent-teal);
}

footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.footer-section h4 {
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.footer-section p {
  color: var(--light-bg);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

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

.footer-section a:hover {
  color: var(--accent-gold);
  text-decoration: underline;
}

.footer-policies {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-policies a {
  color: var(--light-bg);
  font-size: 0.9rem;
}

.footer-bottom {
  text-align: center;
  color: var(--light-bg);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: var(--light-bg);
  margin: 0.5rem 0;
  font-size: 0.9rem;
}

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

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

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

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

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

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

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

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

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

.cookie-info {
  background-color: transparent;
  color: var(--accent-gold);
  border: none;
  padding: 0;
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.9rem;
}

.thank-you-box {
  text-align: center;
  padding: 4rem 2rem;
}

.thank-you-box h1 {
  color: var(--accent-gold);
}

.thank-you-box p {
  font-size: 1.1rem;
}

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

.glossary {
  list-style: none;
  padding: 0;
}

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

.glossary-item:last-child {
  border-bottom: none;
}

.glossary-term {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.glossary-definition {
  color: var(--medium-gray);
  line-height: 1.8;
}

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

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.4rem;
  }

  .hero {
    height: 400px;
  }

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

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

  nav {
    gap: 1rem;
  }

  nav a {
    font-size: 0.85rem;
  }

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

  .two-column-reverse > :first-child {
    order: initial;
  }

  .two-column-reverse > :last-child {
    order: initial;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: flex-end;
  }

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

  table {
    font-size: 0.9rem;
  }

  td,
  th {
    padding: 0.75rem;
  }
}

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

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

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

  nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    height: 300px;
  }

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

  .container,
  .footer-container,
  .header-container {
    padding: 0 1rem;
  }

  .section {
    padding: 3rem 0;
  }

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

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

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

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }
}
