/* Desktop-first base styles */
:root {
  --primary-color: #2c2018;
  --secondary-color: #c85a3a;
  --accent-color: #a0522d;
  --accent-dark: #7d3f1f;
  --text-primary: #2c2018;
  --color-white: #ffffff;
  --background-light: #f5f1ed;
  --border-color: #d9cfc5;
  --shadow: rgba(44, 32, 24, 0.1);
  --shadow-lg: rgba(44, 32, 24, 0.15);
  --highlight-yellow: #e8a87c;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-primary);
  background: var(--color-white);
  overflow-x: hidden;
}

.bg-blue {
  background: var(--primary-color);
}

.bg-pale {
  background: var(--background-light);
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 120px;
}

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

.mb-8 {
  margin-bottom: 8px;
}

.mb-16 {
  margin-bottom: 16px;
}

.mb-24 {
  margin-bottom: 24px;
}

.mb-32 {
  margin-bottom: 32px;
}

.mb-40 {
  margin-bottom: 40px;
}

.mb-48 {
  margin-bottom: 48px;
}

.mb-64 {
  margin-bottom: 64px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

section {
  margin: 0;
  padding: 48px 0;
}

/* Header */
header {
  background: var(--primary-color);
  color: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px var(--shadow);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 56px;
}

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

.logo-icon {
  height: 32px;
  width: auto;
  vertical-align: middle;
}

nav .nav-menu {
  display: flex;
  gap: 20px;
  list-style: none;
}

nav .nav-menu li a {
  color: var(--color-white);
  text-decoration: none;
  font-size: 16px;
  font-weight: 400 !important;
  line-height: 24px;
  transition: var(--transition);
}

nav .nav-menu li a:hover {
  color: var(--highlight-yellow);
}

/* Hero Section */
.hero-content {
  display: flex;
  flex-direction: row;
  gap: 24px;
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.hero-text-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-title {
  font-size: 48px;
  font-weight: 500;
  line-height: 56px;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  color: var(--text-primary);
}

.text {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.d-flex-row {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.flex-1 {
  flex: 1;
}

.flex-2 {
  flex: 2;
}

.d-flex-9-1 {
  display: flex;
  gap: 20px;
  margin-top: 32px;
}

.d-flex-content {
  overflow: hidden;
}

.d-flex-content:first-child {
  flex: 1.9;
}

.d-flex-content:last-child {
  flex: 1.1;
}

.d-flex-content-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 600px;
}

.hero-image {
  flex: 1;
  width: 100%;
  height: 400px;
  overflow: hidden;
  box-shadow: 0 4px 12px var(--shadow);
  align-self: center;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-stats {
  display: flex;
  flex-direction: row;
  gap: 64px;
  margin-top: 16px;
}

.stat-item {
  display: flex;
  font-size: 14px;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

/* Why Visit Section */
.section-title {
  font-size: 32px;
  font-weight: 500;
  line-height: 40px;
  color: var(--text-primary);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.content-grid .content-item {
  flex: 1 1 calc(33.333% - 14px);
  min-width: 280px;
}

.content-grid-6 .content-item {
  flex: 1 1 calc(33.333% - 14px);
  min-width: 280px;
}

.content-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.icon {
  width: 24px;
  height: 24px;
}

.icon-20 {
  width: 20px;
  height: 20px;
}

.item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.item-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.item-text {
  font-size: 14px;
  line-height: 1.6;
}

/* Tours Section */
.tours-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 24px;
}

.tours-header-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.partner-logo {
  margin: 0;
  height: 100%;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-img {
  height: 40px;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.activities-count {
  font-size: 14px;
  color: var(--accent-color);
}

.tours-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
}

.tour-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  min-height: 580px;
  flex: 0 1 calc(33.333% - 16px);
}

.tour-image {
  width: 100%;
  height: 310px;
  overflow: hidden;
}

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

.tour-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.tour-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stars {
  display: flex;
  gap: 2px;
  color: var(--highlight-yellow);
}

.star-icon {
  width: 16px;
  height: 16px;
}

.rating-text {
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
}

.tour-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 32px;
  color: var(--text-primary);
}

.tour-title-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tour-description {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--text-primary);
}

.tour-price-container {
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: auto;
}

.tour-price {
  font-size: 16px;
  color: var(--primary-color);
  margin-top: auto;
}

.tour-btn {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary-color);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  width: 100%;
}

.tour-btn:hover {
  background: #e53e3e;
}

.show-more-btn {
  text-decoration: none;
  margin: 0 auto;
  background: #fff;
  color: var(--primary-color);
  border: 2px solid var(--accent-color);
  border-radius: 8px;
  padding: 12px 32px;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  width: 270px;
}

.show-more-btn:hover {
  background: var(--background-light);
}

.big-card-text {
  display: flex;
  flex-direction: column;
}

.big-tour-btn {
  background: var(--secondary-color);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 40px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  width: fit-content;
  align-self: flex-start;
}

.big-tour-btn:hover {
  background: #e53e3e;
}

/* Reviews Section */
.reviews {
  color: #fff;
  text-align: center;
  margin-top: 32px;
}

.reviews-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 40px;
}

.reviews-title {
  font-size: 32px;
  line-height: 40px;
  font-weight: 500;
}

.reviews-rating {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.rating-number {
  font-size: 48px;
  line-height: 56px;
  font-weight: 500;
}

.review-star {
  width: 32px;
  height: 32px;
}

/* Gallery Section */
.gallery-images {
  display: flex;
  gap: 20px;
}

.gallery-img {
  flex: 1;
  width: 100%;
  height: 400px;
  object-fit: cover;
  overflow: hidden;
}

/* Starting Point Section */
.starting-point-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.location-info {
  flex: 1;
}

.location-link {
  color: var(--primary-color);
  font-weight: 400;
  text-decoration: underline;
  font-size: 16px;
  line-height: 24px;
}

.location-map {
  width: 100%;
  flex: 1;
  margin-top: 24px;
}

.map-img {
  width: 100%;
  height: auto;
  box-shadow: 0 2px 8px var(--shadow);
}

.location-instructions {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  list-style: none;
}

.location-instructions li {
  margin-left: 16px;
  padding-left: 24px;
  position: relative;
}

.location-instructions li::before {
  content: "•";
  color: var(--accent-color);
  position: absolute;
  left: 0;
}

/* FAQ Section */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.accordion-item {
  border-top: 1px solid var(--accent-color);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.accordion-text {
  flex: 1;
  text-align: left;
  font-size: 16px;
  font-weight: 400;
  padding: 8px 0;
  color: var(--text-primary);
}

.faq-icon {
  color: var(--accent-color);
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}

/* About Section */
.about-content {
  display: flex;
  flex-direction: row;
  gap: 24px;
}

.about-content-text {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-text-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 500px;
}

.about-img {
  width: 100%;
  height: auto;
  box-shadow: 0 2px 8px var(--shadow);
}

.about-btn {
  background: #fff;
  color: var(--primary-color);
  border: 2px solid var(--accent-color);
  border-radius: 8px;
  padding: 14px 32px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  align-self: flex-start;
  font-size: 14px;
}

.about-btn:hover {
  background: var(--background-light);
  transform: translateY(-1px);
}

/* Footer */
footer {
  background: var(--primary-color);
  color: #fff;
  padding: 32px 0 16px;
  position: relative;
}

.footer-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-logo .logo-text {
  font-size: 20px;
  font-weight: 700;
}

.footer-about {
  display: flex;
  flex-direction: column;
  max-width: 400px;
}

.footer-section {
  display: flex;
  flex-direction: column;
  align-self: flex-start;
  min-width: 200px;
}

.footer-info {
  display: flex;
  align-items: flex-end;
  flex-direction: row;
  gap: 20px;
}

.footer-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: var(--border-color);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--highlight-yellow);
}

.footer-link.underline {
  text-decoration: underline;
}

.footer-description {
  color: var(--border-color);
  font-size: 14px;
  line-height: 1.6;
}

.contact-item {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: var(--border-color);
}

.contact-item i {
  color: var(--accent-color);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 16px;
  font-size: 12px;
  color: var(--border-color);
}

.footer-copyright {
  font-size: 14px;
  line-height: 16px;
  font-weight: 400;
  color: var(--border-color);
}

/* Navigation Active State */
nav .nav-menu li a.active {
  color: var(--highlight-yellow);
  font-weight: 500;
}

/* Activities Info Box */
.activities-info {
  padding: 32px;
  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-height: 200px;
  justify-content: center;
}

.activities-title {
  color: var(--color-white);
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  margin: 0;
}

.activities-text {
  color: var(--color-white);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  margin: 0;
}

/* Attractions Layout */
.flex-column {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.attraction-item {
  display: flex;
  flex-direction: row;
  gap: 120px;
  align-items: flex-start;
}

.block-image {
  flex: 1;
  width: 100%;
  height: 370px;
  overflow: hidden;
  box-shadow: 0 4px 12px var(--shadow);
  align-self: center;
}

.block-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.attraction-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

.attraction-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  color: var(--text-primary);
  margin: 0;
}

.attraction-description {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--text-primary);
  margin: 0;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  width: 55px;
  height: 55px;
  background-color: var(--primary-color);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1000;
  font-weight: 700;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--accent-color);
  color: var(--color-white);
}

