/* Goa Page Specific Styles */

/* Override body background for Goa page */
body {
  background-color: #faf7f2;
}

/* Hero Slider */
.hero-slider {
  position: relative;
  width: 100%;
  height: 91vh;
  overflow: hidden;
}

.slides {
  display: flex;
  height: 100%;
  transition: transform 1s ease-in-out;
}

.slides img {
  width: 100vw;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.15));
  z-index: 1;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  z-index: 2;
  padding: 20px 40px;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}

.hero-text h1 {
  font-size: 3rem;
  font-family: 'Playfair Display', serif;
  letter-spacing: 2px;
  text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

/* ==============================
   GOA PACKAGES SECTION
   ============================== */

.goa-packages {
  max-width: 1150px;
  margin: 40px auto 100px;
  text-align: center;
  padding: 60px 20px;
}

.goa-packages h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #a66a2c;
  margin-bottom: 50px;
  position: relative;
}

.package-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.package-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  width: 340px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  border: 2px solid #f3e1cf;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.package-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

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

.package-card .content {
  padding: 25px 20px 35px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 240px;
}

.package-card h3 {
  font-family: 'Kalam', cursive;
  color: #a66a2c;
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.package-card p {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: #555;
  flex-grow: 1;
  margin-bottom: 25px;
}

/* Button Group */
.button-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: auto;
}

.book-btn {
  display: inline-block;
  flex: 1;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 25px;
  border-radius: 25px;
  transition: all 0.3s ease;
  cursor: pointer;
  background-color: #a66a2c;
  color: #fff !important;
  border: 2px solid #a66a2c;
}

.book-btn:hover {
  background-color: #8b5523;
  border-color: #8b5523;
}

/* ==============================
   MODAL POPUPS
   ============================== */

/* Modal Popup */
.modal {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 30px;
  border-radius: 15px;
  width: 90%;
  max-width: 700px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  position: relative;
  z-index: 100000;
}

.close {
  color: #999;
  float: right;
  font-size: 32px;
  font-weight: bold;
  line-height: 20px;
  cursor: pointer;
  transition: color 0.3s;
  position: relative;
  z-index: 10;
}

.close:hover {
  color: #a66a2c;
}

/* Itinerary Details */
#itineraryDetails h2 {
  color: #a66a2c;
  font-family: 'Playfair Display', serif;
  margin-bottom: 20px;
  margin-top: 0;
}

#itineraryDetails h4 {
  color: #8b5523;
  font-family: 'Kalam', cursive;
  margin-top: 25px;
  margin-bottom: 12px;
  font-size: 1.3rem;
}

#itineraryDetails p {
  line-height: 1.7;
  margin-bottom: 10px;
  color: #555;
}

#itineraryDetails strong {
  color: #333;
}

/* Booking Form Modal with Background Image */
.booking-form-modal {
  max-width: 600px;
  max-height: 85vh;
  overflow-y: auto !important;
  position: relative;
   display: block;
}

.booking-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: blur(8px);
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}
/* Make close button work */
.booking-form-modal .close {
  position: absolute;
  top: 10px;
  right: 15px;
  z-index: 99999;
  cursor: pointer;
  color: #333;
}
.booking-form-modal .close:hover {
  color: #a66a2c;
}

.booking-form-modal h2,
.booking-form-modal form {
  position: relative;
  z-index: 1;
}

.booking-form-modal h2 {
  color: #a66a2c;
  font-family: 'Playfair Display', serif;
  margin-bottom: 25px;
  margin-top: 0;
  text-shadow: 0 1px 3px rgba(255,255,255,0.8);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.3s;
  background-color: rgba(255, 255, 255, 0.95);
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #a66a2c;
  box-shadow: 0 0 0 3px rgba(166, 106, 44, 0.1);
  background-color: #fff;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 20px;
}

.form-row .form-group {
  margin-bottom: 0;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.submit-btn {
  width: 100%;
  background-color: #a66a2c;
  color: #fff;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  font-family: 'Poppins', sans-serif;
  position: relative;
  z-index: 1;
}

.submit-btn:hover {
  background-color: #8b5523;
}

/* ==============================
   RESPONSIVE DESIGN
   ============================== */

@media (max-width: 900px) {
  .hero-text h1 {
    font-size: 2rem;
  }
  .hero-slider {
    height: 75vh;
  }
  .package-card {
    width: 90%;
  }
  .goa-packages {
    margin: 60px 10px;
    padding: 40px 10px;
  }
  .goa-packages h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 10% auto;
    padding: 20px;
    max-height: 90vh;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .booking-form-modal {
    width: 95%;
    padding: 20px;
    max-height: 90vh;
  }
}
