/* Page header with parallax effect */
.page-header {
  position: relative;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-header-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  transform: scale(1.1);
}

.page-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0,0,0,.4) 0%, rgba(0,0,0,.7) 100%);
  z-index: -1;
}

.page-header-content {
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
  margin-top: 70px;
}

.page-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
  color: var(--text);
}

.package-kicker {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 1rem;
}

/* Package details section */
.package-details {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.package-description h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--gold);
}

.package-description p {
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-list {
  margin: 2rem 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.feature-icon {
  color: var(--gold);
  font-size: 1.2rem;
  margin-right: 1rem;
  margin-top: 0.2rem;
}

.feature-text h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.feature-text p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Itinerary section */
.itinerary {
  margin-top: 3rem;
}

.itinerary h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--gold);
}

.itinerary-day {
  margin-bottom: 2.5rem;
  position: relative;
  padding-left: 2rem;
}

.itinerary-day::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

.itinerary-day:last-child::before {
  background: var(--gold);
}

.day-number {
  position: absolute;
  left: -15px;
  top: 0;
  width: 30px;
  height: 30px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
  color: #0F0F0F;
}

.itinerary-day h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.itinerary-day p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.activity {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.activity-time {
  min-width: 80px;
  color: var(--gold);
  font-weight: 500;
}

.activity-details {
  flex: 1;
}

/* Booking sidebar */
.booking-sidebar {
  height: fit-content;
  background: rgba(30, 30, 30, 0.6);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid rgba(255,255,255,.08);
  position: sticky;
  top: 100px;
  backdrop-filter: blur(10px);
}

.package-price {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.price-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

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

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

.booking-form input,
.booking-form select {
  width: 100%;
  padding: 0.8rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
}

.booking-form input:focus,
.booking-form select:focus {
  outline: none;
  border-color: var(--gold);
}

.booking-btn {
  background: linear-gradient(to right, var(--gold), var(--gold-2));
  color: #0F0F0F;
  font-weight: 600;
  border: none;
  width: 100%;
  padding: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  font-size: 1rem;
  margin-top: 1rem;
}

.booking-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.3);
}

/* Photo gallery */
.gallery-section {
  margin-top: 5rem;
}

.gallery-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--gold);
  text-align: center;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  height: 250px;
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Similar packages section */
.similar-packages {
  margin-top: 5rem;
}

.similar-packages h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--gold);
  text-align: center;
}

.package-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.package-card {
  background: rgba(30, 30, 30, 0.6);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,.08);
}

.package-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.package-card-image {
  height: 200px;
  position: relative;
}

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

.package-card-content {
  padding: 1.5rem;
}

.package-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.package-card-price {
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1rem;
}

.package-card-description {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.package-card-btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: linear-gradient(to right, var(--gold), var(--gold-2));
  color: #0F0F0F;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.package-card-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,.3);
}

/* Testimonials */
.testimonials {
  margin-top: 5rem;
  text-align: center;
}

.testimonials h2 {
  font-size: 2rem;
  margin-bottom: 3rem;
  color: var(--gold);
}

.testimonial-item {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(30, 30, 30, 0.6);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.08);
  position: relative;
}

.testimonial-item::before {
  content: '"';
  position: absolute;
  top: -30px;
  left: 30px;
  font-size: 5rem;
  font-family: serif;
  color: var(--gold);
  opacity: 0.5;
}

.testimonial-quote {
  font-style: italic;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.author-info p {
  color: var(--gold);
  font-size: 0.9rem;
}

/* Responsive styles */
@media (max-width: 768px) {
  .package-details {
    grid-template-columns: 1fr;
  }
  
  .booking-sidebar {
    position: static;
    margin-top: 2rem;
  }
  
  .page-header {
    height: 50vh;
  }
}

/* ======= Calendar styles ======= */
.calendar-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(21,21,21,.95);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  padding: 1.5rem;
  overflow: hidden;
  display: none;
  z-index: 1000;
  width: min(500px, 90%);
  box-shadow: 0 15px 40px rgba(0,0,0,.6);
  animation: fadeIn .3s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, -48%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.calendar-nav {
  display: flex;
  gap: 8px;
}
.calendar-nav button {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--text);
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.calendar-nav button:hover {
  background: rgba(255,255,255,.2);
}
.calendar-month {
  font-weight: 500;
  letter-spacing: 0.05em;
  font-size: 1.2rem;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  text-align: center;
}
.calendar-day-name {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  padding: 0.5rem 0;
}
.calendar-date {
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}
.calendar-date:hover:not(.disabled):not(.booked) {
  background: rgba(255,255,255,.1);
}
.calendar-date.today {
  background: rgba(200,169,104,.15);
  border: 1px solid rgba(200,169,104,.3);
}
.calendar-date.selected {
  background: rgba(200,169,104,.35);
  color: #fff;
}
.calendar-date.disabled {
  color: rgba(255,255,255,.2);
  cursor: default;
}
.calendar-date.booked {
  color: var(--muted);
  cursor: not-allowed;
}
.calendar-date.booked::after {
  content: "×";
  position: absolute;
  font-size: 1.5rem;
  color: rgba(255, 80, 80, 0.7);
  font-weight: 700;
}
.calendar-date.in-range {
  background: rgba(200,169,104,.15);
}
.calendar-date.checkin {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.calendar-date.checkout {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.booking-toggle {
  text-align: center;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--gold);
  font-size: 0.85rem;
  transition: all 0.2s ease;
  width: 100%;
  display: block;
}
.booking-toggle:hover {
  text-decoration: underline;
  color: var(--text);
}

@media (max-width: 480px) {
  .itinerary-day {
    padding-left: 1.5rem;
  }
  
  .activity {
    flex-direction: column;
  }
  
  .activity-time {
    margin-bottom: 0.5rem;
  }
}