.back-to-top-icon {
  width: 20px;
  height: 20px;
}

@media screen and (max-width: 1200px) {
  .container {
    padding: 0 60px;
  }

  .attraction-item {
    gap: 60px;
  }
}

@media screen and (max-width: 992px) {
  .container {
    padding: 0 40px;
  }

  /* Header */
  .header-content {
    flex-direction: column;
    gap: 16px;
    padding: 16px 0;
  }

  .logo {
    order: 1;
  }

  nav {
    order: 2;
  }

  nav .nav-menu {
    display: flex;
    justify-content: center;
    gap: 24px;
  }

  nav .nav-menu li a {
    font-size: 14px;
  }

  .mobile-menu-toggle {
    display: none;
  }

  /* Hero Section */
  .hero-content {
    flex-direction: column;
    gap: 32px;
  }

  .hero-title {
    font-size: 32px;
    line-height: 40px;
  }

  .hero-image {
    flex: none;
  }

  .hero-stats {
    gap: 32px;
  }

  /* d-flex-9-1 Section */
  .d-flex-9-1 {
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
  }

  .d-flex-content:first-child,
  .d-flex-content:last-child {
    flex: none;
  }

  /* Section padding */
  section {
    padding: 32px 0;
  }

  /* Tours Section */
  .tours-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .tour-card {
    flex: 0 1 calc(50% - 10px);
    min-height: 480px;
  }

  /* Reviews Section */
  .reviews-content {
    gap: 24px;
    padding: 32px 24px;
  }

  .reviews-title {
    font-size: 24px;
    line-height: 32px;
  }

  .rating-number {
    font-size: 36px;
    line-height: 44px;
  }

  /* Gallery */
  .gallery-images {
    flex-direction: column;
  }

  .gallery-img {
    height: 250px;
  }

  /* Content Grid */
  .content-grid .content-item {
    flex: 1 1 calc(50% - 12px);
    min-width: 250px;
  }

  .content-grid-6 .content-item {
    flex: 1 1 calc(50% - 12px);
    min-width: 250px;
  }

  /* About Section */
  .about-content {
    flex-direction: column;
    gap: 32px;
  }

  .about-text-content {
    max-width: none;
  }

  /* Attractions Layout */
  .attraction-item {
    gap: 60px;
  }



  /* Footer */
  .footer-content {
    flex-direction: column;
    gap: 32px;
  }

  .footer-info {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }

  .footer-section {
    min-width: auto;
  }

  .show-more-btn {
    width: 200px;
  }
}

