/* Booking Form Overlay */
.booking-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.booking-overlay.active {
    opacity: 1;
    visibility: visible;
}

.booking-form-container {
    background: var(--white);
    border-radius: 20px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(145, 0, 75, 0.3);
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}

.booking-overlay.active .booking-form-container {
    transform: translateY(0);
}

.booking-form-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: var(--white);
    padding: 2rem;
    border-radius: 20px 20px 0 0;
    position: relative;
    text-align: center;
}

.booking-form-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.booking-form {
    padding: 2rem;
}

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

.booking-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.booking-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.booking-form input,
.booking-form select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--secondary-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: var(--white);
}

.booking-form input:focus,
.booking-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(145, 0, 75, 0.1);
}

.pay-now-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pay-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(145, 0, 75, 0.3);
}


/* sleek form  */

/* --- AVAILABILITY FORM STYLING --- */

.availability-section {
  background-color: #fff;
  padding: 60px 40px;
  text-align: center;
}

.availability-section .section-title {
  margin-bottom: 20px;
  font-size: 28px;
  color: #333;
}

.availability-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.availability-form .form-group {
  flex: 1 1 160px;
  min-width: 160px;
  max-width: 200px;
}

.availability-form select,
.availability-form input[type="date"],
.availability-form input[type="number"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(145, 0, 75, 0.3);
  /* border-radius: 3px; */
  /* font-size: 14px; */
  text-transform: uppercase;
}

.availability-form .submit-btn {
  padding: 10px 16px;
  background-color: #444;
  color: white;
  border: none;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
}

.availability-form .submit-btn:hover {
  background-color: #000;
}


/* --- BOOKING POPUP / MODAL --- */

/* Hidden by default */
.booking-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  overflow-y: auto;
  transition: opacity 0.3s ease;
}

/* Booking form container */
.booking-form-container {
  background: #fff;
  width: 90%;
  max-width: 500px;
  margin: 100px auto;
  padding: 30px 25px;
  border-radius: 10px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.5s ease-in-out;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Show overlay and trigger animation */
.booking-overlay.show {
  display: block;
}

/* Slide-in active */
.booking-overlay.show .booking-form-container {
  transform: translateY(0);
  opacity: 1;
}

/* Optional: Close Button */
.booking-form-container .close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 20px;
  cursor: pointer;
  color: #888;
  transition: color 0.3s ease;
}

.booking-form-container .close-btn:hover {
  color: #000;
}


/* Form Animations */
.booking-form .form-group {
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.5s ease forwards;
}

.booking-form .form-group:nth-child(1) { animation-delay: 0.1s; }
.booking-form .form-group:nth-child(2) { animation-delay: 0.2s; }
.booking-form .form-group:nth-child(3) { animation-delay: 0.3s; }
.booking-form .form-group:nth-child(4) { animation-delay: 0.4s; }
.booking-form .form-group:nth-child(5) { animation-delay: 0.5s; }
.booking-form .form-group:nth-child(6) { animation-delay: 0.6s; }

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Success Message */
.success-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .booking-form-container {
        width: 95%;
        margin: 20px;
    }
    
    .booking-form-header {
        padding: 1.5rem;
    }
    
    .booking-form-header h2 {
        font-size: 1.5rem;
    }
    
    .booking-form {
        padding: 1.5rem;
    }
    
    .booking-form .form-row {
        grid-template-columns: 1fr;
    }
}


