@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Lato:wght@300;400;700&display=swap');

:root {
  --primary: #4A6D7C;
  --accent1: #D9B08C;
  --accent2: #9ECCB7;
  --accent3: #7A8B8B;
  --bg: #FAFAF8;
  --text-dark: #2C3E3F;
  --text-light: #5A6B6D;
  --white: #FFFFFF;
  --border: #E8E6E1;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--text-dark);
  margin: 1.5rem 0 0.75rem 0;
}

h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  line-height: 1.3;
  margin-bottom: 1.25rem;
  color: var(--primary);
}

h3 {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.35rem;
  color: var(--text-dark);
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-light);
  font-weight: 300;
  line-height: 1.8;
}

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

a:hover {
  color: var(--accent2);
}

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

.navbar-brand {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.navbar {
  padding: 0.5rem 0;
}

.nav-link {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  margin-left: 1.5rem;
  padding: 0.5rem 0 !important;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--primary);
  border-bottom-color: var(--accent2);
}

body {
  padding-top: 70px;
}

footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 3rem 0;
  margin-top: 5rem;
  font-size: 0.95rem;
}

footer a {
  color: var(--accent1);
  text-decoration: underline;
}

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

.footer-section {
  margin-bottom: 2rem;
}

.footer-section h5 {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-contact {
  line-height: 1.8;
  color: #E8E6E1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: #E8E6E1;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-links a {
  color: var(--accent1);
}

section {
  padding: 4rem 0;
}

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

.hero-section {
  background: linear-gradient(rgba(74, 109, 124, 0.6), rgba(74, 109, 124, 0.6)), url('images/hero-landscape.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 8rem 2rem;
  text-align: center;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

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

.hero-section p {
  color: #E8E6E1;
  font-size: 1.25rem;
  max-width: 600px;
  margin: 1rem auto;
}

.section-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.section-content.reverse {
  direction: rtl;
}

.section-content.reverse > * {
  direction: ltr;
}

.section-text {
  padding: 2rem 0;
}

.section-text h2 {
  margin-top: 0;
}

.section-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(74, 109, 124, 0.15);
}

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

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

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(74, 109, 124, 0.15);
  border-color: var(--accent2);
}

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

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

.card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1.5rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: var(--white);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow: hidden;
}

thead {
  background-color: var(--primary);
  color: var(--white);
}

th, td {
  padding: 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

thead th {
  border-bottom: none;
  font-weight: 700;
}

tbody tr:hover {
  background-color: #F5F3F0;
}

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

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  background-color: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
}

.btn:hover {
  background-color: var(--accent3);
  border-color: var(--accent3);
  color: var(--white);
}

.btn-secondary {
  background-color: var(--accent2);
  border-color: var(--accent2);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

ul, ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

li {
  margin-bottom: 0.75rem;
  color: var(--text-light);
  line-height: 1.8;
}

.disclaimer {
  background-color: #F5F3F0;
  border-left: 4px solid var(--accent2);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
}

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

.disclaimer h4 {
  color: var(--primary);
  margin-top: 0;
  font-size: 1rem;
}

.cta-section {
  background-color: #F5F3F0;
  padding: 3rem 2rem;
  text-align: center;
  border-radius: 8px;
  margin: 3rem 0;
}

.cta-section h3 {
  margin-top: 0;
}

.center-text {
  text-align: center;
}

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

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

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

.glossary-term {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.glossary-description {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

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

.form-group label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  color: var(--text-dark);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(74, 109, 124, 0.1);
}

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

.form-disclaimer {
  background-color: #F5F3F0;
  border-left: 4px solid var(--accent2);
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.thank-you-content {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.thank-you-content h1 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.thank-you-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  border-top: 2px solid var(--primary);
  padding: 1.5rem 2rem;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
  z-index: 999;
  display: none;
}

.cookie-banner.show {
  display: block;
  animation: slideUp 0.3s ease;
}

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

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

.cookie-text {
  flex: 1;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.cookie-text a {
  color: var(--primary);
  text-decoration: underline;
}

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

.cookie-buttons .btn {
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

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

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.35rem;
  }

  body {
    padding-top: 60px;
  }

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

  .hero-section h1 {
    font-size: 1.75rem;
  }

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

  .section-content.reverse {
    direction: ltr;
  }

  .section-content.reverse > * {
    direction: ltr;
  }

  .nav-link {
    margin-left: 0;
    margin-right: 0;
  }

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

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

  .cookie-buttons {
    width: 100%;
  }

  .cookie-buttons .btn {
    flex: 1;
  }

  section {
    padding: 2.5rem 0;
  }

  .container-xl {
    padding: 0 1rem;
  }

  table {
    font-size: 0.9rem;
  }

  th, td {
    padding: 0.75rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }
}

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

  h2 {
    font-size: 1.35rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  .hero-section {
    padding: 2rem 1rem;
    min-height: 300px;
  }

  .hero-section h1 {
    font-size: 1.35rem;
  }

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

  .section-text {
    padding: 1rem 0;
  }

  .cta-section {
    padding: 2rem 1rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}