@media screen and (max-width: 767px) {
  .container {
    padding: 0 20px;
  }

  /* Header */
  .header-content {
    flex-direction: column;
    gap: 12px;
    padding: 12px 0;
    min-height: auto;
  }

  .logo {
    order: 1;
  }

  nav {
    order: 2;
  }

  nav .nav-menu {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
  }

  nav .nav-menu li a {
    font-size: 13px;
    padding: 8px 12px;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .logo-icon {
    height: 28px;
  }

  /* Hero Section */
  .hero-title {
    font-size: 28px;
    line-height: 36px;
  }

  .hero-stats {
    gap: 16px;
  }

  .d-flex-row {
    flex-direction: column;
    gap: 16px;
  }

  .text {
    font-size: 14px;
    line-height: 20px;
  }

  /* d-flex-9-1 Section */
  .d-flex-9-1 {
    flex-direction: column;
    gap: 32px;
    margin-top: 20px;
  }

  .d-flex-content:first-child,
  .d-flex-content:last-child {
    flex: none;
  }

  /* Section padding */
  section {
    padding: 24px 0;
  }

  .section-title {
    font-size: 24px;
    line-height: 32px;
  }

  /* Tours Section */
  .tours-header-content {
    gap: 12px;
  }

  .partner-img {
    height: 32px;
  }

  .tour-card {
    min-height: 420px;
  }

  .tour-image {
    height: 250px;
  }

  .tour-title {
    font-size: 18px;
    line-height: 28px;
  }

  /* Reviews Section */
  .reviews-content {
    padding: 24px 16px;
  }

  .reviews-title {
    font-size: 20px;
    line-height: 28px;
    text-align: left;
  }

  .rating-number {
    font-size: 32px;
    line-height: 40px;
  }

  .review-star {
    width: 24px;
    height: 24px;
  }

  /* Gallery */
  .gallery-img {
    height: 200px;
  }

  /* Content Grid */
  .content-grid .content-item {
    flex: 1 1 100%;
    min-width: auto;
  }

  .content-grid-6 .content-item {
    flex: 1 1 100%;
    min-width: auto;
  }

  .content-item {
    flex-direction: row;
    gap: 12px;
    align-items: flex-start;
  }

  .item-content {
    gap: 8px;
  }

  /* FAQ Section */
  .accordion-item {
    flex-direction: column;
    gap: 8px;
  }

  .accordion-text {
    padding: 12px 0;
  }

  /* About Section */
  .about-content {
    gap: 24px;
  }

  /* Activities Info */
  .activities-info {
    padding: 24px;
    min-height: 160px;
  }

  .activities-title {
    font-size: 20px;
    line-height: 28px;
  }

  /* Attraction Items */
  .attraction-item {
    flex-direction: column;
    gap: 16px;
  }

  .block-image {
    flex: none;
    height: 250px;
  }

  .attraction-title {
    font-size: 18px;
    line-height: 24px;
  }

  .attraction-description {
    font-size: 14px;
    line-height: 20px;
  }



  /* Starting Point */
  .location-instructions {
    font-size: 14px;
    line-height: 20px;
  }

  .location-instructions li {
    margin-left: 8px;
    padding-left: 16px;
  }

  /* Footer */
  .footer-about {
    max-width: none;
  }

  .footer-info {
    gap: 20px;
  }

  .contact-item {
    font-size: 13px;
  }

  .show-more-btn {
    width: 100%;
    max-width: 300px;
  }
}

@media screen and (max-width: 576px) {
  .container {
    padding: 0 16px;
  }

  /* Header */
  nav .nav-menu {
    gap: 12px;
  }

  nav .nav-menu li a {
    font-size: 12px;
    padding: 6px 8px;
  }

  .hero-title {
    font-size: 24px;
    line-height: 32px;
  }

  .hero-image {
    flex: none;
    height: 250px;
    max-height: 250px;
  }

  .section-title {
    font-size: 22px;
    line-height: 30px;
  }

  .partner-img {
    height: 24px;
  }

  .tours-grid {
    flex-direction: column;
  }

  .tour-card {
    min-height: 380px;
  }

  .tour-image {
    height: 180px;
  }

  .reviews-title {
    font-size: 18px;
    line-height: 26px;
  }

  .rating-number {
    font-size: 28px;
    line-height: 36px;
  }
}

/* High DPI/Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-img,
  .tour-img,
  .block-img,
  .gallery-img,
  .about-img,
  .map-img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Focus styles for accessibility */
a:focus-visible,
.accordion-button:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

.map-container {
  height: 450px;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  z-index: 1;
  border: 1px solid var(--border-color);
}

/* Mapbox Custom Controls */
.mapbox-lighting-control {
  padding: 8px !important;
  background: rgba(241, 243, 244, 0.95) !important;
  border-radius: 35px !important;
  box-shadow: 0 4px 12px rgba(26, 77, 58, 0.2) !important;
  border: 1px solid var(--border) !important;
  width: auto !important;
  backdrop-filter: blur(10px) !important;
}

.lighting-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 6px;
}

