/* GLOBAL */
* {
  box-sizing: border-box;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background-color: #ffffff;
  color: #333;
  line-height: 1.6;
}


.headerTurkestan {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: #0b486b;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}


.theme-btn {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.theme-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}


.bg-btn {
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid #ffffff66;
  background: #ffffff1a;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.bg-btn:hover {
  background: #ffffff2a;
  transform: translateY(-1px);
}


.info-section {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 40px 20px;
  background: linear-gradient(180deg, #f2eee9 0%, #c9d6df 100%);
}
.info-box {
  flex: 1 1 240px;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.info-box i {
  font-size: 40px;
  color: #0b486b;
  margin-bottom: 10px;
}


#description {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}
#description h2 {
  color: #0b486b;
  font-size: 28px;
  margin-bottom: 10px;
}
#description p {
  font-size: 18px;
  color: #555;
}


#readMoreBtn {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 18px;
  border-radius: 10px;
  background: #0b486b;
  color: #fff;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
#readMoreBtn:hover {
  background: #0e5c89;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}


.GallerySection {
  text-align: center;
  padding: 40px 20px;
}
.GalleryTitle {
  color: #0b486b;
  font-size: 28px;
  margin-bottom: 20px;
}
.Gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}
.GalleryItem {
  flex: 0 1 calc((100% - 40px) / 3);
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.GalleryItem:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.GalleryItem img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card-body h3 {
  margin: 0;
  font-size: 20px;
  color: #0b486b;
}
.card-body p {
  color: #333;
  font-size: 15px;
}
.btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #0b486b;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.btn:hover {
  background: #0e5c89;
  transform: translateY(-2px);
}


.AttractionsTitle,
.LeftBank,
.RightBank,
.Culture,
.Events {
  max-width: 800px;
  margin: 40px auto 10px;
  padding: 0 20px;
  color: #0b486b;
}
.AttractionsTitle {
  font-size: 28px;
  font-weight: 700;
}
.LeftBank,
.RightBank,
.Culture,
.Events {
  font-size: 22px;
  font-weight: 600;
}
.LeftBankDescription,
.RightBankDescription,
.CultureDescription,
.EventsDescription {
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: 18px;
  color: #555;
  padding: 0 20px;
}


.MapTitle {
  text-align: center;
  color: #0b486b;
  font-size: 28px;
  margin: 40px 0 20px;
}

/* MAP fixed */
.MapContainer {
  width: 100%;
  margin: 0;
  padding: 0;
}
.MapContainer iframe {
  width: 100vw;
  height: 500px;
  display: block;
  border: none;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
}


.FormTitle {
  text-align: center;
  font-size: 28px;
  color: #0b486b;
  margin: 40px 0 10px;
}
.contact-form {
  max-width: 600px;
  margin: 0 auto 40px;
  display: grid;
  gap: 12px;
  padding: 0 20px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-family: inherit;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #0b486b;
  box-shadow: 0 0 0 3px rgba(11, 72, 107, 0.15);
}
.contact-form button {
  background: #0b486b;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.contact-form button:hover {
  background: #0e5c89;
  transform: translateY(-2px);
}


.footer02 {
  background: #0b3a5b;
  color: white;
  text-align: center;
  padding: 20px;
  font-family: "Montserrat", sans-serif;
}
#github02 {
  color: #f8f9fa;
  text-decoration: none;
}
#github02:hover {
  color: #60a5fa;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .headerTurkestan {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 10px 14px;
  }
  .brand {
    justify-content: center;
    width: 100%;
  }
  .main-nav {
    justify-content: center;
    gap: 10px;
  }
  .GalleryItem {
    flex: 1 1 100%;
  }
  .MapContainer iframe {
    height: 360px;
  }
}

/* DARK MODE  */
body.dark-mode {
  background-color: #0f172a;
  color: #f1f5f9;
}

/* Header */
body.dark-mode .headerTurkestan {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
}
body.dark-mode .main-nav a {
  color: #f8fafc;
}
body.dark-mode .main-nav a:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Info section */
body.dark-mode .info-section {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
}
body.dark-mode .info-box {
  background: #1e293b;
  color: #f1f5f9;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
body.dark-mode .info-box i {
  color: #60a5fa;
}

/* Text */
body.dark-mode h2,
body.dark-mode h3 {
  color: #93c5fd;
}
body.dark-mode p,
body.dark-mode li {
  color: #f1f5f9;
}

/* Gallery */
body.dark-mode .GalleryItem {
  background: #1e293b;
  color: #f1f5f9;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Attractions */
body.dark-mode .AttractionsTitle,
body.dark-mode .LeftBank,
body.dark-mode .RightBank,
body.dark-mode .Culture,
body.dark-mode .Events {
  color: #93c5fd;
}
body.dark-mode .LeftBankDescription,
body.dark-mode .RightBankDescription,
body.dark-mode .CultureDescription,
body.dark-mode .EventsDescription {
  color: #f1f5f9;
}

/* Map */
body.dark-mode .MapTitle {
  color: #93c5fd;
}

/* Contact form */
body.dark-mode .FormTitle {
  color: #93c5fd;
}
body.dark-mode .contact-form input,
body.dark-mode .contact-form textarea {
  background: #1e293b;
  color: #f8fafc;
  border-color: #475569;
}
body.dark-mode .contact-form label {
  color: #e2e8f0;
}
body.dark-mode .contact-form button {
  background: #2563eb;
  color: #fff;
}
body.dark-mode .contact-form button:hover {
  background: #1d4ed8;
}

/* Footer */
body.dark-mode .footer02 {
  background: #1e293b;
  color: #f1f5f9;
}
body.dark-mode #github02 {
  color: #60a5fa;
}
body.dark-mode #github02:hover {
  color: #93c5fd;
}

/* Dark Mode Buttons */
body.dark-mode .theme-btn {
  background: #334155;
  border-color: #475569;
  color: #f8fafc;
}
body.dark-mode .theme-btn:hover {
  background: #475569;
}
body.dark-mode .bg-btn {
  background: #334155;
  border-color: #475569;
  color: #f8fafc;
}
body.dark-mode .bg-btn:hover {
  background: #475569;
}

/* FIX: About Turkestan visibility in dark mode */
body.dark-mode #description {
  background: none;
  border-radius: 0;
  padding: 0 20px;
  box-shadow: none;
}
body.dark-mode #description h2 {
  color: #bfdbfe;
}
body.dark-mode #description p {
  color: #f8fafc;
}
