/* Safari and Hotel Pages Specific Styles */

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/breadcum.jpeg') no-repeat center center;
  background-size: cover;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(138 149 99 / 31%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Breadcrumb */
.breadcrumb {
  background-color: #717e41;
  padding: 10px 35px;
  color: white;
  border-radius: 0;
  margin-bottom: 2rem;
  margin-top: -30px;
}

.breadcrumb-item a {
  color: #ffffff;
  text-decoration: none;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: #ffea85;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: #6c757d;
  max-width: 700px;
  margin: 0 auto;
}

.section-header::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #007bff, #00b4d8);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* Card Styles */
.listing-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  margin-bottom: 2rem;
  background: #fff;
}

.listing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.listing-card-img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.listing-card-img-placeholder {
  height: 200px;
  width: 100%;
  border-radius: 12px 12px 0 0;
}

.listing-card-body {
  padding: 1.5rem;
}

.listing-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.listing-card-text {
  color: #000000;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.listing-card-text strong {
  color: #7c7c7c;
  font-size: 14px;
}

.listing-card-price {
  font-size: 24px;
  font-weight: 700;
  color: #859544;
  margin: 1rem 0;
}

.listing-card-btn {
  background: linear-gradient(135deg, #007bff, #00b4d8);
  border: none;
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  width: 100%;
  text-align: center;
  display: block;
}

.listing-card-btn:hover {
  background: linear-gradient(135deg, #0056b3, #0096c7);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 119, 182, 0.3);
}

/* Detail Page Styles */
.detail-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

.detail-header h1 {
  font-size: 32px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.detail-header .rating {
  color: #ffc107;
  font-size: 12px;
  margin-bottom: 0px;
}

.detail-image {
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.detail-image:hover {
  transform: scale(1.02);
}

.detail-image-placeholder {
  height: 400px;
  width: 100%;
  border-radius: 12px;
  background: linear-gradient(45deg, #717e41, #a8b865);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.detail-info {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
}

.detail-info h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 10px;
}

.detail-info h3:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #007bff, #00b4d8);
  border-radius: 3px;
}

.detail-info-item {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
}

.detail-info-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.detail-info-item strong {
  color: #2c3e50;
  font-weight: 600;
  flex: 1;
}

.detail-info-item span {
  flex: 2;
  text-align: right;
}

.detail-description {
  margin-bottom: 2rem;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
}

.detail-description h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 10px;
}

.detail-description h3:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #007bff, #00b4d8);
  border-radius: 3px;
}

.detail-description p {
  line-height: 1.8;
  color: #555;
  font-size: 1.1rem;
}

.detail-description-text {
  line-height: 1.8;
  color: #555;
  font-size: 1.1rem;
}

.detail-vehicle-types,
.detail-zones,
.detail-timing,
.detail-guidance {
  margin-bottom: 0rem;
  padding: 0px 10px;
  /* background: #fff; */
  /* border-radius: 12px; */
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); */
  /* border: 1px solid #e9ecef;*/
}

.detail-vehicle-types h3,
.detail-zones h3,
.detail-timing h3,
.detail-guidance h3 {
  font-size: 20px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 5px;
}

.detail-vehicle-types h3:after,
.detail-zones h3:after,
.detail-timing h3:after,
.detail-guidance h3:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #007bff, #00b4d8);
  border-radius: 3px;
}

.detail-vehicle-types ul,
.detail-zones ul {
  display: block;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
}

.detail-vehicle-types li,
.detail-zones li {
  padding: 8px 12px;
  background-color: #daec98;
  border-radius: 6px;
  border-left: 7px solid #000000;
  margin-right: 10px;
  width: 250px;
  font-size: 17px;
  font-weight: 600;
}

.detail-amenities {
  margin-bottom: 2rem;
}

.detail-amenities h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1.5rem;
}

.detail-amenities ul {
  list-style: none;
  padding: 0;
}

.detail-amenities li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.detail-amenities li:before {
  content: "✓";
  color: #28a745;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-section {
    height: 50vh;
  }
}

/* Booking Page Background Wrapper */
.booking-page-wrapper {
  min-height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
    url('/images/iwtcab/iwt7.jpeg') center/cover no-repeat fixed;
  position: relative;
  padding: 2rem 0;
}

