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

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

:root {
  --primary: #264653;
  --secondary: #2A9D8F;
  --accent-1: #E9C46A;
  --accent-2: #F4A261;
  --neutral-light: #F8F8F8;
  --neutral-dark: #333333;
  --bg-warm: #FDF6E3;
  --white: #FFFFFF;
  --text-default: #333333;
}

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 1rem;
  color: var(--primary);
  font-weight: 600;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2rem;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

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

a:hover {
  color: var(--accent-2);
  text-decoration: underline;
}

header {
  background-color: var(--white);
  border-bottom: 1px solid var(--neutral-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

header .container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-default);
  transition: all 0.3s ease;
}

nav a:hover,
nav a.active {
  color: var(--accent-2);
  text-decoration: underline;
}

footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 4rem 0 2rem 0;
  margin-top: 5rem;
}

footer .container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

footer h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

footer p {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

footer a {
  color: var(--accent-1);
  text-decoration: none;
}

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

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-section h3 {
  color: var(--accent-1);
  margin-bottom: 1.5rem;
}

.footer-bottom {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

section {
  padding: 5rem 0;
}

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

.hero {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, rgba(38, 70, 83, 0.95) 100%);
  color: var(--white);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: var(--accent-1);
  color: var(--primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.cta-button:hover {
  background-color: var(--accent-2);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.text-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.text-section.reverse {
  grid-auto-flow: dense;
}

.text-section img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

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

.image-card {
  background-color: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.image-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.image-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.image-card-content {
  padding: 1.5rem;
}

.image-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.image-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: #666;
}

.disclaimer-section {
  background-color: var(--bg-warm);
  padding: 2.5rem;
  border-left: 4px solid var(--secondary);
  margin: 3rem 0;
  border-radius: 4px;
}

.disclaimer-section h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.disclaimer-section p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

form {
  max-width: 600px;
  margin: 2rem 0;
}

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

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

input[type="email"],
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  color: var(--text-default);
  transition: border-color 0.3s ease;
}

input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.1);
}

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

button {
  padding: 0.75rem 2rem;
  background-color: var(--secondary);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}

button:hover {
  background-color: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

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

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

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

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

.cookie-text {
  flex: 1;
  min-width: 250px;
}

.cookie-text p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

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

.cookie-btn {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.cookie-btn-accept {
  background-color: var(--accent-1);
  color: var(--primary);
}

.cookie-btn-accept:hover {
  background-color: var(--accent-2);
  color: var(--white);
}

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

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

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

.cookie-btn-learn:hover {
  background-color: rgba(233, 196, 106, 0.1);
}

.breadcrumb {
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--secondary);
}

.breadcrumb span {
  color: #999;
  margin: 0 0.5rem;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.blog-item {
  background-color: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.blog-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.blog-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.blog-item-content {
  padding: 1.5rem;
}

.blog-item-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.blog-item-meta {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 1rem;
}

.blog-item-content p {
  margin-bottom: 1rem;
}

.read-more {
  color: var(--accent-2);
  font-weight: 600;
}

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

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

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

tr:nth-child(even) {
  background-color: var(--neutral-light);
}

ul, ol {
  margin: 1.5rem 0 1.5rem 2rem;
}

li {
  margin-bottom: 0.75rem;
}

blockquote {
  border-left: 4px solid var(--secondary);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #666;
}

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

.hero-text h1 {
  color: var(--white);
}

.hero-text p {
  color: rgba(255,255,255,0.95);
  font-size: 1.1rem;
}

.hero-image {
  width: 100%;
  height: auto;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  header .container {
    padding: 0 20px;
    flex-direction: column;
    gap: 1rem;
  }

  nav {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }

  nav a {
    display: block;
    padding: 0.5rem 0;
  }

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

  .cookie-content {
    flex-direction: column;
    gap: 1rem;
  }

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

  .cookie-btn {
    width: 100%;
    text-align: center;
  }

  section {
    padding: 3rem 0;
  }

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

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  h3 {
    font-size: 1rem;
  }

  .logo {
    font-size: 1.2rem;
    gap: 0.5rem;
  }

  .logo img {
    width: 40px;
    height: 40px;
  }

  .blog-list {
    grid-template-columns: 1fr;
  }
}
