/* =========================
   TOURS CSS
   ========================= */

/* ===== TOUR PAGE BASE ===== */
html,
body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

img,
video,
iframe {
  max-width: 100%;
}

.tour-page {
  background: #fff;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* ===== HERO ===== */
.tour-hero {
  position: relative;
  height: 75vh;
  min-height: 460px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background-size: cover;
  background-position: center 59%;
  overflow: hidden;
  border-radius: 0 0 32px 32px;
}

.tour-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 0 0 32px 32px;
}

.tour-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 0 1.25rem;
  color: #fff;
}

.tour-hero-content h1 {
  font-family: "Permanent Marker", cursive;
  font-size: 3rem;
  line-height: 1.05;
  margin: 0;
}

.tour-hero-content p {
  font-family: "Permanent Marker", cursive;
  font-size: 1.3rem;
  margin-top: 0.9rem;
}

/* ===== MAIN CONTENT ===== */
.tour-main {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
  overflow-x: hidden;
}

.tour-section {
  width: 100%;
  max-width: 100%;
  margin-bottom: 2.5rem;
}

.tour-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.tour-section p {
  font-size: 1rem;
  line-height: 1.8;
  color: #222;
  margin-bottom: 0.9rem;
}

/* ===== TOUR GALLERY TITLE ===== */
.tour-gallery-title {
  text-align: center;
  margin-bottom: 1.6rem;
}

/* ===== DETAILS + PRICE GRID ===== */
.tour-info-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(0, 1.35fr);
  gap: 1.8rem;
  align-items: start;
  width: 100%;
  max-width: 100%;
}

.tour-details-block {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.tour-details-block h2 {
  margin: 0 0 0.8rem 0;
}

.tour-details-list {
  list-style: disc;
  padding-left: 1.2rem;
  margin: 0;
  line-height: 1.9;
}

/* ===== PRICE BOX ===== */
.price-box {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: #f6f6f6;
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
}

.price-strip {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ddd;
}

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

.price-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.6rem 1.5rem;
}

.price-box h2 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 1px;
  font-size: 2rem;
  margin: 0 0 1rem 0;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
}

.price-row + .price-row {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.price-actions {
  width: 100%;
  display: flex;
  margin-top: 0.9rem;
}

.price-view-btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1.2rem;
  border-radius: 999px;
  background: #000;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.price-view-btn:hover {
  transform: translateY(-2px);
  background: #111;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

/* ===== CTA ===== */
.tour-cta {
  display: flex;
  justify-content: center;
}

.tour-back {
  text-decoration: none;
  font-weight: 700;
  color: #000;
  border: 2px solid #000;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
}

.tour-back:hover {
  background: #000;
  color: #fff;
}

/* ===== TOUR SLIDESHOW ===== */
.tour-gallery-section {
  margin-top: 7rem;
}

.tour-slideshow {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  background: #f6f6f6;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.tour-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
}

.tour-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.tour-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.tour-slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.tour-slide-arrow:hover {
  background: rgba(0, 0, 0, 0.65);
}

.tour-slide-arrow.prev {
  left: 1rem;
}

.tour-slide-arrow.next {
  right: 1rem;
}

.tour-slide-dots {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(6px);
}

.tour-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
  padding: 0;
}

.tour-dot.active {
  background: #fff;
  transform: scale(1.25);
}

/* ===== FOOTER ===== */
.site-footer {
  width: 100%;
  max-width: 100%;
  background: #000;
  color: #fff;
  text-align: center;
  padding: 1.5rem 1rem 1.8rem;
  margin-top: 4rem;
  overflow: hidden;
}

.footer-legal {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  line-height: 1.6;
}

.footer-link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

.footer-link:hover {
  text-decoration: underline;
}

/* ===== FOOTER PARTNERS ===== */
.footer-partners {
  width: 100%;
  max-width: 100%;
  text-align: center;
  margin-bottom: 1.2rem;
  overflow: visible;
}

.footer-partners-title {
  font-size: 0.85rem;
  letter-spacing: 1px;
  opacity: 0.7;
  margin: 0 0 0.75rem 0;
}

.footer-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  column-gap: 2rem;
  overflow: visible;
}

.footer-logos a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  overflow: visible;
}

.footer-logos img {
  width: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: block;
}

.footer-logos img[alt="ION"] {
  height: 155px;
}