/* Checkout page  */

    .bookingpage {
      background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
      background-size: cover;
      background-position: center;
      background-attachment: fixed;
      color: #333;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 20px;
    }

    /* Hero Section */
    .hero {
      height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: #fff;
      position: relative;
      padding: 0 2rem;
    }

    .hero::after {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.5);
    }

    .hero-content {
      position: relative;
      z-index: 1;
    }

    .hero h1 {
      font-size: 3.5rem;
      color: #fff;
      margin-bottom: 1.5rem;
      text-transform: uppercase;
      letter-spacing: 1px;
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .hero h1.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .hero p {
      font-size: 1.3rem;
      margin-bottom: 2rem;
      max-width: 600px;
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
    }

    .hero p.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .btn-book {
      padding: 1rem 2.5rem;
      background: #91004B;
      color: #fff;
      font-size: 1.2rem;
      font-weight: 500;
      text-decoration: none;
      border-radius: 30px;
      transition: background 0.3s ease, transform 0.3s ease;
    }

    .btn-book:hover {
      background: #7A003F;
      transform: scale(1.05);
    }

    /* Resorts Section */
    .resorts-section {
      padding: 80px 20px;
      background: rgba(255, 255, 255, 0.5);
      border-radius: 16px;
      margin: 40px 0;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    .resorts-section h2 {
      font-size: 2.5rem;
      color: #91004B;
      text-align: center;
      margin-bottom: 2rem;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .resorts-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 20px;
    }

    .resort-item {
      text-align: center;
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.5s ease, transform 0.5s ease;
    }

    .resort-item.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .res resorts-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 20px;
    }

    .resort-image {
      width: 100%;
      height: 200px;
      background-size: cover;
      background-position: center;
      border-radius: 12px;
      cursor: pointer;
      position: relative;
      transition: transform 0.3s ease;
    }

    .resort-image:hover {
      transform: scale(1.05);
    }

    .resort-image::before {
      content: '';
      position: absolute;
      inset: 0;
      /* background: rgba(145, 0, 75, 0.3); */
      transition: background 0.3s ease;
    }

    .resort-image:hover::before {
      /* background: rgba(145, 0, 75, 0.5); */
    }

    .resort-item h3 {
      font-size: 1.5rem;
      color: #91004B;
      margin-bottom: 0.5rem;
    }

    .resort-item p {
      font-size: 1rem;
      color: #333;
      line-height: 1.5;
    }

    /* Lightbox */
    .lightbox {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.8);
      align-items: center;
      justify-content: center;
      z-index: 1000;
    }

    .lightbox img {
      max-width: 90%;
      max-height: 90%;
      border-radius: 12px;
    }

    .lightbox-close {
      position: absolute;
      top: 20px;
      right: 20px;
      color: #fff;
      font-size: 2rem;
      cursor: pointer;
      transition: color 0.3s ease;
    }

    .lightbox-close:hover {
      color: #91004B;
    }

    /* Booking Section */
    .booking-section {
      padding: 80px 20px;
      background: rgba(255, 255, 255, 0.5);
      border-radius: 16px;
      margin: 40px 0;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    .booking-content {
      max-width: 900px;
      margin: auto;
      padding: 3rem;
      border-radius: 20px;
      backdrop-filter: blur(10px);
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    }

    .booking-content h2 {
      font-size: 2.5rem;
      color: #91004B;
      text-align: center;
      margin-bottom: 2rem;
      text-transform: uppercase;
    }

    .booking-content form {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
    }

    .form-group {
      display: flex;
      flex-direction: column;
    }

    .form-group label {
      font-weight: 500;
      margin-bottom: 0.5rem;
      color: #333;
    }

    .form-group input,
    .form-group select {
      padding: 12px;
      border-radius: 10px;
      border: 1px solid #ccc;
      font-size: 1rem;
      transition: border-color 0.3s ease;
    }

    .form-group input:focus,
    .form-group select:focus {
      border-color: #91004B;
      outline: none;
    }

    .form-group.full {
      grid-column: span 2;
    }

    .pay-btn {
      margin-top: 2rem;
      padding: 1rem;
      width: 100%;
      font-size: 1.2rem;
      background: #91004B;
      color: #fff;
      border: none;
      border-radius: 30px;
      cursor: pointer;
      transition: background 0.3s ease, box-shadow 0.3s ease;
    }

    .pay-btn:hover {
      background: #7A003F;
      box-shadow: 0 10px 25px rgba(145, 0, 75, 0.4);
    }


        
/* Overlay Background */
.book-now-modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
}

.book-now-modal.show {
  display: flex;
}

