/* ====================== HERO SECTION ====================== */
.hero-section {
   height: 100vh;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-section h1 {
  font-size: 5rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for better text visibility */
  height: 100%;
  width: 100%;
  justify-content: center;
  align-items: center;
  display: flex;
  color: #fff;
  border-radius: 12px;
}

/* ====================== MAIN LAYOUT ====================== */
.camp-container {
  max-width: 1300px;
  margin: 70px auto;
  padding: 35px;
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 40px;
}

/* ====================== BOOKING BOX - NO STICKY ====================== */
.booking-box {
  background: #fff;
  padding: 30px;
  max-height: max-content;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  margin-top: 20px;
  margin-bottom: 0px;             /* Space from top */
}

/* Selected package button */
.btn-small.selected {
  background: #28a745 !important;
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(40,167,69,0.3);
}

/* ====================== RESPONSIVE - MOBILE ====================== */
@media (max-width: 992px) {
  #header {
    padding: 0px 0 !important;
    min-height: 10px !important;
  }
  .camp-container {
    grid-template-columns: 1fr;
    gap: 40px;
  
  }

  .booking-box {
    margin-top: 0;
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 16px;
  }

  .hero-section h1 {
    font-size: 2.5rem;
  }
}
/* Mobile & Tablet – Booking box appears above testimonials */
@media (max-width: 992px) {
  .camp-container {
    grid-template-columns: 1fr;        /* Stack everything vertically */
    gap: 40px;
    padding: 20px;
    margin: 10px auto;
  }

  /* This is the magic line */
  .booking-box {
    order: -1;               /* Forces booking box to appear FIRST */
    margin: 20px 15px 40px;
    position: static;        /* No sticky */
    max-height: none;
  }

  /* Optional: make testimonials come after booking box */
  .testimonials { order: 1; }
  .conservation { order: 2; }
}

@media (max-width: 576px) {
  .hero-section h1 {
    font-size: 1.8rem;
  }

  .camp-container {
    padding: 15px;
  }
  
}

/* ====================== FORM STYLES ====================== */
.form-group {
  margin-bottom: 16px;
}

label {
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
  color: #333;
}

input,
select {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 1rem;
  transition: border 0.3s;
}

input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(230,126,34,0.2);
}

.total-price {
  font-size: 1rem;
      font-weight: 700;
      color: var(--primary);
      margin-top: 10px;
      text-align: center;
}

.btn-small {
  margin-top: 12px;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-small:hover {
  background: #d35400;
}

.btn-small:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.package-options {
  display: flex;
  gap: 15px;
  margin: 20px 0;
}

.package-box {
  flex: 1;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.package-box:hover {
  transform: translateY(-5px);
}

.package-box h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.package-box p {
  margin: 8px 0;
  font-size: 0.95rem;
}

.package-box p:last-of-type {
  color: #666;
  font-size: 0.88rem;
}

#formError {
  color: #eb2b0d;
  font-size: 0.95rem;
  margin-bottom: 5px;
  text-align: absolute;
  padding: 5px;
  border-radius: 8px;
}

#formError:empty {
  display: none;
}

.btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* ====================== REST OF YOUR STYLES (Gallery, Amenities, etc.) ====================== */
.amenities,
.itinerary,
.testimonials,
.conservation {
  margin-bottom: 0px;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 25px;
  margin-top: 25px;
}

.amenity-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.amenity-item i {
  font-size: 2.2rem;
  color: var(--primary);
}

.itinerary-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 25px;
}

.itinerary-item {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.06);
}

.testimonial-item {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 14px;
  margin-bottom: 30px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.06);
}

.testimonial-rating i {
  color: #f4b400;
  font-size: 1.1rem;
}

.conservation-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 0px;
  align-items: center;
}

.conservation-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Gallery */
.gallery-container {
   position: relative;
   overflow: hidden;
   margin-top: 20px;
}
.camp-gallery {
  display: flex;
  transition: transform 0.5s ease;
}

.camp-gallery img {
      width: 100%;
      height: 450px;
      object-fit: cover;
      background-position: center;
      overflow: hidden;
      background-size: contain;
      border-radius: 10px;
      flex: 0 0 100%;
}

.gallery-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 15px;
}

.gallery-arrow {
  color: #fff;
  padding: 14px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 1.2rem;
  transition: 0.3s;
}

.gallery-arrow:hover {
  background: var(--primary);
}

.gallery-thumbnails {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.gallery-thumbnails img {
  width: 90px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  opacity: 0.7;
  border: 3px solid transparent;
  transition: all 0.3s;
}

.gallery-thumbnails img.active {
  opacity: 1;
  border-color: var(--primary);
}

@media (max-width: 768px) {
  .gallery-controls { display: none; }
  .gallery-thumbnails img { width: 70px; height: 50px; }
  .conservation-content { grid-template-columns: 1fr; }


/* Mobile-specific fix – even better */
@media (max-width: 768px) {
  .hero-section {
    background-repeat: no-repeat !important;
     height: 100vh;
    position: relative;
    overflow: hidden;
    background-size: 100% auto !important;   /* Full width, natural height */
    background-position: center;
    background-attachment: fixed;
    object-fit: cover !important;
}              /* Slightly shorter hero on mobile */
  }

  .camp-gallery img {
    height: 100% !important;              /* Smaller but full image visible */
    object-fit: contain !important;
  }

  .gallery-thumbnails img {
    height: 60px !important;
    object-fit: cover;
  }
}
/* STOP HORIZONTAL SHAKING & SIDE SCROLL ON MOBILE */
html, body {
  overflow-x: hidden !important;     /* Blocks left-right scrolling */
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

* {
  max-width: 100% !important;       /* Nothing can overflow */
  box-sizing: border-box !important;
}

/* Fix common culprits */
.camp-container,
.booking-box,
.gallery-container,
.hero-section,
img {
  max-width: 100% !important;
  overflow: hidden !important;
}

/* Extra safe fix for images */

/* Make sure hero background doesn’t cause overflow */
.hero-section {
  background-size: cover !important;
  background-position: center center !important;
}

/* Mobile-specific – force everything to stay inside screen */
@media (max-width: 768px) {
  body {
    overflow-x: hidden !important;
    position: relative !important;
  }
  
  .camp-container {
    padding: 15px !important;
    margin: 0 !important;
  }
  
  .booking-box {
    margin: 20px 0 !important;
    padding: 20px !important;
  }
}