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

:root {
  --alpine-dark: #2E4A38;
  --alpine-light: #D9C2A6;
  --alpine-sage: #8BA87D;
  --alpine-moss: #475C3F;
  --text-dark: #2E4A38;
  --text-light: #f8f8f6;
  --border-light: #e5e0d8;
}

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

html, body {
  font-family: 'Source Sans Pro', sans-serif;
  color: var(--text-dark);
  background-color: var(--text-light);
  font-size: 16px;
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.2rem;
  line-height: 1.3;
}

h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  line-height: 1.65;
  font-size: 1.125rem;
  font-weight: 400;
}

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

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

button, .btn {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--alpine-dark);
  color: var(--text-light);
  border-color: var(--alpine-dark);
}

.btn-primary:hover {
  background-color: var(--alpine-moss);
  border-color: var(--alpine-moss);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: scale(0.96);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--text-light);
  z-index: 1000;
  box-shadow: none;
  transition: box-shadow 0.3s ease;
  border-bottom: 1px solid transparent;
}

header.scrolled {
  border-bottom-color: var(--alpine-light);
  box-shadow: 0 2px 4px rgba(46, 74, 56, 0.05);
}

.navbar-brand {
  font-family: 'Merriweather', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--alpine-dark) !important;
}

.navbar-brand:hover {
  color: var(--alpine-sage) !important;
}

.nav-link {
  font-family: 'Source Sans Pro', sans-serif;
  color: var(--text-dark) !important;
  font-weight: 500;
  margin-right: 1.5rem;
  transition: color 0.3s ease;
  font-size: 1rem;
}

.nav-link:hover {
  color: var(--alpine-sage) !important;
}

.hero-section {
  position: relative;
  height: 600px;
  background-image: url('images/hero-alpine-meadow.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  text-align: center;
  margin-top: 70px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(46, 74, 56, 0.4);
}

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

.hero-content h1 {
  color: var(--text-light);
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 900;
}

.hero-content p {
  color: var(--text-light);
  font-size: 1.5rem;
  font-weight: 300;
}

section {
  padding: 80px 5%;
  max-width: 1480px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.card-component {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
  height: 100%;
}

.card-component:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(46, 74, 56, 0.1);
}

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

.card-component-body {
  padding: 1.5rem;
}

.card-component-body h3 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.card-component-body p {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
}

.two-col-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.two-col-section img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(46, 74, 56, 0.08);
}

.two-col-section.reverse {
  direction: rtl;
}

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

.table-responsive {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(46, 74, 56, 0.05);
}

table {
  margin-bottom: 0;
}

table th {
  background-color: var(--alpine-dark);
  color: var(--text-light);
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 600;
  padding: 1.2rem;
  text-align: left;
}

table td {
  padding: 1.2rem;
  border-bottom: 1px solid var(--border-light);
  font-size: 1rem;
}

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

table tbody tr:hover {
  background-color: #f9f7f4;
}

.cta-link {
  color: var(--alpine-dark);
  font-weight: 600;
  border-bottom: 2px solid var(--alpine-light);
  transition: all 0.3s ease;
  text-decoration: none;
}

.cta-link:hover {
  border-bottom-color: var(--alpine-dark);
  color: var(--alpine-sage);
}

.disclaimer-box {
  background-color: #f9f7f4;
  border-left: 4px solid var(--alpine-light);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
}

.disclaimer-box p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.full-width-bg {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 80px 5%;
  background-color: #f9f7f4;
}

.full-width-bg h2 {
  text-align: center;
}

.myths-list {
  list-style: none;
  padding: 0;
}

.myths-list li {
  padding: 1.2rem;
  margin-bottom: 0.8rem;
  background-color: #fff;
  border-left: 4px solid var(--alpine-sage);
  border-radius: 4px;
}

.myths-list strong {
  color: var(--alpine-dark);
  font-weight: 600;
}

footer {
  background-color: var(--alpine-dark);
  color: var(--text-light);
  padding: 3rem 5%;
  margin-top: 4rem;
}

footer h4 {
  color: var(--alpine-light);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

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

footer a:hover {
  color: var(--alpine-light);
}

.footer-section {
  margin-bottom: 2rem;
}

.footer-links a {
  display: inline-block;
  margin-right: 1.5rem;
  margin-bottom: 0.5rem;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(46, 74, 56, 0.08);
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--alpine-dark);
  box-shadow: 0 0 0 3px rgba(46, 74, 56, 0.1);
}

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

.thank-you-message {
  text-align: center;
  padding: 4rem 2rem;
}

.thank-you-message h1 {
  color: var(--alpine-dark);
  margin-bottom: 1rem;
}

.thank-you-message p {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--alpine-dark);
  color: var(--text-light);
  padding: 1.5rem;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -2px 8px rgba(46, 74, 56, 0.15);
  animation: slideUp 0.3s ease;
}

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

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

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

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

.cookie-buttons button {
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.cookie-btn-accept {
  background-color: var(--alpine-light);
  color: var(--alpine-dark);
}

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

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

.cookie-btn-reject:hover {
  border-color: var(--alpine-light);
  color: var(--alpine-light);
}

.cookie-btn-learn {
  background-color: transparent;
  color: var(--alpine-light);
  text-decoration: underline;
  border: none;
  padding: 0.6rem 0;
}

.cookie-btn-learn:hover {
  color: var(--text-light);
}

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

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  p {
    font-size: 1rem;
  }

  .hero-section {
    height: 400px;
    margin-top: 60px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .two-col-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  section {
    padding: 50px 4%;
  }

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

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

  .cookie-buttons {
    width: 100%;
  }

  .cookie-buttons button {
    flex: 1;
  }

  .nav-link {
    margin-right: 0.5rem;
    font-size: 0.9rem;
  }

  .navbar-brand {
    font-size: 1.2rem;
  }
}

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

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  p {
    font-size: 0.95rem;
  }

  .hero-section {
    height: 300px;
    margin-top: 50px;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  section {
    padding: 40px 3%;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .table-responsive {
    overflow-x: auto;
  }

  table {
    font-size: 0.85rem;
  }

  table th,
  table td {
    padding: 0.8rem;
  }
}