.lighting-preset {
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50% !important;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--secondary-color);
  padding: 0;
}

.lighting-preset img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.preset-icon {
  width: 22px;
  height: 22px;
  display: block;
}

.lighting-preset.active {
  background-color: var(--accent-color);
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(244, 162, 97, 0.4);
}

.lighting-preset.active:hover {
  background-color: var(--accent-dark) !important;
}

.lighting-preset:not(.active):hover {
  background-color: rgba(26, 77, 58, 0.1);
}

.lighting-preset:not(.active):hover .preset-icon {
  filter: brightness(0.7);
}

.lighting-preset.active .preset-icon {
  filter: brightness(0) invert(1);
}

/* Mapbox popup customization */
.mapboxgl-popup {
  max-width: 250px;
}

.mapboxgl-popup-content {
  padding: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

.mapboxgl-popup-content h3 {
  margin-bottom: 8px;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.mapboxgl-popup-content p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--secondary-color);
}

/* Privacy Policy Styles */
.privacy-policy {
  background-color: var(--background-color);
  padding: 6rem 0;
}

.privacy-content {
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--background-color);
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  padding: 3rem;
}

.privacy-content h1 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  text-align: center;
}

.last-updated {
  text-align: center;
  color: var(--light-text);
  font-style: italic;
  margin-bottom: 3rem;
  font-size: 0.95rem;
}

