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

:root {
  --deep-olive: #2A3F2E;
  --warm-cream: #FDFAF2;
  --light-moss: #A8C0A8;
  --soft-copper: #B86A3F;
  --dark-text: #1a1a1a;
  --light-bg: #f5f3f0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.68;
  color: var(--dark-text);
  background-color: #fff;
}

/* Typography */
h1 {
  font-family: 'Arial Narrow', 'Helvetica Condensed', sans-serif;
  font-size: 54px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--deep-olive);
  margin-bottom: 1.5rem;
  text-transform: none;
}

h2 {
  font-family: 'Arial Narrow', 'Helvetica Condensed', sans-serif;
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--deep-olive);
  margin-bottom: 1.5rem;
  margin-top: 2rem;
}

h3 {
  font-family: 'Arial Narrow', 'Helvetica Condensed', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--deep-olive);
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}

p {
  margin-bottom: 1.2rem;
  line-height: 1.68;
}

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

a:hover {
  color: var(--deep-olive);
  text-decoration: underline;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--deep-olive);
  padding: 1.5rem 2rem;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 0.8rem 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.navbar {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: var(--warm-cream);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.logo a {
  color: var(--warm-cream);
  text-decoration: none;
}

.logo a:hover {
  color: var(--light-moss);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  color: var(--warm-cream);
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--light-moss);
  text-decoration: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--warm-cream);
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--deep-olive);
    flex-direction: column;
    gap: 0;
    padding: 1rem;
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 22px;
  }

  body {
    font-size: 16px;
  }
}

/* Main content */
main {
  padding-top: 80px;
  min-height: calc(100vh - 80px);
}

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

.section {
  padding: 130px 2rem;
  margin: 0 auto;
}

.section:nth-child(even) {
  background-color: var(--light-bg);
}

/* Hero Section */
.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: linear-gradient(135deg, var(--deep-olive) 0%, var(--deep-olive) 100%);
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  color: var(--warm-cream);
}

.hero h1 {
  color: var(--warm-cream);
  font-size: 64px;
  margin-bottom: 1.5rem;
}

.hero p {
  color: var(--light-moss);
  font-size: 20px;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .hero {
    height: 400px;
    padding-top: 80px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16px;
  }
}

/* Grid layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 3rem;
  align-items: center;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Cards */
.card {
  background: white;
  border: 1px solid #e0e0e0;
  padding: 2rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.card:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
  border-color: var(--soft-copper);
}

.card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border-radius: 4px;
}

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

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

.section-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  margin: 2rem 0;
  border-radius: 4px;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: white;
  border: 1px solid #e0e0e0;
}

th {
  background-color: var(--deep-olive);
  color: var(--warm-cream);
  padding: 1rem;
  text-align: left;
  font-weight: 700;
}

td {
  padding: 1rem;
  border-bottom: 1px solid #e0e0e0;
}

tr:last-child td {
  border-bottom: none;
}

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

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--deep-olive);
}

input[type="email"],
textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--soft-copper);
  box-shadow: 0 0 0 3px rgba(184, 106, 63, 0.1);
}

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

button {
  background-color: var(--soft-copper);
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

button:hover {
  background-color: var(--deep-olive);
  box-shadow: 0 4px 12px rgba(42, 63, 46, 0.2);
}

button:active {
  transform: scale(0.98);
}

/* Footer */
footer {
  background-color: var(--deep-olive);
  color: var(--warm-cream);
  padding: 3rem 2rem;
  margin-top: 4rem;
}

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

.footer-section h3 {
  color: var(--warm-cream);
  margin-top: 0;
  margin-bottom: 1rem;
}

.footer-section a {
  color: var(--light-moss);
  display: block;
  margin-bottom: 0.5rem;
}

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

.footer-bottom {
  max-width: 1500px;
  margin: 2rem auto 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 14px;
}

/* Cookie Banner */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--deep-olive);
  color: var(--warm-cream);
  padding: 1.5rem 2rem;
  z-index: 999;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.2);
  max-width: 100%;
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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

.cookie-text {
  flex: 1;
  min-width: 250px;
  font-size: 14px;
  line-height: 1.6;
}

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

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

.cookie-btn-accept {
  background-color: var(--soft-copper);
  color: white;
}

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

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

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

.cookie-btn-learn {
  background-color: var(--light-moss);
  color: var(--deep-olive);
}

.cookie-btn-learn:hover {
  background-color: #98b098;
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
    min-width: 120px;
  }
}

/* Disclaimer box */
.disclaimer {
  background-color: #faf8f5;
  border-left: 4px solid var(--soft-copper);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
}

.disclaimer h3 {
  margin-top: 0;
  color: var(--deep-olive);
}

/* CTA */
.cta-section {
  text-align: center;
  padding: 3rem 0;
}

.cta-link {
  display: inline-block;
  background-color: var(--soft-copper);
  color: white;
  padding: 1rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin: 0.5rem;
}

.cta-link:hover {
  background-color: var(--deep-olive);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(42, 63, 46, 0.2);
}

/* Lists */
ul, ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
  line-height: 1.68;
}

li {
  margin-bottom: 0.8rem;
}

/* Utility classes */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.fade-in {
  animation: fadeIn 0.55s ease;
}

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