/* Global Styles */
:root {
  --primary-color: #7c5c28;         /* Medium brown */
  --secondary-color: #bfa16a;       /* Lighter brown */
  --accent-color: #a97c50;          /* Accent brown */
  --text-color: #2d1c08;            /* Dark brown for text */
  --light-text: #6e4f27;            /* Muted brown for secondary text */
  --background-color: #f5e9da;      /* Very light brown */
  --light-bg: #f8f3ec;              /* Lighter brown background */
  --border-color: #e2c9a0;          /* Light brown border */
  --shadow: 0 4px 12px rgba(124, 92, 40, 0.08); /* Brownish shadow */
  --transition: all 0.3s ease;
  --mountain-green: #5a4d14;        /* You can keep this for accents if needed */
  --mountain-blue: #bfa16a;         /* Use as a lighter brown accent */
  --cave-brown: #5a3c15;            /* Deep brown for buttons, accents */
  --cave-blue: #bfa16a;             /* Use as a lighter brown accent */
  --earth-green: #7c5c28;           /* Use as a brown accent */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
  font-family: "Source Sans Pro", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

.container {
  width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Merriweather", serif;
  margin-bottom: 1rem;
  line-height: 1.3;
  color: var(--mountain-green);
}


h1 {
  font-size: 2.8rem;
  font-weight: 700;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 600;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

section {
  padding: 5rem 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  font-family: "Source Sans Pro", sans-serif;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.primary-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--cave-brown));
  color: #fff;
  box-shadow: var(--shadow);
}

.primary-btn:hover {
  background: linear-gradient(135deg, var(--cave-brown), var(--secondary-color));
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 92, 40, 0.15);
}

.secondary-btn {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
}

/* Header Styles */
header {
    position: sticky;
    top: 0;
  background-color: rgba(245, 233, 218, 0.95); /* light brown with opacity */
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  z-index: 1000;
  padding: 1.2rem 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  font-family: "Merriweather", serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--mountain-green);
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-svg {
  background: none;         /* Remove any background */
  height: 55px;             /* Make the logo image bigger */
  width: 80;
  margin-right: 16px;
  display: inline-block;
  vertical-align: middle;
}

.logo span {
  font-size: 0.9rem;
  background: linear-gradient(135deg, var(--accent-color), #b8860b);
  color: var(--mountain-green);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  font-weight: 600;
}

nav ul {
    display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 2.5rem;
}

nav ul li a {
  color: var(--text-color);
    font-weight: 500;
  font-size: 1rem;
  position: relative;
}

nav ul li a:hover {
  color: var(--primary-color);
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: linear-gradient(135deg, var(--accent-color), #b8860b);
  transition: var(--transition);
}

nav ul li a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--light-bg) 0%, #e2c9a0 100%);
  padding: 4rem 0;
  position: relative;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}

