:root {
  --navy: #0f3a4d;
  --navy-light: #1a4d62;
  --sage: #6b8e7f;
  --gold: #c4a574;
  --terracotta: #b86a4a;
  --white: #ffffff;
  --gray: #f5f5f5;
  --text-dark: #1a1a1a;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Georgia', 'Garamond', serif;
  background-color: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Trebuchet MS', 'Lucida Grande', sans-serif;
  font-weight: 600;
  margin: 1.5rem 0 1rem 0;
  color: var(--navy);
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.2rem;
  font-weight: 600;
}

p {
  margin-bottom: 1.2rem;
  line-height: 1.8;
  letter-spacing: 0.3px;
}

ul, ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

li {
  margin-bottom: 0.8rem;
  line-height: 1.8;
}

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

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

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

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--navy);
  padding: 1.5rem 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.logo a {
  color: var(--gold);
  text-decoration: none;
}

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

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

nav a {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

body {
  padding-top: 80px;
}

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

section {
  padding: 6rem 0;
}

.section-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

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

.section-hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.section-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.section-content.reverse {
  direction: rtl;
}

.section-content.reverse > * {
  direction: ltr;
}

.section-image {
  position: relative;
}

.section-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.section-text h2 {
  color: var(--navy);
}

.section-text p {
  font-size: 1rem;
  line-height: 1.8;
}

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

.card {
  background-color: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-align: center;
}

.card:hover {
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
  border-color: var(--sage);
}

.card h3 {
  color: var(--sage);
  margin-bottom: 1rem;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background-color: var(--sage);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  margin-top: 1rem;
}

.btn:hover {
  background-color: var(--gold);
  color: var(--navy);
  text-decoration: none;
}

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

.btn-secondary:hover {
  background-color: var(--terracotta);
  color: var(--white);
}

.btn-link {
  background-color: transparent;
  color: var(--sage);
  text-transform: none;
  letter-spacing: normal;
  padding: 0;
  margin-top: 0;
}

.btn-link:hover {
  color: var(--gold);
  background-color: transparent;
}

.disclaimer {
  background-color: #f9f9f9;
  border-left: 4px solid var(--sage);
  padding: 2rem;
  margin: 3rem 0;
  border-radius: 4px;
  font-size: 0.95rem;
}

.disclaimer h3 {
  color: var(--navy);
  margin-top: 0;
}

footer {
  background-color: var(--navy);
  color: var(--white);
  padding: 4rem 0 2rem 0;
  margin-top: 4rem;
}

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

footer h4 {
  color: var(--gold);
  margin-bottom: 1.5rem;
}

footer ul {
  list-style: none;
  margin: 0;
}

footer li {
  margin-bottom: 0.8rem;
}

footer a {
  color: var(--white);
  transition: color 0.3s ease;
}

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

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

.footer-bottom p {
  margin: 0;
}

.contact-form {
  max-width: 600px;
  margin: 2rem auto;
}

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

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

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

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(107, 142, 127, 0.1);
}

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

.form-group button {
  width: 100%;
}

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

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

.blog-card:hover {
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.blog-card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 2rem;
}

.blog-card-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--navy);
}

.blog-card-excerpt {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.blog-card-meta {
  font-size: 0.85rem;
  color: var(--sage);
  margin-bottom: 1rem;
}

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

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

.cookie-text {
  flex: 1;
  margin-right: 2rem;
  font-size: 0.95rem;
}

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

.cookie-btn {
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: all 0.3s ease;
}

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

.cookie-accept:hover {
  background-color: var(--gold);
  color: var(--navy);
}

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

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

.cookie-more {
  background-color: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.cookie-more:hover {
  background-color: rgba(196, 165, 116, 0.1);
}

@media (max-width: 768px) {
  nav ul {
    gap: 1rem;
  }

  nav a {
    font-size: 0.85rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .section-hero {
    padding: 4rem 0;
  }

  .hero-content, .section-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-content.reverse {
    direction: ltr;
  }

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

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

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

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

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

  .cookie-buttons {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
    text-align: center;
  }
}

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

  h2 {
    font-size: 1.2rem;
  }

  section {
    padding: 3rem 0;
  }

  .container {
    padding: 0 1rem;
  }

  nav ul {
    gap: 0.5rem;
    font-size: 0.75rem;
  }

  .card {
    padding: 1.5rem;
  }

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

  .disclaimer {
    padding: 1.5rem;
  }

  .cookie-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
}