.booking-page-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(110, 123, 61, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(110, 123, 61, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(110, 123, 61, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.booking-page-wrapper>.container {
  position: relative;
  z-index: 1;
}

/* Booking Form Styles */
.booking-form-container {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  padding: 2.5rem;
  margin-bottom: 3rem;
  border: 2px solid rgba(110, 123, 61, 0.2);
  transition: all 0.3s ease;
}

.booking-form-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border-color: rgba(110, 123, 61, 0.3);
}

.booking-form-header {
  /* margin-bottom: 2rem; */
  text-align: center;
}

.booking-form-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.booking-form-header p {
  color: #6c757d;
  font-size: 1.1rem;
}

.booking-form .form-group {
  margin-bottom: 1.5rem;
}

.booking-form .form-label {
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.booking-form .form-control {
  padding: 0.75rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  transition: all 0.3s ease;
  background-color: #f8fafc;
}

.booking-form .form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
  background-color: #fff;
}

.booking-form .form-control::placeholder {
  color: #94a3b8;
}

.booking-form .btn-primary {
  background: linear-gradient(135deg, #007bff, #00b4d8);
  border: none;
  padding: 0.75rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 1rem;
}

.booking-form .btn-primary:hover {
  background: linear-gradient(135deg, #0056b3, #0096c7);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 119, 182, 0.3);
}

.passenger-form {
  border: 2px dashed #e2e8f0;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.passenger-form h6 {
  color: #2c3e50;
  margin-bottom: 1rem;
}

.remove-passenger {
  position: absolute;
  top: 10px;
  right: 10px;
}

/* Alert Styles */
.alert-info {
  background-color: #dcdcdc;
  border: none;
  border-radius: 8px;
  color: #000000;
  padding: 1.5rem;
  text-align: center;
  font-size: 18px;
}

.alert-info p {
  font-size: 18px;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .listing-card-title {
    font-size: 1.3rem;
  }

  .detail-header h1 {
    font-size: 2rem;
  }

  .detail-info {
    padding: 1.5rem;
  }

  .booking-form-container {
    padding: 1.5rem;
  }

  .detail-description,
  .detail-vehicle-types,
  .detail-zones,
  .detail-timing,
  .detail-guidance {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: 50vh;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 12px;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .listing-card {
    margin-bottom: 1.5rem;
  }

  .listing-card-img {
    height: 180px;
  }

  .detail-header h1 {
    font-size: 1.75rem;
  }

  .detail-info {
    padding: 1rem;
  }

  .booking-form-container {
    padding: 1rem;
  }

  .booking-form-header h2 {
    font-size: 1.75rem;
  }

  .detail-description,
  .detail-vehicle-types,
  .detail-zones,
  .detail-timing,
  .detail-guidance {
    padding: 1rem;
  }

  .detail-info-item {
    flex-direction: column;
  }

  .detail-info-item span {
    text-align: left;
    margin-top: 5px;
  }
}

@media (max-width: 576px) {
  .hero-section {
    height: 40vh;
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .listing-card-img {
    height: 150px;
  }

  .listing-card-body {
    padding: 1rem;
  }

  .detail-header h1 {
    font-size: 1.5rem;
  }

  .booking-form-container {
    padding: 0.75rem;
  }

  .booking-form .form-group {
    margin-bottom: 1rem;
  }

  .booking-form .btn-primary {
    padding: 0.6rem;
  }

  .detail-description,
  .detail-vehicle-types,
  .detail-zones,
  .detail-timing,
  .detail-guidance {
    padding: 0.75rem;
  }

  .detail-vehicle-types ul,
  .detail-zones ul {
    grid-template-columns: 1fr;
  }
}

tbody,
td,
tfoot,
th,
thead,
tr {
  /* border: 1px solid black; */
  border-color: #dadada;
  border-style: solid;
  border-width: 2px;
  padding: 15px;
  background-color: #eeffb0;
}

/* Zone Box Styles - Matching the reference design */
.zone-container {
  max-width: 800px;
  margin: 0 auto;
}

.zone-box {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  margin-bottom: 30px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-right: 15px;
  padding: 0px 0px;
}

.zone-box:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.zone-header {
  background-color: #c9ff13;
  padding: 15px 20px;
  border-bottom: 1px solid #525252;
}

.zone-title {
  font-size: 16px;
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
}

.zone-content {
  padding: 5px 0px;
  background-color: #ffffff;
}

.gate-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.gate-item-new {
  display: flex;
  justify-content: space-between;
  padding: 10px 20px;
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.gate-item-new:hover {
  background-color: #e9ecef;
  border-color: #adb5bd;
  transform: translateX(5px);
}

.gate-name {
  font-size: 14px;
  font-weight: 600;
  color: #495057;
}

.gate-arrow {
  color: #6c757d;
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.gate-item-new:hover .gate-arrow {
  transform: rotate(180deg);
  color: #495057;
}

/* Responsive adjustments for zone boxes */
@media (max-width: 768px) {
  .zone-container {
    max-width: 100%;
  }

  .zone-header {
    padding: 15px 20px;
  }

  .zone-title {
    font-size: 1.3rem;
  }

  .zone-content {
    padding: 15px 20px;
  }

  .gate-item-new {
    padding: 12px 15px;
  }

  .gate-name {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .zone-header {
    padding: 12px 15px;
  }

  .zone-title {
    font-size: 1.2rem;
  }

  .zone-content {
    padding: 12px 15px;
  }

  .gate-item-new {
    padding: 10px 12px;
  }

  .gate-name {
    font-size: 0.9rem;
  }

  .gate-arrow {
    font-size: 0.8rem;
  }
}