.breadcrumbs {
  color: var(--light-text);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.subtitle {
  font-size: 1.3rem;
  color: var(--light-text);
  margin-bottom: 2rem;
  font-style: italic;
}

.hero-meta {
    display: flex;
  margin-top: 2.5rem;
  gap: 2rem;
}

.meta-item {
  background-color: var(--background-color);
  padding: 1.2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  flex: 1;
}

.meta-label {
  font-size: 0.85rem;
  color: var(--light-text);
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.meta-item p {
  font-weight: 600;
  color: var(--mountain-green);
  margin: 0;
  font-size: 1.1rem;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* Tours Section */
.tours {
  background-color: var(--background-color);
}

.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.tour-card {
  background-color: var(--background-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.tour-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.tour-image {
  position: relative;
  overflow: hidden;
}

.tour-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: var(--transition);
}

.tour-card:hover .tour-image img {
  transform: scale(1.05);
}

.rating {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.85rem;
  backdrop-filter: blur(10px);
}

.rating i {
  color: var(--accent-color);
  margin-right: 2px;
}

.tour-content {
  padding: 2rem;
}

.tour-content h3 {
  margin-bottom: 0.8rem;
  color: var(--cave-brown);
}

.tour-content p {
  color: var(--light-text);
  margin-bottom: 1.5rem;
}

.tour-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.tour-features span {
  font-size: 0.8rem;
  background: linear-gradient(135deg, var(--light-bg), #e8e4d6);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  color: var(--primary-color);
  font-weight: 500;
}

.tour-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--cave-brown);
  font-family: "Merriweather", serif;
}

/* About Section */
.about {
  background: linear-gradient(135deg, var(--light-bg) 0%, #e2c9a0 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: center;
}

.about-content h2 {
  text-align: left;
  margin-bottom: 1.5rem;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about-image img {
  border-radius: 12px;
  box-shadow: var(--shadow);
  width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Why Visit Section */
.why-visit {
  background-color: var(--background-color);
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.reason {
  text-align: center;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--background-color), var(--light-bg));
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.reason:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.reason i {
  font-size: 3rem;
  background: linear-gradient(135deg, var(--earth-green), var(--accent-color));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

.reason h3 {
  margin-bottom: 1rem;
  color: var(--cave-brown);
}

.reason p {
  color: var(--light-text);
  line-height: 1.6;
}

/* History Section */
.history {
  background: linear-gradient(135deg, var(--light-bg) 0%, #e2c9a0 100%);
}

.timeline {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem;
  background-color: var(--background-color);
    border-radius: 12px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--earth-green);
}

.timeline p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

.link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  margin-top: 1.5rem;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.link i {
  margin-left: 0.8rem;
  transition: var(--transition);
}

.link:hover i {
  transform: translateX(5px);
}


/* Park Features Section */
.cave-features {
  background-color: var(--background-color);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 3rem;
}


.feature-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: linear-gradient(135deg, var(--background-color), var(--light-bg));
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-highlight:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-highlight:nth-child(even) {
  grid-template-columns: 1fr 1fr;
  direction: rtl;
}

.feature-highlight:nth-child(even) .feature-content {
  direction: ltr;
}

.feature-highlight img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.feature-content {
  padding: 2.5rem;
    display: flex;
    flex-direction: column;
  justify-content: center;
}


.feature-content h3 {
  margin-bottom: 1.2rem;
  color: var(--mountain-green);
}

.feature-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--light-text);
}

/* Visiting Section */
.visiting {
  background: linear-gradient(135deg, var(--light-bg) 0%, #e2c9a0 100%);
}

.visiting-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
}

.visiting-image img {
    border-radius: 12px;
  box-shadow: var(--shadow);
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.visiting-content h2 {
  text-align: left;
  margin-bottom: 1.5rem;
}

.visiting-content ul {
  list-style: none;
  margin-top: 1.5rem;
}

.visiting-content li {
  margin-bottom: 1.2rem;
  padding-left: 2rem;
  position: relative;
  font-size: 1.05rem;
  line-height: 1.6;
}

.visiting-content li:before {
  content: "🏔️";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2rem;
}

/* Map Section */
.map-section {
  background-color: var(--background-color);
  padding: 5rem 0;
}

.map-container {
  height: 450px;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  z-index: 1;
}

/* Mapbox Custom Controls */
.mapbox-lighting-control {
  padding: 8px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  border-radius: 30px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
  border: none !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: #666;
  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: linear-gradient(135deg, var(--primary-color), var(--cave-brown));
  color: white;
  box-shadow: 0 2px 8px rgba(74, 74, 58, 0.3);
}

.lighting-preset:not(.active):hover {
  background-color: rgba(74, 74, 58, 0.1);
}

.lighting-preset:not(.active):hover .preset-icon {
  filter: brightness(0.7);
}

.lighting-preset.active .preset-icon {
  filter: brightness(0) invert(1);
}

/* Map info */
.map-info {
  background: linear-gradient(135deg, var(--background-color), var(--light-bg));
  padding: 2rem;
    border-radius: 12px;
  box-shadow: var(--shadow);
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.map-info p {
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
}

.map-info p:last-child {
  margin-bottom: 0;
}

/* Mapbox popup customization */
.mapboxgl-popup {
  max-width: 250px;
}

.mapboxgl-popup-content {
  padding: 15px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.mapboxgl-popup-content h3 {
  margin-bottom: 8px;
  color: var(--cave-brown);
  font-size: 1.1rem;
}

.mapboxgl-popup-content p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--light-text);
}

/* FAQ Section */
.faq {
  background: linear-gradient(135deg, var(--light-bg) 0%, #e2c9a0 100%);
}

.accordion {
  max-width: 900px;
  margin: 3rem auto 0;
}

.accordion-item {
  background-color: var(--background-color);
  margin-bottom: 1.2rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.accordion-button {
  width: 100%;
  text-align: left;
  background-color: var(--background-color);
  padding: 1.5rem;
  border: none;
  outline: none;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  color: var(--cave-brown);
  transition: var(--transition);
}

.accordion-button:hover {
  background-color: var(--light-bg);
}

.accordion-button:after {
  content: "+";
  font-size: 1.8rem;
  position: absolute;
  right: 1.5rem;
  transition: var(--transition);
  color: var(--primary-color);
  font-weight: 300;
}

.accordion-button.active:after {
  content: "−";
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.5rem;
}

.accordion-content.active {
  max-height: 300px;
  padding: 0 1.5rem 1.5rem;
}

.accordion-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--light-text);
}


/* Footer */
footer {
  background: linear-gradient(135deg, var(--cave-brown), var(--primary-color));
  color: #fff;
  padding: 4rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}


.footer-logo a {
  font-family: "Merriweather", serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  text-decoration: none;
}


.footer-logo span {
  background: linear-gradient(135deg, var(--accent-color), #b8860b);
  color: var(--mountain-green);
}


.footer-about .logo a {
  color: #fff;
}

.footer-about .logo span {
  background: linear-gradient(135deg, var(--accent-color), #b8860b);
  color: var(--mountain-green);
}

.footer-about p {
  color: #ccc;
  line-height: 1.7;
  margin-top: 1rem;
}

footer h3 {
  color: #fff;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.8rem;
  display: inline-block;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 1.1rem;
}

footer h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(135deg, var(--earth-green), var(--accent-color));
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: 0.8rem;
}

footer ul li a {
  color: #ccc;
  transition: var(--transition);
}

footer ul li a:hover {
  color: var(--accent-color);
}

.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 1.2rem;
  color: #ccc;
}

.footer-contact p i {
  margin-right: 1rem;
  color: var(--accent-color);
  width: 20px;
}

.footer-bottom {
    display: flex;
  justify-content: center;
    align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
}

.footer-bottom p {
  margin: 0;
  color: #aaa;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, var(--primary-color), var(--cave-brown));
  color: #fff;
    border-radius: 50%;
    display: flex;
  align-items: center;
    justify-content: center;
  box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
  transition: var(--transition);
  z-index: 1000;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
  background: linear-gradient(135deg, var(--cave-brown), var(--cave-blue));
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(74, 74, 58, 0.3);
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  section {
    padding: 4rem 0;
  }

  .hero .container,
  .about-grid,
  .visiting-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-image {
    order: -1;
  }

  .hero-image img {
    height: 300px;
  }

  .feature-highlight,
  .feature-highlight:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .feature-highlight:nth-child(even) {
    direction: ltr;
  }

  .hero-meta {
    flex-direction: column;
    gap: 1rem;
  }
}

@media screen and (max-width: 768px) {
  header .container {
        flex-direction: column;
    gap: 1rem;
  }

  nav ul {
    justify-content: center;
    flex-wrap: wrap;
  }

  nav ul li {
    margin: 0 1rem;
  }

  h1 {
    font-size: 1.9rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .feature-content,
  .visiting-content {
    padding: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }

  .timeline {
    padding: 2rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.85rem;
  }
}

@media screen and (max-width: 576px) {
  section {
    padding: 3rem 0;
  }

  .container {
    width: 95%;
  }

  .tour-price {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .hero-meta {
    margin-top: 2rem;
  }

  .meta-item {
    padding: 1rem;
  }

  .visiting-content li {
    padding-left: 1.5rem;
  }

  .feature-content {
    padding: 1.5rem;
  }

  .map-container {
    height: 300px;
  }

  .accordion-button {
    padding: 1.2rem;
    font-size: 1rem;
  }

  .accordion-content.active {
    padding: 0 1.2rem 1.2rem;
    }
}