.privacy-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.privacy-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.privacy-section h2 {
  color: var(--primary-color);
  font-size: 1.6rem;
  margin-bottom: 1rem;
  text-align: left;
}

.privacy-section h3 {
  color: var(--secondary-color);
  font-size: 1.3rem;
  margin: 1.5rem 0 1rem 0;
}

.privacy-section ul {
  margin: 1rem 0;
  padding-left: 0;
  list-style: none;
}

.privacy-section li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.7;
}

.privacy-section li:before {
  content: "•";
  color: var(--accent-color);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.privacy-section p {
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.privacy-section a {
  color: var(--accent-color);
  text-decoration: underline;
  transition: var(--transition);
}

.privacy-section a:hover {
  color: var(--accent-dark);
  text-decoration: none;
}

.contact-details {
  background-color: var(--light-bg);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--accent-color);
  margin-top: 1rem;
}

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

.contact-details p:last-child {
  margin-bottom: 0;
}

.disclaimer {
  background-color: var(--light-bg);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--mediterranean-blue);
}

.disclaimer h2 {
  color: var(--mediterranean-blue);
}

/* Privacy Policy Mobile Responsive */
@media screen and (max-width: 768px) {
  .privacy-policy {
    padding: 4rem 0;
  }

  .privacy-content {
    padding: 2rem;
    margin: 0 1rem;
  }

  .privacy-section h2 {
    font-size: 1.4rem;
  }

  .privacy-section h3 {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 576px) {
  .privacy-content {
    padding: 1.5rem;
  }

  .privacy-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
  }

  .contact-details,
  .disclaimer {
    padding: 1.5rem;
  }
}

/* 404 Error Page Styles */
.btn {
  text-decoration: none;
  padding: 1rem 2.2rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  font-family: "Inter", sans-serif;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 0.95rem;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary-btn {
  background-color: var(--accent-color);
  color: var(--color-white);
  font-weight: 700;
}

.primary-btn:hover {
  background-color: var(--accent-dark);
  color: var(--color-white);
  transform: translateY(-2px);
}

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

.secondary-btn:hover {
  background-color: var(--primary-color);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.error-page {
  background: var(--background-light);
  padding: 6rem 0;
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
}

.error-page__content {
  background-color: var(--color-white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  padding: 4rem 3rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.error-page__content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-color);
}

.error-page__status {
  margin-bottom: 2rem;
}

.error-page__code {
  font-size: 6rem;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
  display: block;
  margin-bottom: 1rem;
}

.error-page__title {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-family: "Inter", sans-serif;
}

.error-page__description {
  color: var(--text-primary);
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.error-page__actions {
  margin-bottom: 3rem;
}

.error-page__home-link {
  min-width: 200px;
  display: inline-block;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 1.2rem 2.5rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.error-page__home-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.error-page__home-link:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

.error-page__suggestions {
  margin-bottom: 3rem;
}

.error-page__subtitle {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  font-family: "Inter", sans-serif;
}

.error-page__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.error-page__links .btn {
  min-width: 140px;
  padding: 0.8rem 1.5rem;
  font-size: 0.95rem;
}

.error-page__help {
  border-top: 1px solid var(--border-color);
  padding-top: 2.5rem;
  margin-top: 2.5rem;
}

.error-page__help-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  font-family: "Inter", sans-serif;
}

.error-page__help-text {
  color: var(--text-primary);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.error-page__help-text a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.error-page__help-text a:hover {
  text-decoration: underline;
  color: var(--accent-color);
}

/* 404 Page Responsive Styles */
@media screen and (max-width: 768px) {
  .error-page {
    padding: 4rem 0;
  }

  .error-page__content {
    padding: 3rem 2rem;
    margin: 0 1rem;
  }

  .error-page__code {
    font-size: 5rem;
  }

  .error-page__title {
    font-size: 2.2rem;
  }

  .error-page__description {
    font-size: 1.1rem;
  }

  .error-page__home-link {
    width: 100%;
    min-width: auto;
  }

  .error-page__links {
    flex-direction: column;
    align-items: center;
  }

  .error-page__links .btn {
    width: 100%;
    max-width: 200px;
  }
}

@media screen and (max-width: 576px) {
  .error-page {
    padding: 3rem 0;
  }

  .error-page__content {
    padding: 2.5rem 1.5rem;
    margin: 0 0.5rem;
  }

  .error-page__code {
    font-size: 4rem;
  }

  .error-page__title {
    font-size: 1.9rem;
  }

  .error-page__description {
    font-size: 1rem;
  }

  .error-page__subtitle {
    font-size: 1.4rem;
  }

  .error-page__help-title {
    font-size: 1.2rem;
  }
}