@import url(./colorCode/code.css);

.route-section {
  background: #ffffff;
}

/* layout */
.route-container {
  display: flex;
  align-items: stretch;
}

/* LEFT BOX */
.left-box {
  flex: 1;
  overflow: hidden;
  color: #ffffff;
  background-image: url("../assets/route/Yatra Detail_d.webp"); 
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.left-box-inner {
  z-index: 1;
  padding: 32px 24px 32px 24px;
  display: flex;
  flex-direction: column;
}

.route-heading {
  display: inline-block;
  align-self: center;
  background: var(--yellow);
  color: #000000;
  padding: 10px 28px;
  border-radius: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 5%;
}

/* route buttons */
.route-menu {
  list-style: none;
  padding: 0;
  margin: 0 10%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.route-menu li a {
  display: block;
  width: 100%;
  background: var(--white);
  color: var(--orange);
  text-decoration: none;
  padding: 2% 7%;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease,
              background-color 0.15s ease, color 0.15s ease;
}

.route-menu li a:hover,
.route-menu li a:focus {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  color: var(--dark-orange);
}

/* RIGHT BOX */
.right-box {
  flex: 1;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* RESPONSIVE */
@media (max-width: 992px) {
  .route-section {
    /* padding: 40px 0; */
  }

  .route-container {
    flex-direction: column;
  }

  .left-box,
  .right-box {
    min-height: auto;
  }

  .left-box-inner {
    padding: 24px 20px 28px 20px;
  }
}

/* mobile-specific background for left box */
@media (max-width: 768px) {
  .route-heading {
    font-size: 1rem;
  }

  .route-menu li a {
    font-size: 0.95rem;
    padding: 10px 16px;
  }
}