html,
body {
  overflow-x: hidden;
}

/* Ticket Details Section */
.ticket-details-section {
  background: white;
  padding: 40px 20px 80px;
  min-height: 70vh;
}

/* Breadcrumb */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  font-size: 12px;
  font-family: "Raleway", sans-serif;
}

.breadcrumb-nav a {
  color: #023047;
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb-nav a:hover {
  color: #29abe2;
}

.breadcrumb-nav span {
  color: #999;
}

.breadcrumb-nav span:last-child {
  color: #023047;
  font-weight: 600;
}

/* Ticket Content Layout */
.ticket-content {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 60px;
  align-items: start;
}

/* New e-commerce style image gallery structure */
/* Left side - Image Gallery */
.ticket-image-container {
  position: sticky;
  top: 100px;
  /* Setting max height to match right content section height */
  display: flex;
  flex-direction: column;
  max-height: fit-content;
}

/* Main Image Display */
.main-image-wrapper {
  width: 100%;
  margin-bottom: 20px;
  overflow: hidden;
  background: #f5f5f5;
  /* Adjusted aspect ratio and added max-height to align with right content */
  max-height: calc(100vh - 300px);
  border: 2px solid #e0e0e0;
}

.ticket-main-image {
  width: 100%;
  height: 100%;
  /* Changed from cover to contain to fit within bounds properly */
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.main-image-wrapper:hover .ticket-main-image {
  transform: scale(1.05);
}

/* Thumbnail Gallery */
.thumbnail-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.thumbnail-item {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #e0e0e0;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #f5f5f5;
}

.thumbnail-item:hover {
  border-color: #29abe2;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(41, 171, 226, 0.3);
}

.thumbnail-item.active {
  border-color: #29abe2;
  border-width: 3px;
  box-shadow: 0 2px 8px rgba(41, 171, 226, 0.4);
}

.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Right side - Details */
.ticket-details {
  padding: 20px 0;
}

.ticket-title {
  font-size: 48px;
  font-weight: 800;
  color: #003d5c;
  margin-bottom: 20px;
  font-family: "Winky Rough", sans-serif;
  text-transform: capitalize;
}

.ticket-description {
  font-size: 18px;
  line-height: 1.8;
  color: #023047;
  font-weight: 400;
  margin-bottom: 25px;
  font-family: "Raleway", sans-serif;
}

/* Price */
.ticket-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 25px;
}

.price-amount {
  font-size: 32px;
  font-weight: 900;
  color: #023047;
  font-family: "Raleway", sans-serif;
}

.price-per {
  font-size: 16px;
  color: #999;
  font-family: "Raleway", sans-serif;
}

/* Quantity Selector */
.quantity-selector {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 30px;
  width: fit-content;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  overflow: hidden;
  background: white;
}

.qty-btn {
  background: white;
  border: none;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #023047;
  cursor: pointer;
  transition: all 0.3s;
}

.qty-btn:hover {
  background: #29abe2;
  color: white;
}

.qty-input {
  width: 70px;
  height: 50px;
  border: none;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: #023047;
  outline: none;
  font-family: "Raleway", sans-serif;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Accordion */
.ticket-accordion {
  margin-bottom: 30px;
}

.accordion-item {
  border-bottom: 1px solid #e0e0e0;
}

.accordion-button {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 18px;
  font-weight: 400;
  color: #023047;
  text-align: left;
  transition: all 0.3s;
  font-family: "Raleway", sans-serif;
}

.accordion-button:hover {
  color: #29abe2;
}

.accordion-button i {
  font-size: 14px;
  transition: transform 0.3s;
}

.accordion-button.active i {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-content.active {
  max-height: 500px;
  padding-bottom: 20px;
}

.accordion-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.accordion-content ul li {
  padding: 8px 0;
  color: #023047;
  font-size: 14px;
  line-height: 1.6;
  font-family: "Raleway", sans-serif;
}

.accordion-content p {
  color: #023047;
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
  font-family: "Raleway", sans-serif;
}

/* Updated button to "Book Now" with proper styling */
.btn-book-now {
  background: #bd3257;
  color: white;
  border: none;
  padding: 16px 0;
  width: 100%;
  border-radius: 30px;
  font-weight: 700;
  font-size: 16px;
  text-transform: capitalize;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(189, 50, 87, 0.3);
  font-family: "Raleway", sans-serif;
}

.btn-book-now:hover {
  background: #a02847;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(189, 50, 87, 0.4);
}

/* Added booking modal styles matching contact form */
/* Booking Modal Styles */
.booking-modal-content {
  background: white;
  border-radius: 30px;
  border: none;
  padding: 20px;
}

.booking-modal-content .modal-header {
  padding: 10px 10px 0;
}

.booking-modal-content .btn-close-white {
  opacity: 1;
  filter: brightness(1);
}

.booking-modal-content .modal-body {
  padding: 30px 40px 40px;
}

.booking-form-title {
  font-family: "Winky Rough", cursive;
  font-size: 36px;
  color: #023047;
  text-align: center;
  margin-bottom: 35px;
  font-weight: 700;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.booking-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.booking-form-group label {
  font-family: "Raleway", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #023047;
}

.booking-form-group input,
.booking-form-group select {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 15px;
  color: #023047;
  font-size: 15px;
  font-family: "Raleway", sans-serif;
}

.booking-form-group input::placeholder {
  color: #999;
}

.booking-form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23023047' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.booking-form-group select option {
  background: white;
  color: #023047;
  padding: 10px;
}

.booking-submit-btn {
  background: #bd3257;
  box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
  color: white;
  border: none;
  padding: 12px 40px;
  border-radius: 25px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  align-self: center;
  margin-top: 15px;
  font-family: "Winky Rough", cursive;
  transition: all 0.3s;
}

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

/* Responsive adjustments for modal */
@media (max-width: 576px) {
  .booking-modal-content .modal-body {
    padding: 20px 20px 30px;
  }

  .booking-form-title {
    font-size: 28px;
    margin-bottom: 25px;
  }

  .booking-form {
    gap: 20px;
  }
}

/* --- Polaroid Pinboard Rides Section --- */

.rides-polaroid-section {
  background: #f9f9f9; /* Light background to make photos pop */
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

/* Optional: faint pattern for the "wall" texture */
.rides-polaroid-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: radial-gradient(#e0e0e0 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.5;
  pointer-events: none;
}

.polaroid-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px; /* Space between polaroids */
  padding: 20px;
}

.polaroid-card {
  background: white;
  padding: 15px 15px 25px 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  width: 350px;
  max-width: 100%;
  height: fit-content;
  transform-origin: center top;
  cursor: pointer;
}

/* --- The "Washi Tape" Effect --- */
.polaroid-card::after {
  content: "";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 35px;
  background-color: rgba(235, 33, 39, 0.8); /* Default Red */
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  z-index: 10;
  clip-path: polygon(2% 0, 98% 0, 100% 100%, 0 100%); /* Jagged/Tape look */
  opacity: 0.9;
}

/* Cycle Brand Colors for the Tape */
.polaroid-card:nth-child(4n+1)::after { background-color: var(--red); transform: translateX(-50%) rotate(-2deg); }
.polaroid-card:nth-child(4n+2)::after { background-color: var(--blue); transform: translateX(-50%) rotate(1deg); }
.polaroid-card:nth-child(4n+3)::after { background-color: var(--green); transform: translateX(-50%) rotate(-1deg); }
.polaroid-card:nth-child(4n+4)::after { background-color: var(--yellow); transform: translateX(-50%) rotate(2deg); }

/* --- Random Rotations for the "Messy Wall" Look --- */
.polaroid-card:nth-child(odd) {
  transform: rotate(-3deg);
  margin-top: 10px;
}

.polaroid-card:nth-child(even) {
  transform: rotate(2deg);
  margin-top: -10px;
}

/* --- Hover Effect: Straighten & Pop --- */
.polaroid-card:hover {
  transform: rotate(0deg) scale(1.05) translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  z-index: 20;
}

/* --- Image Styling --- */
.polaroid-img-wrapper {
  width: 100%;
  height: 280px; /* Standard height for consistency */
  overflow: hidden;
  background: #eee;
  margin-bottom: 20px;
  position: relative;
  border: 1px solid #eee; /* Slight border definition */
}

/* Special height for the Tall/Vertical images to fit better */
.polaroid-card.vertical-ride .polaroid-img-wrapper {
  height: 380px; /* Taller frame for vertical rides */
}

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

.polaroid-card:hover .polaroid-img-wrapper img {
  transform: scale(1.1); /* Subtle zoom inside frame */
}

/* --- Caption Styling --- */
.polaroid-caption {
  text-align: center;
  padding: 0 10px;
}

.polaroid-caption h3 {
  font-family: "Winky Rough", cursive; /* Brand Font */
  font-size: 32px;
  color: var(--dark-gray);
  margin-bottom: 8px;
  line-height: 1;
}

.polaroid-caption p {
  font-family: "Raleway", sans-serif; /* "Handwritten" feel body font */
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* --- Responsive --- */
@media (max-width: 992px) {
  /* Reduce rotation on tablet to save space */
  .polaroid-card:nth-child(odd),
  .polaroid-card:nth-child(even) {
    transform: rotate(0);
    margin-top: 0;
  }
  
  .polaroid-card:hover {
    transform: translateY(-5px);
  }
}

@media (max-width: 576px) {
  .rides-polaroid-section {
    padding: 60px 0;
  }
  
  .polaroid-card {
    width: 100%;
    max-width: 380px;
  }
  
  /* On mobile, let's keep heights consistent */
  .polaroid-card.vertical-ride .polaroid-img-wrapper {
    height: 300px; 
  }
}

/* Gallery Section */
.gallery-section {
  background: #fafafa;
  padding: 80px 0;
}

.gallery-title {
  font-size: 42px;
  font-weight: 900;
  color: #003d5c;
  margin-bottom: 50px;
  font-family: "Winky Rough", sans-serif;
  text-transform: capitalize;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.gallery-item {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

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

.gallery-large {
  grid-column: 1 / -1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-large img {
  height: 400px;
}

.gallery-small img {
  height: 300px;
}

/* Responsive */
@media (max-width: 992px) {
  .ticket-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ticket-image-container {
    position: relative;
    top: 0;
  }

  .ticket-title {
    font-size: 32px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-large {
    grid-column: 1;
  }
}

@media (max-width: 768px) {
  .thumbnail-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {
  .ticket-title {
    font-size: 28px;
  }

  .price-amount {
    font-size: 24px;
  }

  .gallery-large img {
    height: 250px;
  }

  .gallery-small img {
    height: 200px;
  }

  .thumbnail-gallery {
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
  }
}

/* Bottom Banner Section */
.bottom-banner-section {
  background: #6d0e27;
  position: relative;
  padding-bottom: 80px;
}

.bottom-diagonal-banner {
  background: linear-gradient(90deg, #bd3257 0%, #bd3257 100%);
  padding: 25px 0;
  overflow: hidden;
  position: relative;
  border-top: 2px solid #eddb13;
  border-bottom: 2px solid #eddb13;
  margin: -10px 0 60px;
  width: 105%;
  margin-left: -2.5%;
}

.banner-text-scroll-bottom {
  display: flex; /* Added from update */
  white-space: nowrap;
  animation: scrollText 30s linear infinite;
}

.banner-text-scroll-bottom span {
  font-family: "Winky Rough", cursive;
  font-size: 32px;
  font-weight: 700;
  font-style: italic;
  color: #eddb13;
  padding-right: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Added keyframes animation for infinite horizontal scroll */
@keyframes scrollText {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.33%);
  }
}

/* Replaced info-cards carousel section with contact page testimonial styles */

/* Testimonials Section - Contact Page Style */
.testimonials-section {
  background: #6d0e27;
  padding: 80px 20px 100px;
  position: relative;
  overflow: hidden;
}

.testimonials-container {
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonials-title {
  font-family: "Winky Rough", cursive;
  font-size: 48px;
  color: white;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  text-transform: uppercase;
}

.testimonials-subtitle {
  font-size: 16px;
  color: white;
  text-align: center;
  margin-bottom: 60px;
  opacity: 0.9;
  font-family: "Raleway", sans-serif;
}

.testimonials-carousel {
  display: flex;
  gap: 40px;
  margin-bottom: 50px;
  transition: transform 0.5s ease-in-out;
}

.testimonial-card {
  background: rgba(139, 35, 50, 0.8);
  border-radius: 20px;
  padding: 35px 30px;
  box-shadow: 8px 8px 0px rgba(255, 107, 107, 0.4);
  flex: 0 0 calc(33.333% - 27px);
  min-width: calc(33.333% - 27px);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  flex-shrink: 0;
}

.testimonial-info {
  flex: 1;
}

.testimonial-name {
  font-family: "Raleway", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin-bottom: 2px;
}

.testimonial-location {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.testimonial-rating {
  font-size: 20px;
  font-weight: 700;
  color: white;
}

.testimonial-text {
  font-size: 15px;
  color: white;
  line-height: 1.7;
  opacity: 0.95;
  font-family: "Raleway", sans-serif;
}

/* Carousel Controls */
.carousel-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.carousel-dots {
  display: flex;
  gap: 12px;
  align-items: center;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  width: 40px;
  border-radius: 10px;
  background: white;
}

.carousel-arrows {
  display: flex;
  gap: 15px;
}

.arrow-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid white;
  background: transparent;
  color: white;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.arrow-btn:hover {
  background: white;
  color: #6d0e27;
}

/* Testimonials Responsive */
@media (max-width: 1024px) {
  .testimonials-carousel {
    gap: 30px;
  }

  .testimonial-card {
    flex: 0 0 calc(50% - 15px);
    min-width: calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  .testimonials-title {
    font-size: 36px;
  }

  .testimonials-carousel {
    gap: 20px;
  }

  .testimonial-card {
    flex: 0 0 100%;
    min-width: 100%;
  }
}

@media (max-width: 480px) {
  .testimonials-section {
    padding: 60px 15px 80px;
  }

  .testimonials-title {
    font-size: 28px;
  }

  .testimonial-card {
    padding: 25px 20px;
  }

  .carousel-controls {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 992px) {
  .info-card {
    flex: 0 0 calc(50% - 20px); /* Show 2 cards on tablet */
    min-width: calc(50% - 20px);
  }

  .info-section-title {
    font-size: 48px;
  }
}

@media (max-width: 768px) {
  .attractions-title {
    font-size: 60px;
  }

  .title-star {
    width: 140px;
    height: 140px;
  }

  .banner-text-scroll span,
  .banner-text-scroll-bottom span {
    font-size: 32px;
  }

  .attraction-heading {
    font-size: 42px;
  }

  .attraction-description {
    font-size: 14px;
  }

  .attraction-images-dual {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .info-section-title {
    font-size: 42px;
  }

  .info-card-title {
    font-size: 24px;
  }
  .info-card {
    flex: 0 0 100%; /* Show 1 card on mobile */
    min-width: 100%;
  }
}

@media (max-width: 480px) {
  .attractions-title {
    font-size: 45px;
  }

  .title-star {
    width: 110px;
    height: 110px;
  }

  .attraction-heading {
    font-size: 32px;
  }

  .banner-text-scroll span,
  .banner-text-scroll-bottom span {
    font-size: 18px;
  }

  .info-section-title {
    font-size: 32px;
  }
}