.footer-logos img[alt="SolarGuard"] {
  height: 72px;
}

.footer-logos img[alt="ROC Bike Customs"] {
  height: 38px;
}

.footer-logos img:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .tour-info-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .tour-details-block {
    align-items: center;
    text-align: center;
  }

  .tour-details-list {
    display: inline-block;
    text-align: left;
    margin: 0 auto;
    padding-left: 0;
    list-style-position: inside;
  }
}

@media (max-width: 700px) {
  html,
  body,
  .tour-page,
  main,
  section,
  .tour-hero,
  .tour-main,
  .tour-section,
  .tour-info-grid,
  .price-box,
  .tour-slideshow,
  .site-footer {
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    touch-action: pan-y;
  }

  .tour-hero {
    height: 65vh;
    min-height: 380px;
    border-radius: 0 0 24px 24px;
  }

  .tour-hero-overlay {
    border-radius: 0 0 24px 24px;
  }

  .tour-hero-content h1 {
    font-size: 2.25rem;
  }

  .tour-hero-content p {
    font-size: 1.05rem;
  }

  .tour-main {
    padding: 2.6rem 1rem 3.5rem;
  }

  .tour-section h2 {
    font-size: 1.55rem;
  }

  .tour-section p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .price-box {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .price-strip {
    width: 100%;
    aspect-ratio: 3 / 2;
  }

  .price-content {
    padding: 1.25rem;
  }

  .price-actions {
    justify-content: center;
  }

  .price-view-btn {
    margin-left: 0;
    width: 100%;
    max-width: 260px;
  }

  .tour-gallery-section {
    margin-top: 4rem;
  }

  .tour-slideshow {
    border-radius: 18px;
  }

  .tour-slide-arrow {
    width: 42px;
    height: 42px;
    font-size: 1.15rem;
  }

  .tour-slide-arrow.prev {
    left: 0.7rem;
  }

  .tour-slide-arrow.next {
    right: 0.7rem;
  }

  .tour-slide-dots {
    bottom: 0.7rem;
    gap: 0.45rem;
    padding: 0.4rem 0.65rem;
  }

  .tour-dot {
    width: 9px;
    height: 9px;
  }

  .footer-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 0.75rem;
    max-width: 100%;
    padding: 0 0.25rem;
  }

  .footer-logos img,
  .footer-logos img[alt="ION"],
  .footer-logos img[alt="SolarGuard"],
  .footer-logos img[alt="ROC Bike Customs"] {
    height: auto;
    max-height: 42px;
    max-width: 92px;
  }

  .footer-logos img[alt="ROC Bike Customs"] {
    max-width: 100px;
  }
}

@media (max-width: 700px) {
  .footer-logos img[alt="ION"] {
    max-height: 66px;
    max-width: 95px;
  }

  .footer-logos img[alt="SolarGuard"] {
    max-height: 40px;
    max-width: 90px;
  }

  .footer-logos img[alt="ROC Bike Customs"] {
    max-height: 34px;
    max-width: 110px;
  }
}

@media (max-width: 600px) {
  .footer-legal .footer-break {
    display: block;
    height: 0;
  }

  .footer-legal .footer-sep {
    display: none;
  }
}

@media (min-width: 601px) {
  .footer-legal .footer-break {
    display: none;
  }

  .footer-legal .footer-sep {
    display: inline;
  }
}

/* ===== FOOTER: REMOVE DOTTED UNDERLINE / FOCUS LINE ===== */
.site-footer,
.site-footer p,
.footer-legal,
.footer-legal span,
.footer-legal a,
.footer-link {
  text-decoration: none !important;
  border-bottom: none !important;
  outline: none;
}

.footer-link:hover {
  text-decoration: underline !important;
}

/* ===== TOUR PAGES: MOBILE FOOTER LOGO INDIVIDUAL SIZES ===== */
@media (max-width: 700px) {
  .site-footer .footer-logos img[alt="ION"] {
    height: 76px !important;
    max-height: none !important;
    max-width: 120px !important;
  }

  .site-footer .footer-logos img[alt="SolarGuard"] {
    height: 50px !important;
    max-height: none !important;
    max-width: 110px !important;
  }

  .site-footer .footer-logos img[alt="ROC Bike Customs"] {
    height: 28px !important;
    max-height: none !important;
    max-width: 120px !important;
  }
}