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

body {
  font-family: "Segoe UI", sans-serif;
  background: #f4f6f8;
  color: #222;
  line-height: 1.6;
  transition: background 0.3s, color 0.3s;
}

/* ======= HEADER ======= */
.header {
  text-align: center;
  padding: 40px 20px 20px;
}

.header h1 {
  font-size: 2rem;
  font-weight: bold;
  color: #222;
}

.header p {
  color: #555;
  font-size: 1rem;
  margin-top: 8px;
}

/* ======= TOUR CARDS ======= */
.tour-list {
  max-width: 920px;
  margin: 0 auto;
  padding: 20px;
}

.tour-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  padding: 20px 24px;
  margin-bottom: 25px;
  transition: transform 0.2s ease;
}

.tour-card:hover {
  transform: translateY(-4px);
}

.tour-card h2 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.tour-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 6px;
}

.tour-card button {
  margin-top: 10px;
  padding: 10px 18px;
  background: #0b5fff;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
}

.tour-card button:hover {
  background: #0646c0;
}

/* ======= INFO BOX (Bottom) ======= */
.info-box {
  max-width: 900px;
  margin: 30px auto;
  background: #e6f9fc;
  border-left: 5px solid #25d366;
  padding: 20px 25px;
  border-radius: 12px;
  font-size: 0.95rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.info-box p {
  margin-bottom: 10px;
  color: cornflowerblue;
}

/* ======= DARK MODE ======= */
body.dark {
  background: #121212;
  color: #e0e0e0;
}

body.dark .header h1,
body.dark .header p,
body.dark .tour-card p,
body.dark .tour-card h2 {
  color: #eee;
}

body.dark .tour-card {
  background: #1e1e1e;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.06);
}

body.dark .info-box {
  background: #1b2c2d;
  color: #eee;
  border-left-color: #25d366;
}

/* dark button */
body.dark .tour-card button {
  background-color: #25d366;
}

body.dark .tour-card button:hover {
  background-color: #1c9b52;
}

/* ======= DARK MODE SWITCH (TELEGRAM STYLE) ======= */
.theme-switch-wrapper {
  position: fixed;
  top: 15px;
  right: 20px;
  z-index: 999;
}

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

.theme-switch input {
  display: none;
}

.slider {
  background-color: #ccc;
  border-radius: 34px;
  position: absolute;
  cursor: pointer;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  transition: 0.4s;
}

.slider:before {
  content: "🌙";
  position: absolute;
  height: 24px;
  width: 24px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  text-align: center;
  line-height: 24px;
  font-size: 14px;
  border-radius: 50%;
  transition: 0.4s;
}

.theme-switch input:checked + .slider {
  background-color: #25d366;
}

.theme-switch input:checked + .slider:before {
  transform: translateX(22px);
  content: "☀️";
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}

.whatsapp-float img {
  width: 52px;
  height: 52px;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover img {
  transform: scale(1.1);
}

/* ======= MOBILE STYLES ======= */
@media (max-width: 600px) {
  .header h1 {
    font-size: 1.6rem;
  }

  .tour-card {
    margin: 16px 10px;
    padding: 16px;
  }

  .tour-card h2 {
    font-size: 1.1rem;
  }

  .tour-card button {
    font-size: 0.9rem;
    padding: 10px 14px;
  }

  .info-box {
    margin: 20px 12px;
    font-size: 0.88rem;
  }
}
