/* Global Styles */
:root {
  --color-primary: #047857;
  --color-secondary: #1e40af;
  --color-accent: #f59e0b;
  --color-neutral: #92400e;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-accent: #f0f7fd;
  --border-color: #e5e7eb;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
  --transition: all 0.2s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-secondary);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  margin-bottom: 1rem;
  line-height: 1.3;
  color: var(--color-primary);
}

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(--color-secondary);
  transition: var(--transition);
}

a:hover {
  color: var(--color-primary);
}

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: "Inter", sans-serif;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.primary-btn {
  background-color: var(--color-primary);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.primary-btn:hover {
  background-color: #035f45;
  color: #ffffff;
}

.secondary-btn {
  background-color: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}

.secondary-btn:hover {
  background-color: var(--color-secondary);
  color: #ffffff;
}

/* Header Styles */
header {
  position: sticky;
  top: 0;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  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 {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-icon {
  width: 30px;
  height: 30px;
  margin-right: 6px;
}

.logo-text {
  display: flex;
  justify-content: center;
  line-height: 1.3;
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
}

.logo-accent {
  color: var(--color-primary);
  font-weight: 400;
  font-style: italic;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 2.5rem;
}

nav ul li a {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
}

nav ul li a:hover {
  color: var(--color-secondary);
}

nav ul li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--color-accent);
  transition: var(--transition);
}

nav ul li a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  background-color: var(--bg-secondary);
  padding: 4rem 0;
  position: relative;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}

.breadcrumbs {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.subtitle {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-style: italic;
}

.hero-meta {
  display: flex;
  margin-top: 2.5rem;
  gap: 2rem;
}

.meta-item {
  background-color: var(--bg-primary);
  padding: 1.2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  flex: 1;
}

.meta-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.meta-item p {
  font-weight: 600;
  color: var(--color-primary);
  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(--bg-primary);
}

.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.tour-card {
  background-color: var(--bg-primary);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s ease;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tour-image {
  position: relative;
  overflow: hidden;
}

.tour-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.tour-type {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background-color: var(--color-secondary);
  color: var(--bg-primary);
  padding: 0.5rem 1.2rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.tour-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tour-content h3 {
  margin-bottom: 0.8rem;
  color: var(--color-neutral);
}

.tour-content p {
  color: var(--text-secondary);
  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-color: var(--bg-accent);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  color: var(--color-secondary);
  font-weight: 500;
}

.tour-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-neutral);
  font-family: "Playfair Display", serif;
}

.booking-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.booking-provider {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-style: italic;
  text-align: left;
  display: block;
}

/* About Section */
.about {
  background-color: var(--bg-secondary);
}

.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(--bg-primary);
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.reason {
  text-align: center;
  padding: 2.5rem;
  background-color: var(--bg-primary);
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.reason:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(26, 54, 93, 0.15);
}

.reason i {
  font-size: 3rem;
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
}

.reason h3 {
  margin-bottom: 1rem;
  color: var(--color-neutral);
}

.reason p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* History Section */
.history {
  background-color: var(--bg-secondary);
}

.timeline {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem;
  background-color: var(--bg-primary);
  border-radius: 12px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--color-primary);
}

.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(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.link i {
  margin-left: 0.8rem;
  transition: var(--transition);
}

.link:hover {
  color: var(--color-secondary);
}

.link:hover i {
  color: var(--color-secondary);
}

/* Landmarks Section */
.landmarks {
  background-color: var(--bg-primary);
}

.landmarks-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.landmark-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background-color: var(--bg-primary);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: box-shadow 0.2s ease;
}

.landmark-highlight:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.landmark-highlight:nth-child(even) {
  grid-template-columns: 1fr 1fr;
  direction: rtl;
}

.landmark-highlight:nth-child(even) .landmark-content {
  direction: ltr;
}

.landmark-highlight img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.landmark-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.landmark-content h3 {
  margin-bottom: 1.2rem;
  color: var(--color-primary);
}

.landmark-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Visiting Section */
.visiting {
  background-color: var(--bg-secondary);
}

.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: "✓";
  color: var(--color-accent);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-size: 1.3rem;
}

/* Map Section */
.map-section {
  background-color: var(--bg-primary);
  padding: 5rem 0;
}

.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(255, 255, 255, 0.95) !important;
  border-radius: 30px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  border: none !important;
  width: auto !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: background-color 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-color: var(--color-secondary);
  color: white;
  box-shadow: 0 2px 4px rgba(30, 64, 175, 0.2);
}

.lighting-preset.active:hover {
  background-color: var(--color-secondary) !important;
}

.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-color: var(--bg-primary);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid var(--border-color);
}

.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);
  border: 1px solid var(--border-color);
}

.mapboxgl-popup-content h3 {
  margin-bottom: 8px;
  color: var(--color-neutral);
  font-size: 1.1rem;
}

.mapboxgl-popup-content p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* FAQ Section */
.faq {
  background-color: var(--bg-secondary);
}

.accordion {
  max-width: 900px;
  margin: 2rem auto 0;
}

.accordion-item {
  background-color: var(--bg-primary);
  margin-bottom: 1rem;
  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(--bg-primary);
  padding: 1.5rem;
  border: none;
  outline: none;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  color: var(--color-neutral);
  transition: background-color 0.2s ease;
  line-height: 1.5;
}

.accordion-button:hover {
  background-color: var(--bg-accent);
}

.accordion-button:after {
  content: "+";
  font-size: 1.8rem;
  position: absolute;
  right: 1.5rem;
  transition: transform 0.2s ease;
  color: var(--color-secondary);
  font-weight: 300;
  top: 50%;
  transform: translateY(-50%);
}

.accordion-button.active:after {
  content: "−";
  transform: rotate(180deg) translateY(50%);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s 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(--text-secondary);
}

/* Footer */
footer {
  background-color: var(--color-primary);
  color: var(--bg-primary);
  padding: 4rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-about .logo {
  margin-bottom: 1.5rem;
}

.footer-about .logo-text {
  color: var(--bg-primary);
}

.footer-about .logo-accent {
  color: var(--color-accent);
}

.footer-about p {
  color: var(--bg-primary);
  line-height: 1.7;
  margin-top: 1rem;
  opacity: 0.9;
}

footer h3 {
  color: var(--bg-primary);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.8rem;
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
}

footer h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background-color: var(--color-accent);
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: 0.8rem;
}

footer ul li a {
  color: var(--bg-primary);
  opacity: 0.9;
  transition: color 0.2s ease, opacity 0.2s ease;
}

footer ul li a:hover {
  color: var(--color-accent);
  opacity: 1;
}

.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 1.2rem;
  color: var(--bg-primary);
  opacity: 0.9;
}

.footer-contact p i {
  margin-right: 1rem;
  color: var(--color-accent);
  width: 20px;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.95rem;
}

.footer-bottom p {
  margin: 0;
  color: var(--bg-primary);
  opacity: 0.8;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 55px;
  height: 55px;
  background-color: var(--color-secondary);
  color: var(--bg-primary);
  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-color: #162e7e;
  color: var(--bg-primary);
}

.back-to-top-icon {
  width: 20px;
  height: 20px;
}

/* 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;
  }

  .landmark-highlight,
  .landmark-highlight:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .landmark-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;
  }

  .landmark-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-info {
    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;
  }

  .landmark-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;
  }
}

.footer-link {
  color: var(--bg-primary);
}

