
:root {
  --primary: #1A2B33;
  --secondary: #4A6670;
  --accent: #E76F51;
  --highlight: #F4A261;
  --background: #121212;
  --paper-bg: #1E1E1E;
  --text: #F5F5F5;
  --muted-text: #B0B0B0;
  --border: #2D2D2D;
  --success: #2E8B57;
  --error: #B33A3A;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Barlow', sans-serif;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}


h1, h2, h3, h4, h5 {
  font-family: 'PT Serif', serif;
  margin-top: 0;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  position: relative;
}

h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--accent);
  margin-top: 0.5rem;
}

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

p {
  margin-bottom: 1.5rem;
}

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

a:hover, a:focus {
  color: var(--accent);
  text-decoration: underline;
}


.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}


.paper {
  background-color: var(--paper-bg);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.paper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--highlight));
}

.torn-edge {
  position: relative;
}

.torn-edge::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  right: 0;
  height: 15px;
  background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,0 L10,5 L20,0 L30,8 L40,2 L50,7 L60,0 L70,5 L80,0 L90,8 L100,0' stroke='none' fill='%231E1E1E' fill-opacity='1' stroke-width='0' stroke-dasharray='0' stroke-linecap='butt' stroke-dashoffset='0' font-size='0' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 100px 15px;
}


.header {
  background-color: var(--primary);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
}

.nav-desktop {
  display: flex;
}

.nav-desktop ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop li {
  margin-left: 2rem;
}

.nav-desktop a {
  color: var(--text);
  font-weight: 500;
  position: relative;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s;
}

.nav-desktop a:hover::after, 
.nav-desktop a:focus::after {
  width: 100%;
}

.nav-mobile {
  display: none;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: var(--text);
  transition: all 0.3s;
}


.hero {
  background-color: var(--primary);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

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

.hero-text {
  flex: 1;
}

.hero-image {
  flex: 1;
  text-align: right;
}

.hero-image img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transform: rotate(2deg);
}


.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--text);
}

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--highlight);
  color: var(--primary);
  text-decoration: none;
}

.btn-secondary {
  background-color: transparent;
  color: var(--text);
  border: 2px solid var(--accent);
}

.btn-secondary:hover, .btn-secondary:focus {
  background-color: var(--accent);
  color: var(--text);
  text-decoration: none;
}


.card {
  background-color: var(--paper-bg);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card-image {
  height: 200px;
  overflow: hidden;
}

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

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

.card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.card-text {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}


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

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

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


.case-study {
  background-color: var(--paper-bg);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

.case-study::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--accent);
}

.case-study-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.case-study-result {
  display: inline-block;
  background-color: rgba(46, 139, 87, 0.2);
  color: var(--success);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-weight: 500;
  margin-bottom: 1rem;
}


.trail-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.trail-table th, .trail-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.trail-table th {
  background-color: var(--primary);
  color: var(--text);
}

.trail-table tr:nth-child(even) {
  background-color: rgba(74, 102, 112, 0.1);
}

.trail-status {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-weight: 500;
}

.status-open {
  background-color: rgba(46, 139, 87, 0.2);
  color: var(--success);
}

.status-caution {
  background-color: rgba(244, 162, 97, 0.2);
  color: var(--highlight);
}

.status-closed {
  background-color: rgba(179, 58, 58, 0.2);
  color: var(--error);
}


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

.wildlife-tip {
  background-color: var(--paper-bg);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
}

.wildlife-tip i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}


.lnt-principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.lnt-principle {
  background-color: var(--paper-bg);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s;
}

.lnt-principle:hover {
  transform: translateY(-5px);
}

.lnt-principle i {
  font-size: 2rem;
  color: var(--highlight);
  margin-bottom: 1rem;
  display: block;
}


.contact-form {
  background-color: var(--paper-bg);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 3rem;
}

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

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background-color: var(--background);
  color: var(--text);
  transition: border-color 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
}

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

.form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.form-check-input {
  margin-top: 0.25rem;
  margin-right: 0.75rem;
}


.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: var(--paper-bg);
  border-radius: 8px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text);
  cursor: pointer;
}


.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--paper-bg);
  padding: 1rem;
  z-index: 1500;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

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

.cookie-text {
  flex: 1;
  min-width: 280px;
}

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

.cookie-settings {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.cookie-settings-content {
  background-color: var(--paper-bg);
  border-radius: 8px;
  padding: 2rem;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
}

.cookie-category {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.cookie-category:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--border);
  transition: 0.4s;
  border-radius: 24px;
}

.cookie-toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: var(--text);
  transition: 0.4s;
  border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background-color: var(--accent);
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
  transform: translateX(26px);
}


.footer {
  background-color: var(--primary);
  padding: 3rem 0;
  color: var(--text);
}

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

.footer-contact h3 {
  margin-bottom: 1.5rem;
}

.footer-contact p {
  margin-bottom: 0.5rem;
}

.footer-links h3 {
  margin-bottom: 1.5rem;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--muted-text);
}

.footer-links a:hover, .footer-links a:focus {
  color: var(--text);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: var(--muted-text);
}


.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background-color: var(--accent);
  color: var(--text);
  padding: 8px 16px;
  z-index: 1001;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}


.breadcrumbs {
  margin-bottom: 2rem;
  display: flex;
  flex-wrap: wrap;
}

.breadcrumbs-item {
  display: flex;
  align-items: center;
  color: var(--muted-text);
}

.breadcrumbs-item:not(:last-child)::after {
  content: "/";
  margin: 0 0.5rem;
  color: var(--muted-text);
}

.breadcrumbs-item a {
  color: var(--muted-text);
}

.breadcrumbs-item a:hover, .breadcrumbs-item a:focus {
  color: var(--text);
}

.breadcrumbs-item.active {
  color: var(--text);
}


.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mt-5 {
  margin-top: 3rem;
}

.py-1 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-2 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-3 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-4 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.py-5 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.px-1 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-2 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-3 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-4 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.px-5 {
  padding-left: 3rem;
  padding-right: 3rem;
}


.iti, #phone {
  width: 100%;
}


@media (max-width: 992px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .wildlife-tips {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero-content {
    flex-direction: column;
  }
  
  .hero-image {
    order: -1;
    margin-bottom: 2rem;
  }
  
  .nav-desktop {
    display: none;
  }
  
  .hamburger {
    display: block;
  }
  
  .nav-mobile {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 80%;
    max-width: 300px;
    background-color: var(--primary);
    padding: 2rem;
    z-index: 1500;
    transform: translateX(100%);
    transition: transform 0.3s;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }
  
  .nav-mobile.active {
    display: block;
    transform: translateX(0);
  }
  
  .nav-mobile-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
  }
  
  .nav-mobile ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
  }
  
  .nav-mobile li {
    margin-bottom: 1.5rem;
  }
  
  .nav-mobile a {
    color: var(--text);
    font-size: 1.25rem;
    font-weight: 500;
    display: block;
    padding: 0.5rem 0;
  }
  
  .overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
  }
  
  .overlay.active {
    display: block;
  }
  
  .wildlife-tips {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .grid {
    grid-template-columns: 1fr;
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: space-between;
  }
}