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

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

:root {
  --primary: #34495E;
  --secondary: #4CAF50;
  --accent: #FBC02D;
  --neutral-light: #ECEFF1;
  --neutral-lighter: #F5F5F5;
  --neutral-dark: #2C3E50;
  --text-primary: #34495E;
  --text-secondary: #555;
  --border-color: #D0D0D0;
  --transition: 300ms ease-in-out;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Merriweather', serif;
  color: var(--text-primary);
  background-color: #FFFFFF;
  line-height: 1.6;
  letter-spacing: 0.3px;
}

/* Typography */
h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--primary);
  margin: 0 0 2rem 0;
  text-transform: none;
  letter-spacing: -1px;
}

h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary);
  margin: 0 0 1.5rem 0;
  letter-spacing: -0.5px;
}

h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--primary);
  margin: 0 0 1rem 0;
  letter-spacing: 0;
}

p {
  font-family: 'Merriweather', serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  max-width: 900px;
}

strong {
  font-weight: 700;
  color: var(--primary);
}

/* Navigation */
header {
  background: linear-gradient(135deg, var(--primary) 0%, #2C3E50 100%);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

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

.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: none;
  letter-spacing: 1px;
  transition: opacity var(--transition);
}

.logo:hover {
  opacity: 0.9;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

nav a {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #FFFFFF;
  text-decoration: none;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition);
}

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

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

.container-full {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* Sections */
section {
  padding: 6rem 0;
  border-bottom: 1px solid var(--neutral-light);
}

section:last-of-type {
  border-bottom: none;
}

section.hero {
  padding: 0;
  border-bottom: none;
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
}

section.hero .container {
  position: relative;
  z-index: 10;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.65);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(52, 73, 94, 0.7) 0%, rgba(44, 62, 80, 0.85) 100%);
}

.hero-content {
  color: #FFFFFF;
  max-width: 800px;
  position: relative;
  z-index: 20;
}

.hero h1 {
  color: #FFFFFF;
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.hero p {
  color: #ECEFF1;
  font-size: 1.3rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media (max-width: 1024px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  nav ul {
    gap: 1rem;
  }

  section {
    padding: 4rem 0;
  }
}

/* Cards */
.card {
  background: #FFFFFF;
  border: 1px solid var(--neutral-light);
  padding: 2rem;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.card h3 {
  margin-top: 0;
}

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

.img-wrapper {
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.img-wrapper img {
  transition: transform var(--transition), filter var(--transition);
}

.img-wrapper:hover img {
  transform: scale(1.02);
  filter: brightness(1.05);
}

.section-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 2px;
}

.feature-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 2px;
}

/* Buttons */
a.btn,
button,
input[type="submit"] {
  font-family: 'Open Sans', sans-serif;
  padding: 1rem 2rem;
  border: 2px solid var(--primary);
  background-color: var(--primary);
  color: #FFFFFF;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 2px;
  display: inline-block;
}

a.btn:hover,
button:hover,
input[type="submit"]:hover {
  background-color: #2C3E50;
  border-color: #2C3E50;
  box-shadow: 0 4px 12px rgba(44, 62, 80, 0.3);
}

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

a.btn-secondary:hover {
  background-color: var(--primary);
  color: #FFFFFF;
}

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

li {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

/* Footer */
footer {
  background: var(--primary);
  color: #ECEFF1;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

footer h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

footer p, footer a {
  color: #ECEFF1;
  font-size: 0.95rem;
  line-height: 1.8;
}

footer a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}

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

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

@media (max-width: 768px) {
  footer .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

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

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

input[type="email"],
textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 2px;
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

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

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

/* Disclaimer */
.disclaimer {
  background-color: var(--neutral-lighter);
  border-left: 4px solid var(--secondary);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 2px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.disclaimer strong {
  color: var(--primary);
}

/* Cookie Banner */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  color: #FFFFFF;
  padding: 1.5rem 2rem;
  z-index: 999;
  box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  font-family: 'Open Sans', sans-serif;
}

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

#cookie-banner-text {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.6;
}

#cookie-banner-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

#cookie-banner button {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
}

#cookie-banner #btn-accept {
  background-color: var(--accent);
  color: var(--primary);
}

#cookie-banner #btn-accept:hover {
  background-color: #FFC107;
}

#cookie-banner #btn-decline {
  background-color: transparent;
  color: #FFFFFF;
  border: 1px solid #FFFFFF;
}

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

#cookie-banner #btn-learn-more {
  background-color: transparent;
  color: #FFFFFF;
  text-decoration: underline;
  border: none;
  padding: 0.75rem 1rem;
}

#cookie-banner #btn-learn-more:hover {
  background-color: transparent;
  opacity: 0.8;
}

@media (max-width: 768px) {
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

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

  #cookie-banner button {
    width: 100%;
    text-align: center;
  }

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

  nav a {
    padding: 0.25rem 0;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-balance {
  text-wrap: balance;
}

.mt-2 { margin-top: 2rem; }
.mt-4 { margin-top: 4rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-4 { margin-bottom: 4rem; }
.py-4 { padding: 4rem 0; }
.py-6 { padding: 6rem 0; }

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border-color) 50%, transparent 100%);
  margin: 4rem 0;
}

.highlight {
  background-color: rgba(251, 192, 45, 0.15);
  padding: 0.25rem 0.5rem;
  border-radius: 2px;
}

.stat-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary);
}

.stat-label {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  border: 1px solid var(--neutral-light);
}

thead {
  background-color: var(--neutral-lighter);
}

th {
  padding: 1rem;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--primary);
  border-bottom: 2px solid var(--border-color);
}

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

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

/* Blockquote */
blockquote {
  border-left: 4px solid var(--secondary);
  padding: 1.5rem;
  margin: 2rem 0;
  background-color: var(--neutral-lighter);
  color: var(--text-secondary);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Section Styles - Each page variant */
.section-intro {
  padding: 6rem 0;
  background-color: #FFFFFF;
}

.section-centered {
  padding: 6rem 0;
  text-align: center;
}

.section-featured {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--neutral-light) 0%, #F9F9F9 100%);
}

.section-emphasis {
  padding: 6rem 0;
  border-left: 4px solid var(--secondary);
  padding-left: calc(2rem + 4px);
}

/* Breadcrumbs */
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

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

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

.breadcrumb span {
  color: #999;
}
