:root {
  --color-light-blue: #E0F2F7;
  --color-emerald: #2ECC71;
  --color-sunny-yellow: #F39C12;
  --color-deep-purple: #8E44AD;
  --color-dark-gray: #2C3E50;
  --color-light-gray: #ECF0F1;
  --color-white: #FFFFFF;
  --color-text: #34495E;
}

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

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

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

header .navbar {
  padding: 0.5rem 0;
}

header .navbar-brand {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-emerald);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

header .navbar-brand:hover {
  color: var(--color-deep-purple);
}

header .navbar-nav .nav-link {
  color: var(--color-text);
  font-weight: 500;
  transition: color 0.3s ease;
}

header .navbar-nav .nav-link:hover,
header .navbar-nav .nav-link.active {
  color: var(--color-emerald);
}

footer {
  background-color: var(--color-dark-gray);
  color: var(--color-white);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
  font-size: 0.95rem;
}

footer h5 {
  color: var(--color-emerald);
  font-weight: 700;
  margin-bottom: 1rem;
}

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

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

.hero-section {
  position: relative;
  height: 100vh;
  background: linear-gradient(rgba(224, 242, 247, 0.7), rgba(46, 204, 113, 0.7)), url('images/hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
}

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 700;
  max-width: 800px;
  line-height: 1.2;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.5rem;
}

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

section {
  padding: 4rem 0;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-dark-gray);
  margin-bottom: 2rem;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-dark-gray);
  margin-bottom: 1rem;
}

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

@media (max-width: 768px) {
  .two-column {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.card {
  background-color: var(--color-white);
  border: 1px solid var(--color-light-gray);
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

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

.card-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-light-blue), var(--color-emerald));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}

.card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
  max-height: 250px;
  object-fit: cover;
}

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

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

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

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

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

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

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

.btn-read {
  display: inline-block;
  background-color: var(--color-emerald);
  color: var(--color-white);
  padding: 0.75rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
}

.btn-read:hover {
  background-color: var(--color-deep-purple);
  box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
  text-decoration: none;
  color: var(--color-white);
}

.accordion {
  margin: 2rem 0;
}

.accordion .card {
  border: 1px solid var(--color-light-gray);
  margin-bottom: 1rem;
  padding: 0;
}

.accordion .card-header {
  background-color: var(--color-light-blue);
  padding: 0;
}

.accordion .card-header button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.5rem;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-dark-gray);
}

.accordion .card-header button:hover {
  color: var(--color-emerald);
}

.accordion .card-body {
  padding: 1.5rem;
  background-color: var(--color-white);
}

.disclaimer-box {
  background-color: var(--color-light-blue);
  border-left: 4px solid var(--color-emerald);
  padding: 2rem;
  border-radius: 6px;
  margin: 2rem 0;
}

.disclaimer-box h4 {
  color: var(--color-deep-purple);
  margin-bottom: 1rem;
}

.highlight {
  background-color: rgba(243, 156, 18, 0.2);
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
}

.list-custom {
  list-style: none;
  margin: 1.5rem 0;
}

.list-custom li {
  padding: 0.75rem 0 0.75rem 2rem;
  position: relative;
}

.list-custom li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-emerald);
  font-weight: bold;
  font-size: 1.2rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-dark-gray);
  color: var(--color-white);
  padding: 1.5rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  z-index: 999;
  display: none;
}

.cookie-banner.show {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-banner p {
  margin: 0;
  flex: 1;
  min-width: 250px;
}

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

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

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

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

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

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

.cookie-btn-learn {
  background-color: transparent;
  color: var(--color-light-blue);
  border: 1px solid var(--color-light-blue);
  text-decoration: none;
  padding: 0.5rem 1.5rem;
}

.cookie-btn-learn:hover {
  background-color: var(--color-light-blue);
  color: var(--color-dark-gray);
}

.section-full-width {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 3rem calc(50vw - 50%);
  background-color: var(--color-light-blue);
}

.editorial-panel {
  background: linear-gradient(135deg, var(--color-light-blue), rgba(46, 204, 113, 0.1));
  padding: 3rem;
  border-radius: 12px;
  margin: 2rem 0;
}

.editorial-panel h3 {
  color: var(--color-deep-purple);
}

@media (max-width: 768px) {
  section {
    padding: 2rem 0;
  }

  h2 {
    font-size: 1.8rem;
  }

  .two-column {
    gap: 1.5rem;
  }

  .editorial-panel {
    padding: 1.5rem;
  }
}

body {
  padding-bottom: 400px;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 300px;
  }
}
