:root {
  --color-primary: #0f3460;
  --color-secondary: #16a3b8;
  --color-light: #f5f7fa;
  --color-white: #ffffff;
  --color-dark: #1a1a1a;
  --color-text: #333333;
  --color-border: #e0e0e0;
  --color-accent: #e74c3c;
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  --font-sans: system-ui, -apple-system, sans-serif;
  --font-serif: Georgia, serif;
}

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

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.6;
  font-size: 16px;
}

html {
  scroll-behavior: smooth;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.3;
}

h1 {
  font-size: 48px;
  color: var(--color-primary);
}

h2 {
  font-size: 36px;
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
}

h3 {
  font-size: 24px;
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--color-text);
}

/* Header & Navigation */
header {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--spacing-md) var(--spacing-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.logo {
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  color: var(--color-white);
  font-family: var(--font-serif);
}

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

nav ul {
  list-style: none;
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  justify-content: center;
}

nav a {
  color: var(--color-white);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
  padding: var(--spacing-xs) var(--spacing-sm);
}

nav a:hover {
  color: var(--color-secondary);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1a5f7a 100%);
  color: var(--color-white);
  padding: var(--spacing-xl) var(--spacing-sm);
  text-align: center;
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
  font-size: 48px;
}

.hero p {
  color: #e0e0e0;
  font-size: 18px;
  margin-bottom: var(--spacing-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Sections */
section {
  padding: var(--spacing-xl) var(--spacing-sm);
}

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

/* Grid */
.grid {
  display: grid;
  gap: var(--spacing-lg);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

/* Card */
.card {
  background-color: var(--color-white);
  border-radius: 8px;
  padding: var(--spacing-lg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Buttons */
button,
.btn {
  display: inline-block;
  background-color: var(--color-secondary);
  color: var(--color-white);
  padding: var(--spacing-sm) var(--spacing-lg);
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-weight: 600;
}

button:hover,
.btn:hover {
  background-color: #138a99;
}

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

button.secondary:hover {
  background-color: #0a1f3a;
}

/* Forms */
form {
  background-color: var(--color-white);
  padding: var(--spacing-lg);
  border-radius: 8px;
  max-width: 500px;
  margin: var(--spacing-lg) auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

input,
textarea,
select {
  width: 100%;
  padding: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 14px;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(22, 163, 184, 0.1);
}

label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
  color: var(--color-primary);
}

.checkbox-label {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-md);
  font-weight: normal;
  color: var(--color-text);
}

.checkbox-label input {
  width: auto;
  margin-right: var(--spacing-sm);
  margin-bottom: 0;
}

/* Footer */
footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--spacing-xl) var(--spacing-sm) var(--spacing-md);
  text-align: center;
}

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

footer a:hover {
  text-decoration: underline;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
  text-align: left;
}

.footer-section h4 {
  color: var(--color-white);
  font-size: 16px;
  margin-bottom: var(--spacing-sm);
}

.footer-section p,
.footer-section ul {
  font-size: 14px;
  color: #d0d0d0;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: var(--spacing-xs);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: var(--spacing-md);
  font-size: 12px;
  color: #b0b0b0;
  text-align: center;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--spacing-md);
  z-index: 999;
  display: none;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

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

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  font-size: 14px;
}

.cookie-text a {
  color: var(--color-secondary);
  text-decoration: none;
}

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

.cookie-buttons {
  display: flex;
  gap: var(--spacing-sm);
}

.cookie-button {
  padding: var(--spacing-xs) var(--spacing-md);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: opacity 0.3s ease;
}

.cookie-button.accept {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

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

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

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

/* Image */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.image-container {
  margin: var(--spacing-md) 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Disclaimer */
.disclaimer {
  background-color: var(--color-light);
  border-left: 4px solid var(--color-primary);
  padding: var(--spacing-lg);
  margin: var(--spacing-xl) 0;
  border-radius: 4px;
  font-size: 16px;
  color: var(--color-text);
}

.disclaimer strong {
  color: var(--color-primary);
  display: block;
  margin-bottom: var(--spacing-sm);
  font-size: 18px;
}

/* Highlight */
.highlight {
  color: var(--color-secondary);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 20px;
  }

  .header-container {
    flex-direction: column;
    gap: var(--spacing-md);
  }

  nav ul {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  section {
    padding: var(--spacing-lg) var(--spacing-sm);
  }

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

  .hero p {
    font-size: 16px;
  }

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

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

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

  .footer-section {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: var(--spacing-md);
  }

  .footer-section:last-child {
    border-bottom: none;
  }

  .cookie-content {
    flex-direction: column;
  }

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

  .cookie-button {
    width: 100%;
  }
}

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

  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 18px;
  }

  body {
    font-size: 14px;
  }

  .hero {
    padding: var(--spacing-lg) var(--spacing-sm);
  }

  section {
    padding: var(--spacing-md) var(--spacing-sm);
  }

  .card {
    padding: var(--spacing-md);
  }

  form {
    padding: var(--spacing-md);
  }

  nav ul {
    gap: var(--spacing-xs);
  }

  nav a {
    padding: var(--spacing-xs);
    font-size: 13px;
  }
}
