:root {
  --color-parchment: #f5f1ed;
  --color-light-gray: #e8e6e3;
  --color-dark-graphite: #2c2c2c;
  --color-blue-green: #5a8a7f;
  --color-white: #ffffff;
  --color-text: #2c2c2c;
  --radius-moderate: 8px;
  --transition: all 0.3s ease;
}

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

html, body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-parchment);
}

/* Typography */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 1.875rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  margin-top: 2rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 0.875rem;
  margin-top: 1.5rem;
}

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

a {
  color: var(--color-blue-green);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-dark-graphite);
  text-decoration: underline;
}

/* Header & Navigation */
header {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-light-gray);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-dark-graphite);
  transition: var(--transition);
}

.navbar-brand:hover {
  color: var(--color-blue-green);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--color-blue-green);
  text-decoration: none;
}

.nav-links a.active {
  color: var(--color-blue-green);
  border-bottom: 2px solid var(--color-blue-green);
  padding-bottom: 2px;
}

/* Hero Section */
.hero {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 3rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.hero-content {
  max-width: 600px;
  color: var(--color-white);
  position: relative;
  z-index: 2;
}

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

.hero-content p {
  color: var(--color-white);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Main Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

main {
  min-height: calc(100vh - 200px);
  padding: 3rem 0;
}

/* Sections */
section {
  margin-bottom: 4rem;
  padding: 3rem 0;
}

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

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.card {
  background-color: var(--color-white);
  border-radius: var(--radius-moderate);
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.card h3 {
  margin-top: 0;
}

/* Two Column Layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin: 2rem 0;
}

.two-column img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-moderate);
  object-fit: cover;
}

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

.two-column.reverse .content {
  order: 1;
}

.two-column.reverse img {
  order: 2;
}

/* Lists */
ul, ol {
  margin: 1.5rem 0 1.5rem 2rem;
  line-height: 1.8;
}

li {
  margin-bottom: 0.75rem;
}

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

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

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

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

tr:hover {
  background-color: rgba(90, 138, 127, 0.05);
}

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

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--color-text);
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-moderate);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-blue-green);
  box-shadow: 0 0 0 3px rgba(90, 138, 127, 0.1);
}

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

input[type="checkbox"] {
  margin-top: 0.25rem;
  cursor: pointer;
}

.checkbox-group label {
  margin-bottom: 0;
  font-size: 0.95rem;
}

button {
  background-color: var(--color-blue-green);
  color: var(--color-white);
  border: none;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-moderate);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

button:hover {
  background-color: var(--color-dark-graphite);
  transform: translateY(-2px);
}

button:active {
  transform: translateY(0);
}

/* Footer */
footer {
  background-color: var(--color-dark-graphite);
  color: var(--color-white);
  padding: 3rem 0;
  margin-top: 4rem;
}

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

.footer-section h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--color-white);
}

.footer-section p, .footer-section a {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}

.footer-section a {
  display: block;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--color-white);
  padding-left: 5px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
  color: var(--color-white);
  text-decoration: underline;
}

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

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-dark-graphite);
  color: var(--color-white);
  padding: 1.5rem;
  z-index: 999;
  display: none;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  animation: slideUp 0.3s ease;
}

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

.cookie-content {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.5;
}

.cookie-content a {
  color: var(--color-blue-green);
}

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

.cookie-btn {
  padding: 0.625rem 1.25rem;
  border: none;
  border-radius: var(--radius-moderate);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

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

.cookie-btn-accept:hover {
  background-color: #4a7a6f;
}

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

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

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

/* Success Message */
.success-message {
  background-color: rgba(90, 138, 127, 0.1);
  border: 1px solid var(--color-blue-green);
  border-radius: var(--radius-moderate);
  padding: 1.5rem;
  margin-bottom: 2rem;
  color: var(--color-dark-graphite);
}

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

  h2 {
    font-size: 1.375rem;
  }

  h3 {
    font-size: 1.125rem;
  }

  .hero {
    height: 350px;
    padding: 2rem;
  }

  .hero-content {
    max-width: 100%;
  }

  .nav-links {
    gap: 1rem;
    font-size: 0.9rem;
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .two-column.reverse .content,
  .two-column.reverse img {
    order: auto;
  }

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

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

  .cookie-banner.show {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .cookie-buttons {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
  }

  button {
    width: 100%;
  }
}

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

  h2 {
    font-size: 1.25rem;
  }

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

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

  .nav-links a {
    display: block;
    padding: 0.5rem 0;
    border-bottom: none;
  }

  .hero {
    height: 250px;
  }

  .container {
    padding: 0 1rem;
  }

  section {
    padding: 1.5rem 0;
  }

  main {
    padding: 1.5rem 0;
  }
}
