@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Roboto:wght@400;500;700&display=swap');

:root {
  --primary: #4682B4;
  --secondary: #B8860B;
  --tertiary: #36453B;
  --light: #F5F5DC;
  --dark-text: #333333;
  --medium-text: #666666;
  --border-light: #E0E0E0;
  --white: #FFFFFF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--dark-text);
  background-color: var(--white);
  line-height: 1.6;
}

h1 {
  font-family: 'Open Sans', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 2rem 0 1rem 0;
  color: var(--dark-text);
  letter-spacing: -0.02em;
}

h2 {
  font-family: 'Open Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 2.5rem 0 1.5rem 0;
  color: var(--dark-text);
  border-bottom: 3px solid var(--secondary);
  padding-bottom: 1rem;
}

h3 {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 1.5rem 0 1rem 0;
  color: var(--dark-text);
}

p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--medium-text);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

button, .btn {
  background-color: var(--primary);
  color: var(--white);
  padding: 0.875rem 2rem;
  border: 1px solid var(--primary);
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

button:hover, .btn:hover {
  background-color: var(--tertiary);
  border-color: var(--tertiary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Header */
header {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

nav a {
  font-weight: 500;
  color: var(--dark-text);
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--primary);
  text-decoration: none;
}

nav a.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.25rem;
}

/* Footer */
footer {
  background-color: var(--tertiary);
  color: var(--light);
  padding: 4rem 2rem 2rem;
  margin-top: 8rem;
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  color: var(--light);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: var(--light);
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Main Content */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border-light);
}

section:last-child {
  border-bottom: none;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(70, 130, 180, 0.8), rgba(54, 69, 59, 0.8)), url('images/hero-background.jpg') center/cover;
  padding: 6rem 2rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(70, 130, 180, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 800px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 3.5rem;
}

.hero p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
}

.hero .btn {
  background-color: var(--secondary);
  border-color: var(--secondary);
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
}

.hero .btn:hover {
  background-color: var(--light);
  color: var(--dark-text);
  border-color: var(--light);
}

/* Two Column Layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.two-column.reverse {
  direction: rtl;
}

.two-column.reverse > * {
  direction: ltr;
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.card {
  background-color: var(--light);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.card h3 {
  color: var(--primary);
  margin-top: 0;
}

.card p {
  margin-bottom: 1rem;
}

/* Glossary Rail */
.glossary-rail {
  background-color: var(--light);
  border-left: 4px solid var(--secondary);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 2px;
}

.glossary-term {
  margin-bottom: 1.5rem;
}

.glossary-term strong {
  color: var(--primary);
  font-weight: 600;
}

/* Stat Strip */
.stat-strip {
  background: linear-gradient(135deg, var(--primary), rgba(70, 130, 180, 0.6));
  color: var(--white);
  padding: 3rem 2rem;
  border-radius: 4px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  text-align: center;
  margin: 2rem 0;
}

.stat-item h4 {
  color: var(--secondary);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.stat-item p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-size: 0.95rem;
}

/* Timeline */
.timeline {
  position: relative;
  margin: 3rem 0;
}

.timeline-item {
  padding-left: 3rem;
  padding-bottom: 2rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 0;
  width: 16px;
  height: 16px;
  background-color: var(--secondary);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--primary);
}

.timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 1.25rem;
  top: 2rem;
  width: 2px;
  height: calc(100% - 2rem);
  background-color: var(--border-light);
}

.timeline-year {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* Myth/Fact Table */
.myth-fact-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.myth-fact-table th {
  background-color: var(--primary);
  color: var(--white);
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

.myth-fact-table td {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.myth-fact-table tr:nth-child(even) {
  background-color: var(--light);
}

.myth-fact-table .myth-col {
  background-color: rgba(182, 86, 8, 0.05);
  font-weight: 500;
}

.myth-fact-table .fact-col {
  background-color: rgba(70, 130, 180, 0.05);
  font-weight: 500;
}

/* Accordion */
.accordion {
  margin: 2rem 0;
}

.accordion-item {
  border: 1px solid var(--border-light);
  border-radius: 4px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-header {
  background-color: var(--light);
  padding: 1.25rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.accordion-header:hover {
  background-color: #efefd8;
}

.accordion-header.active {
  background-color: var(--primary);
  color: var(--white);
}

.accordion-toggle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.accordion-header.active .accordion-toggle {
  transform: rotate(180deg);
}

.accordion-content {
  display: none;
  padding: 1.5rem;
  background-color: var(--white);
  border-top: 1px solid var(--border-light);
}

.accordion-content.active {
  display: block;
}

/* Image with overlay */
.image-overlay {
  position: relative;
  margin: 2rem 0;
}

.image-overlay img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

.image-overlay-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: var(--white);
  padding: 2rem;
  border-radius: 0 0 4px 4px;
}

/* Feature Block */
.feature-block {
  background: linear-gradient(135deg, var(--primary), rgba(70, 130, 180, 0.6));
  color: var(--white);
  padding: 3rem;
  border-radius: 4px;
  margin: 2rem 0;
}

.feature-block h3 {
  color: var(--light);
  margin-top: 0;
}

.feature-block p {
  color: rgba(255, 255, 255, 0.95);
}

/* Quote Block */
.quote-block {
  border-left: 5px solid var(--secondary);
  padding-left: 2rem;
  margin: 2rem 0;
  font-size: 1.1rem;
  color: var(--medium-text);
  font-style: italic;
}

/* Highlighted Text */
.highlight {
  background-color: rgba(184, 134, 11, 0.15);
  padding: 0 0.3rem;
  border-radius: 2px;
}

/* List Styles */
ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

li {
  margin-bottom: 0.75rem;
  line-height: 1.8;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--dark-text);
  color: var(--white);
  padding: 1.5rem 2rem;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
  z-index: 999;
  display: none;
  animation: slideUp 0.3s ease;
}

.cookie-banner.active {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-text {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.6;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-buttons button {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-accept {
  background-color: var(--secondary);
  color: var(--white);
}

.cookie-accept:hover {
  background-color: #9d6f0a;
}

.cookie-decline {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

.cookie-decline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.cookie-learn {
  background-color: transparent;
  color: var(--light);
  border: 1px solid var(--light);
}

.cookie-learn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .header-container {
    flex-direction: column;
    gap: 1.5rem;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    text-align: center;
  }

  .two-column {
    grid-template-columns: 1fr;
  }

  .two-column.reverse {
    direction: ltr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .stat-strip {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 400px;
    padding: 4rem 1.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .cookie-banner.active {
    flex-direction: column;
    gap: 1rem;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cookie-buttons button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  section {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  p {
    font-size: 0.95rem;
  }

  .container {
    padding: 0 1rem;
  }

  nav ul {
    gap: 0.5rem;
  }

  nav a {
    font-size: 0.9rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero {
    padding: 3rem 1rem;
    min-height: 300px;
  }
}
