:root {
  --primary: #A8DADC;
  --accent-1: #457B9D;
  --accent-2: #F1FAEE;
  --accent-3: #E63946;
  --text: #1a1a1a;
  --light-gray: #f5f5f5;
  --white: #ffffff;
}

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

html, body {
  font-family: 'Roboto', 'Open Sans', sans-serif;
  color: var(--text);
  background-color: var(--white);
  line-height: 1.6;
}

body {
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 3rem;
  margin-bottom: 2rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--accent-1);
}

h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--accent-1);
}

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

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  border-bottom: 1px solid #e0e0e0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

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

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-1);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
}

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

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent-1);
}

main {
  margin-top: 70px;
}

section {
  padding: 5rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.hero {
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('images/hero.jpg') center/cover no-repeat;
  color: var(--white);
  text-align: center;
  padding: 8rem 2rem;
  margin-top: 70px;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.hero p {
  color: var(--accent-2);
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto;
}

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

.two-column img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  max-height: 400px;
}

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

.section-bg-light {
  background-color: var(--accent-2);
}

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

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

th, td {
  padding: 1.2rem;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

th {
  background-color: var(--accent-1);
  color: var(--white);
  font-weight: 600;
}

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

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

.card {
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 1rem;
}

.list-styled {
  list-style: none;
  margin: 2rem 0;
}

.list-styled li {
  padding: 1rem 0 1rem 2.5rem;
  position: relative;
  margin-bottom: 1rem;
}

.list-styled li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-3);
  font-weight: bold;
  font-size: 1.3rem;
}

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

.timeline-item {
  padding-left: 3rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.timeline-item:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background-color: var(--accent-1);
  border-radius: 50%;
  border: 3px solid var(--white);
}

.timeline-item:after {
  content: "";
  position: absolute;
  left: 8px;
  top: 20px;
  width: 3px;
  height: calc(100% + 15px);
  background-color: var(--primary);
}

.timeline-item:last-child:after {
  display: none;
}

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

.btn:hover {
  background-color: #2d5a73;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--accent-3);
}

.btn-secondary:hover {
  background-color: #d62e39;
}

.accordion {
  margin: 2rem 0;
}

.accordion-item {
  border: 1px solid #ddd;
  margin-bottom: 1rem;
  border-radius: 4px;
}

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

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

.accordion-header.active {
  background-color: var(--accent-1);
  color: var(--white);
}

.accordion-body {
  padding: 1.5rem;
  display: none;
}

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

footer {
  background-color: var(--accent-1);
  color: var(--white);
  padding: 3rem 2rem;
  margin-top: 5rem;
}

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

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

.footer-section p, .footer-section a {
  color: var(--accent-2);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.8;
}

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

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--accent-1);
  color: var(--white);
  padding: 1.5rem;
  z-index: 2000;
  display: none;
}

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

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

.cookie-text {
  flex: 1;
}

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

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

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

.cookie-accept:hover {
  opacity: 0.9;
}

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

.cookie-reject:hover {
  opacity: 0.8;
}

.cookie-learn {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  text-decoration: none;
  padding: 0.6rem 1.5rem;
}

.principles-box {
  background-color: var(--light-gray);
  padding: 2rem;
  border-left: 4px solid var(--accent-1);
  border-radius: 4px;
  margin: 2rem 0;
}

.principles-box h4 {
  color: var(--accent-1);
  margin-bottom: 0.5rem;
}

.disclaimer-box {
  background-color: var(--accent-2);
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
  border: 2px solid var(--accent-1);
}

.disclaimer-box h3 {
  color: var(--accent-1);
}

.disclaimer-box p {
  font-size: 0.95rem;
  line-height: 1.8;
}

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

  h2 {
    font-size: 1.8rem;
  }

  .navbar {
    padding: 1rem;
  }

  .nav-links {
    gap: 1rem;
    font-size: 0.9rem;
  }

  .hero {
    padding: 4rem 1rem;
    min-height: 400px;
  }

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

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

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

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

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

  section {
    padding: 2.5rem 1rem;
  }

  th, td {
    padding: 0.8rem;
    font-size: 0.9rem;
  }

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

@media (max-width: 480px) {
  .nav-links {
    gap: 0.5rem;
  }

  .logo {
    font-size: 1.3rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.3rem;
  }

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

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

  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}
