:root {
  --primary: #2C3E50;
  --accent-red: #E74C3C;
  --accent-green: #2ECC71;
  --accent-orange: #F39C12;
  --white: #FFFFFF;
  --light-gray: #F5F5F5;
  --dark-gray: #333333;
  --border-gray: #EEEEEE;
}

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

html, body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--dark-gray);
  background-color: var(--white);
  line-height: 1.6;
}

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

header .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo {
  font-size: 28px;
  font-weight: bold;
  text-decoration: none;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 12px;
}

header .logo img {
  width: 40px;
  height: 40px;
  border-radius: 4px;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

header nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
  position: relative;
}

header nav a:hover,
header nav a.active {
  color: var(--accent-orange);
}

header nav a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-orange);
}

main {
  min-height: calc(100vh - 300px);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

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

h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.2;
  color: var(--primary);
  letter-spacing: -0.5px;
}

h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--primary);
  position: relative;
  padding-bottom: 15px;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--accent-orange);
}

h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary);
}

h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--dark-gray);
}

p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 15px;
  color: var(--dark-gray);
}

ul, ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

li {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.8;
}

li::marker {
  color: var(--accent-orange);
}

.hero {
  background-image: url('../images/hero-banner.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 100px 0;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(44, 62, 80, 0.75);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero h1 {
  color: var(--white);
  font-size: 52px;
  line-height: 1.3;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  color: var(--light-gray);
  font-size: 18px;
  max-width: 600px;
  margin-top: 20px;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 40px;
}

.row.reverse {
  grid-template-columns: 1fr 1fr;
}

.row.reverse .content {
  order: 2;
}

.row.reverse .image {
  order: 1;
}

.row img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

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

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

.card h3 {
  margin-top: 15px;
}

.card-icon {
  width: 50px;
  height: 50px;
  background-color: var(--accent-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--white);
}

.highlight-block {
  background-color: var(--primary);
  color: var(--white);
  padding: 40px;
  border-radius: 8px;
  margin: 40px 0;
  border-left: 4px solid var(--accent-orange);
}

.highlight-block h3 {
  color: var(--white);
  margin-top: 0;
}

.disclaimer {
  background-color: #FFF3CD;
  border: 1px solid #FFE69C;
  padding: 20px;
  border-radius: 6px;
  margin: 30px 0;
  border-left: 4px solid var(--accent-orange);
}

.disclaimer p {
  margin: 0;
  font-size: 14px;
  color: #664D03;
}

.glossary {
  background-color: var(--light-gray);
  padding: 30px;
  border-radius: 8px;
  margin: 30px 0;
}

.glossary-term {
  margin-bottom: 20px;
}

.glossary-term strong {
  color: var(--primary);
  display: block;
  margin-bottom: 5px;
}

.table-responsive {
  overflow-x: auto;
  margin: 30px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

table th {
  padding: 15px;
  text-align: left;
  font-weight: 600;
}

table td {
  padding: 15px;
  border-bottom: 1px solid var(--border-gray);
}

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

button {
  background-color: var(--primary);
  color: var(--white);
  border: none;
  padding: 12px 30px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

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

button.secondary {
  background-color: var(--light-gray);
  color: var(--dark-gray);
  border: 2px solid var(--border-gray);
}

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

a.link-button {
  display: inline-block;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 2px solid var(--accent-orange);
  transition: all 0.3s ease;
  padding-bottom: 2px;
}

a.link-button:hover {
  color: var(--accent-orange);
  border-bottom: 2px solid var(--primary);
}

form {
  margin: 30px 0;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

label {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary);
}

input[type="email"],
textarea {
  padding: 12px;
  border: 1px solid var(--border-gray);
  border-radius: 4px;
  font-family: inherit;
  font-size: 16px;
  transition: border 0.3s ease;
}

input[type="email"]:focus,
textarea:focus {
  outline: none;
  border: 1px solid var(--primary);
  box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
}

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

footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 50px 0 20px 0;
  margin-top: 80px;
}

footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

footer h3 {
  color: var(--white);
  margin-bottom: 15px;
}

footer p {
  color: #BDC3C7;
  font-size: 14px;
  line-height: 1.8;
}

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

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

footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  color: #BDC3C7;
  font-size: 14px;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 20px;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-content {
  flex: 1;
  margin-right: 20px;
}

.cookie-content p {
  margin: 0;
  color: var(--white);
  font-size: 14px;
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-actions button {
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

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

.cookie-actions .accept:hover {
  background-color: #27AE60;
}

.cookie-actions .reject {
  background-color: var(--accent-red);
  color: var(--white);
}

.cookie-actions .reject:hover {
  background-color: #C0392B;
}

.cookie-actions .info {
  background-color: var(--accent-orange);
  color: var(--white);
}

.cookie-actions .info:hover {
  background-color: #E67E22;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.blog-card {
  background-color: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

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

.blog-card-content {
  padding: 25px;
}

.blog-card h3 {
  margin-top: 0;
}

.blog-card p {
  font-size: 14px;
  color: #7F8C8D;
  margin-bottom: 15px;
}

.breadcrumb {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  font-size: 14px;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: var(--border-gray);
  margin: 0 5px;
}

@media (max-width: 768px) {
  header nav ul {
    gap: 15px;
    font-size: 14px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 26px;
  }

  h3 {
    font-size: 20px;
  }

  .row {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .row.reverse .content,
  .row.reverse .image {
    order: unset;
  }

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

  .hero {
    min-height: 400px;
    padding: 60px 0;
  }

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

  .cookie-banner {
    flex-direction: column;
    gap: 15px;
  }

  .cookie-content {
    margin-right: 0;
  }

  .cookie-actions {
    width: 100%;
    justify-content: center;
  }

  section {
    padding: 50px 0;
  }

  table {
    font-size: 14px;
  }

  table th,
  table td {
    padding: 10px;
  }

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