:root {
  --anchor-navy: #0A2342;
  --stable-teal: #006D77;
  --calm-sand: #EDE4D9;
  --grounding-rust: #9B3F00;
  --white: #FFFFFF;
  --light-gray: #F5F5F5;
  --dark-gray: #333333;
}

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

html, body {
  font-family: 'Roboto', sans-serif;
  color: var(--dark-gray);
  background-color: var(--white);
  line-height: 1.8;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', serif;
  color: var(--anchor-navy);
  margin-bottom: 1.5rem;
  font-weight: 900;
}

h1 {
  font-size: 3.2rem;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.4rem;
  font-weight: 900;
  margin-top: 2rem;
}

h3 {
  font-size: 1.8rem;
  font-weight: 900;
  margin-top: 1.5rem;
}

p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  color: var(--dark-gray);
}

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

a:hover {
  color: var(--grounding-rust);
  text-decoration: underline;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  border-bottom: 3px solid var(--anchor-navy);
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(10, 35, 66, 0.1);
}

header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

header .logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--anchor-navy);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

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

header .nav-links a {
  color: var(--anchor-navy);
  font-weight: 600;
  transition: color 0.3s ease;
}

header .nav-links a:hover {
  color: var(--stable-teal);
  text-decoration: none;
}

main {
  margin-top: 80px;
  padding: 0;
}

footer {
  background-color: var(--anchor-navy);
  color: var(--calm-sand);
  padding: 3rem 2rem;
  margin-top: 4rem;
}

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

footer h4 {
  color: var(--calm-sand);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

footer a {
  color: var(--calm-sand);
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--stable-teal);
  text-decoration: underline;
}

footer .copyright {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(237, 228, 217, 0.3);
  color: rgba(237, 228, 217, 0.8);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 4rem 2rem;
  margin: 0;
}

.section-dark {
  background-color: var(--anchor-navy);
  color: var(--calm-sand);
}

.section-dark h2, .section-dark h3 {
  color: var(--calm-sand);
}

.section-light {
  background-color: var(--light-gray);
}

.section-sand {
  background-color: var(--calm-sand);
  color: var(--dark-gray);
}

.hero {
  position: relative;
  height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
  margin-top: 80px;
}

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

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero h1 {
  color: var(--calm-sand);
  font-size: 2.8rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--stable-teal);
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
}

.btn:hover {
  background-color: var(--grounding-rust);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 109, 119, 0.3);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--stable-teal);
  color: white;
}

.btn-secondary {
  background-color: var(--anchor-navy);
  color: white;
}

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

.content-grid img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-item {
  background-color: white;
  border-left: 4px solid var(--stable-teal);
  padding: 1.5rem;
  margin: 1rem 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  border-radius: 2px;
}

.faq-item h4 {
  color: var(--anchor-navy);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.faq-item p {
  margin: 0;
  color: var(--dark-gray);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

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

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

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

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

.article-card h3 {
  font-size: 1.3rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

.article-card a {
  color: var(--stable-teal);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.article-card a:hover {
  color: var(--grounding-rust);
}

.disclaimer-block {
  background-color: var(--calm-sand);
  border: 2px solid var(--grounding-rust);
  padding: 1.5rem;
  border-radius: 4px;
  margin: 2rem 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.disclaimer-block h4 {
  color: var(--grounding-rust);
  margin-top: 0;
}

form {
  background-color: var(--light-gray);
  padding: 2rem;
  border-radius: 4px;
  max-width: 600px;
  margin: 2rem auto;
}

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

form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--anchor-navy);
}

form input, form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

form input:focus, form textarea:focus {
  outline: none;
  border-color: var(--stable-teal);
  box-shadow: 0 0 0 3px rgba(0, 109, 119, 0.1);
}

form button {
  background-color: var(--stable-teal);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
}

form button:hover {
  background-color: var(--grounding-rust);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(155, 63, 0, 0.3);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--anchor-navy);
  color: var(--calm-sand);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

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

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

.cookie-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.cookie-btn {
  padding: 0.5rem 1rem;
  border: 1px solid var(--calm-sand);
  background-color: transparent;
  color: var(--calm-sand);
  cursor: pointer;
  border-radius: 2px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-size: 0.9rem;
}

.cookie-btn:hover {
  background-color: rgba(237, 228, 217, 0.1);
  border-color: var(--calm-sand);
}

.cookie-btn-accept {
  background-color: var(--stable-teal);
  border-color: var(--stable-teal);
  color: white;
}

.cookie-btn-accept:hover {
  background-color: var(--grounding-rust);
  border-color: var(--grounding-rust);
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  header .nav-links {
    gap: 1rem;
    font-size: 0.9rem;
  }
  
  .hero {
    height: 350px;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .content-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .cookie-actions {
    justify-content: flex-start;
    width: 100%;
  }
  
  footer .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 0.95rem;
  }
  
  h1 {
    font-size: 1.5rem;
  }
  
  .section {
    padding: 2rem 1rem;
  }
  
  header nav {
    padding: 0.75rem 1rem;
  }
  
  header .nav-links {
    gap: 0.75rem;
  }
  
  .article-grid {
    grid-template-columns: 1fr;
  }
}