.modal-content {
  background: #fff;
  width: 90%;
  max-width: 900px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.close-btn {
  position: absolute;
  top: 10px; right: 20px;
  font-size: 28px;
  cursor: pointer;
}

.booknow-container {
  display: flex;
  flex-wrap: wrap;
}

.booknow-left {
  flex: 1;
  background-color: #f9f9f9;
  padding: 20px;
  text-align: center;
}

.booknow-left img {
  width: 150px;
  margin-bottom: 25px;
  margin-top: 10px;
}

.booknow-right {
  flex: 1;
  padding: 30px;
  background-color: #fff0f5;
}

.booknow-right h2 {
  margin-bottom: 20px;
  color: #800020;
}

.booknow-right form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.booknow-right input,
.booknow-right button {
  padding: 10px;
  border: none;
  border-radius: 5px;
}

.booknow-right button {
  background-color: #800020;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}
.resort-description {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .booknow-container {
    flex-direction: column;
  }
}

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
  }

  .booking-wrapper {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
      url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #333;
  }

  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }

  /* Hero Section */
  .hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    padding: 0 2rem;
  }

  .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
  }

  .hero-content {
    position: relative;
    z-index: 1;
  }

  .hero h1 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

  .hero h1.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 600px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
  }

  .hero p.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .btn-book {
    padding: 1rem 2.5rem;
    background: #91004B;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 30px;
    transition: background 0.3s ease, transform 0.3s ease;
  }

  .btn-book:hover {
    background: #7A003F;
    transform: scale(1.05);
  }

  /* Resorts Section */
  .resorts-section {
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    margin: 40px 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }

  .resorts-section h2 {
    font-size: 2.5rem;
    color: #91004B;
    text-align: center;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .resorts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
  }

  .resort-item {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  .resort-item.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .resort-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease;
    margin-bottom: 3rem;
  }

  .resort-image:hover {
    transform: scale(1.05);
  }

  .resort-image::before {
    content: '';
    position: absolute;
    inset: 0;
    /* background: rgba(145, 0, 75, 0.3); */
    transition: background 0.3s ease;
  }

  .resort-image:hover::before {
    /* background: rgba(145, 0, 75, 0.5); */
  }

  .resort-item h3 {
    font-size: 1.5rem;
    color: #91004B;
    margin-bottom: 0.5rem;
  }

  .resort-item p {
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
  }

  /* Lightbox */
  .lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
    z-index: 1000;
  }

  .lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
  }

  .lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
  }

  .lightbox-close:hover {
    color: #91004B;
  }

   .resort-checkout {
    padding: 60px 0;
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #333;
  }
  .resort-checkout .checkout-header h1 {
    font-size: 2.5rem;
    color: #91004B;
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInDown 1s ease forwards;
  }
  .resort-checkout .checkout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
  }
  .resort-checkout .form-section, 
  .resort-checkout .summary-section {
    background: rgba(255,255,255,0.5);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  }
  .resort-checkout h2 { color: #91004B; }
  .resort-checkout .form-group {
    margin-bottom: 20px;
  }
  .resort-checkout .form-group input,
  .resort-checkout .form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
  }
  .resort-checkout .payment-options {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }
  .resort-checkout .payment-option {
    flex: 1;
    padding: 10px;
    background: #f0f0f0;
    border: 2px solid transparent;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
  }
  .resort-checkout .payment-option.active,
  .resort-checkout .payment-option:hover {
    background: #91004B;
    color: #fff;
    border-color: #7A003F;
  }
  .resort-checkout .payment-details { display: none; }
  .resort-checkout .payment-details.active { display: block; }
  .resort-checkout .summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
  }
  .resort-checkout .summary-total {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    border-top: 1px solid #ccc;
    padding-top: 10px;
  }
  .resort-checkout .confirm-btn {
    width: 100%;
    padding: 15px;
    background: #91004B;
    color: #fff;
    border: none;
    border-radius: 30px;
    margin-top: 20px;
    cursor: pointer;
  }
  @media (max-width: 768px) {
    .resort-checkout .checkout-grid { grid-template-columns: 1fr; }
  }

  @media (max-width: 768px) {
    .hero h1 {
      font-size: 2.5rem;
    }

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

    .resorts-section h2,
    .booking-content h2 {
      font-size: 2rem;
    }

    .resort-image {
      height: 150px;
    }

    .resort-item h3 {
      font-size: 1.3rem;
    }

    .booking-content form {
      grid-template-columns: 1fr;
    }

    .form-group.full {
      grid-column: span 1;
    }
  }


    @media (max-width: 768px) {
      .hero h1 {
        font-size: 2.5rem;
      }

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

      .resorts-section h2,
      .booking-content h2 {
        font-size: 2rem;
      }

      .resort-image {
        height: 150px;
      }

      .resort-item h3 {
        font-size: 1.3rem;
      }

      .booking-content form {
        grid-template-columns: 1fr;
      }

      .form-group.full {
        grid-column: span 1;
      }
    }

