
:root {
  --primary: #121212;
  --secondary: #1E1E1E;
  --accent: #FF6B00;
  --accent-secondary: #8C52FF;
  --text-primary: #FFFFFF;
  --text-secondary: #BBBBBB;
  --highlight: #00C2FF;
  --success: #00E676;
  --error: #FF5252;
  --border: #333333;
}

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


h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-top: 0;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

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

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

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

.text-highlight {
  color: var(--highlight);
}


.container {
  padding: 2rem 1rem;
}

.section {
  margin: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--accent);
}


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

.logo {
  height: 50px;
  width: auto;
}

.top-bar {
  background-color: transparent !important;
}

.top-bar ul {
  background-color: transparent !important;
}

.menu {
  background-color: transparent !important;
}

.menu a {
  color: var(--text-primary) !important;
  font-weight: 500;
  padding: 1rem 1.5rem;
  transition: color 0.3s ease;
}

.menu a:hover, .menu a:focus {
  color: var(--accent) !important;
}

.menu .active > a {
  background-color: transparent !important;
  color: var(--accent) !important;
}


.title-bar {
  background-color: var(--secondary);
  padding: 1rem;
}

.title-bar-title {
  color: var(--text-primary);
  font-weight: 500;
}

.mobile-menu {
  background-color: var(--secondary);
}


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

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(140, 82, 255, 0.1), rgba(0, 194, 255, 0.1));
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-btn {
  background-color: var(--accent);
  color: var(--text-primary);
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-weight: 500;
  border: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.hero-btn:hover, .hero-btn:focus {
  background-color: var(--accent-secondary);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}


.about {
  background-color: var(--primary);
  padding: 4rem 0;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-subtitle {
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.5rem;
}


.interactive {
  background-color: var(--secondary);
  padding: 4rem 0;
  position: relative;
}

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

.interactive-title {
  margin-bottom: 2rem;
}

.viewer-container {
  height: 400px;
  width: 100%;
  position: relative;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
}

.viewer-controls {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.viewer-btn {
  background-color: var(--secondary);
  color: var(--text-primary);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.viewer-btn:hover, .viewer-btn:focus {
  background-color: var(--accent);
  border-color: var(--accent);
}

.viewer-btn.active {
  background-color: var(--accent);
  border-color: var(--accent);
}


.popular-species {
  padding: 4rem 0;
}

.species-card {
  background-color: var(--secondary);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

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

.species-content {
  padding: 1.5rem;
  flex-grow: 1;
}

.species-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.species-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.species-link {
  color: var(--highlight);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

.species-link i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.species-link:hover i {
  transform: translateX(3px);
}


.contact-form-section {
  background-color: var(--secondary);
  padding: 4rem 0;
}

.form-container {
  background-color: var(--primary);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.form-title {
  margin-bottom: 2rem;
  text-align: center;
}

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

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

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  background-color: var(--secondary);
  color: var(--text-primary);
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  border-color: var(--highlight);
  background-color: var(--secondary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 194, 255, 0.2);
}

.submit-btn {
  background-color: var(--accent);
  color: var(--text-primary);
  border: none;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.submit-btn:hover, .submit-btn:focus {
  background-color: var(--accent-secondary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}


.checkbox-container {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.checkbox-container input[type="checkbox"] {
  margin-right: 10px;
  margin-top: 5px;
}

.checkbox-container label {
  margin-bottom: 0;
  font-size: 0.9rem;
}


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

.location-card {
  background-color: var(--secondary);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  height: 100%;
}

.location-title {
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.location-info {
  margin-bottom: 1.5rem;
}

.location-info p {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.location-info i {
  margin-right: 0.75rem;
  color: var(--accent);
  width: 20px;
  text-align: center;
}


.site-footer {
  background-color: var(--secondary);
  padding: 3rem 0 1.5rem;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 1.5rem;
}

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

.footer-links {
  margin-top: 1.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  margin-right: 1.5rem;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

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

.copyright {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
}


.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: block;
  opacity: 1;
}

.modal-content {
  background-color: var(--secondary);
  margin: 10% auto;
  padding: 2rem;
  border-radius: 8px;
  max-width: 500px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transform: translateY(-20px);
  transition: transform 0.3s ease;
  position: relative;
}

.modal.show .modal-content {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-modal:hover, .close-modal:focus {
  color: var(--accent);
}

.modal-title {
  margin-bottom: 1.5rem;
}

.modal-body {
  margin-bottom: 1.5rem;
}

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

.modal-btn {
  background-color: var(--accent);
  color: var(--text-primary);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

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


.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--secondary);
  padding: 1.5rem;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
  z-index: 999;
  display: none;
}

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

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

.cookie-text p {
  margin-bottom: 0;
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cookie-btn {
  background-color: var(--accent);
  color: var(--text-primary);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

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

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

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

.cookie-settings-toggle {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background-color: var(--secondary);
  color: var(--text-primary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  z-index: 99;
  transition: all 0.3s ease;
}

.cookie-settings-toggle:hover, .cookie-settings-toggle:focus {
  background-color: var(--accent);
  transform: translateY(-2px);
}

.cookie-settings-toggle i {
  font-size: 1.5rem;
}

.cookie-settings-modal .modal-content {
  max-width: 600px;
}

.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;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.cookie-category-title {
  font-weight: 600;
  margin-bottom: 0;
}

.cookie-category-description {
  font-size: 0.9rem;
  margin-bottom: 0;
}

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

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

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

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

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

input:focus + .slider {
  box-shadow: 0 0 1px var(--accent);
}

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


.catalog-header {
  background-color: var(--secondary);
  padding: 4rem 0;
  text-align: center;
}

.catalog-title {
  margin-bottom: 1.5rem;
}

.catalog-description {
  max-width: 800px;
  margin: 0 auto;
}

.filter-section {
  background-color: var(--primary);
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.filter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

.filter-group {
  flex: 1;
  min-width: 200px;
}

.filter-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-checkbox {
  display: flex;
  align-items: center;
}

.filter-checkbox input {
  margin-right: 0.5rem;
}

.filter-checkbox label {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.search-container {
  flex: 1;
  min-width: 300px;
}

.search-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  background-color: var(--secondary);
  color: var(--text-primary);
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
}

.search-input:focus {
  border-color: var(--highlight);
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 194, 255, 0.2);
}

.catalog-grid {
  padding: 4rem 0;
}

.butterfly-card {
  background-color: var(--secondary);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.butterfly-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

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

.butterfly-title {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.butterfly-subtitle {
  font-size: 0.9rem;
  color: var(--accent);
  font-style: italic;
  margin-bottom: 1rem;
}

.butterfly-habitat {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.butterfly-btn {
  margin-top: auto;
  background-color: transparent;
  color: var(--highlight);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.butterfly-btn:hover, .butterfly-btn:focus {
  background-color: var(--highlight);
  border-color: var(--highlight);
  color: var(--primary);
}


.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.9);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.show {
  display: flex;
  opacity: 1;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  display: block;
  margin: 0 auto;
  border: 2px solid var(--secondary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--text-primary);
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.lightbox-close:hover, .lightbox-close:focus {
  color: var(--accent);
}

.lightbox-title {
  position: absolute;
  bottom: -40px;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--text-primary);
  font-size: 1.2rem;
}


.blog-header {
  background-color: var(--secondary);
  padding: 4rem 0;
  text-align: center;
}

.blog-title {
  margin-bottom: 1.5rem;
}

.blog-description {
  max-width: 800px;
  margin: 0 auto;
}

.blog-grid {
  padding: 4rem 0;
}

.post-card {
  background-color: var(--secondary);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.post-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

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

.post-date {
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.post-title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.post-excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.post-link {
  margin-top: auto;
  color: var(--highlight);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

.post-link i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.post-link:hover i {
  transform: translateX(3px);
}


.post-header {
  background-color: var(--secondary);
  padding: 4rem 0;
  text-align: center;
}

.post-header-title {
  margin-bottom: 1rem;
}

.post-header-date {
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 2rem;
}

.post-header-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.post-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 0;
}

.post-body p {
  margin-bottom: 1.5rem;
}

.post-body h2 {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.post-body h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.post-body ul, .post-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  color: var(--text-secondary);
}

.post-body li {
  margin-bottom: 0.5rem;
}


.contact-header {
  background-color: var(--secondary);
  padding: 4rem 0;
  text-align: center;
}

.contact-title {
  margin-bottom: 1.5rem;
}

.contact-description {
  max-width: 800px;
  margin: 0 auto;
}

.contact-info-section {
  padding: 4rem 0;
}

.contact-card {
  background-color: var(--secondary);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  height: 100%;
}

.contact-info-title {
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.contact-info {
  margin-bottom: 1.5rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.contact-info i {
  margin-right: 0.75rem;
  color: var(--accent);
  width: 20px;
  text-align: center;
}

.contact-map {
  margin-top: 2rem;
}

.map-container {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.thank-you-section {
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.thank-you-content {
  max-width: 600px;
}

.thank-you-icon {
  font-size: 5rem;
  color: var(--success);
  margin-bottom: 2rem;
}

.thank-you-title {
  margin-bottom: 1.5rem;
}

.thank-you-text {
  margin-bottom: 2rem;
}

.back-home-btn {
  background-color: var(--accent);
  color: var(--text-primary);
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-weight: 500;
  border: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.back-home-btn:hover, .back-home-btn:focus {
  background-color: var(--accent-secondary);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}


.policy-header {
  background-color: var(--secondary);
  padding: 4rem 0;
  text-align: center;
}

.policy-title {
  margin-bottom: 1.5rem;
}

.policy-date {
  font-size: 0.9rem;
  color: var(--accent);
}

.policy-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 0;
}

.policy-section {
  margin-bottom: 3rem;
}

.policy-section-title {
  margin-bottom: 1.5rem;
}

.policy-section p {
  margin-bottom: 1rem;
}

.policy-section ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  color: var(--text-secondary);
}

.policy-section li {
  margin-bottom: 0.5rem;
}


.mb-0 {
  margin-bottom: 0 !important;
}

.mt-0 {
  margin-top: 0 !important;
}

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

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

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

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

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

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


@media screen and (max-width: 639px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section {
    margin: 3rem 0;
  }
  
  .viewer-container {
    height: 300px;
  }
  
  .form-container, 
  .location-card, 
  .contact-card {
    padding: 1.5rem;
  }
  
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-actions {
    width: 100%;
    justify-content: space-between;
  }
}

@media screen and (max-width: 1023px) {
  .hero {
    padding: 4rem 0;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .filter-container {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filter-group {
    width: 100%;
  }
}


.iti {
  width: 100%;
}