/**
 * GoCTA Frontend Styles
 * @package GoCTA
 */

/* Button Wrapper */
.gocta-button-wrapper {
  margin: 20px 0;
  clear: both;
}

/* Base Button Styles */
.gocta-button {
  padding: 12px 18px;
  margin: 8px;
  font-size: 16px;
  line-height: 1.4;
  border-radius: 6px;
  text-align: left;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease-in-out;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

.gocta-button:active,
.gocta-button:focus {
  outline: 0;
}

.gocta-button:focus,
.gocta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

.gocta-button:active {
  outline: 0;
  transform: translateY(0);
  transition: none;
}

/* Google Play Button */
.gocta-button-google {
  color: #fff;
  background-color: #000;
  border-color: #000;
  padding: 16px 18px 8px 48px;
  position: relative;
  min-width: 180px;
}

.gocta-button-google:focus,
.gocta-button-google:hover {
  color: #fff;
  background-color: #1a1a1a;
  border-color: #1a1a1a;
}

.gocta-button-google:active {
  background-color: #333;
}

.gocta-button-google:before {
  content: "";
  background-image: url(../img/google-play-icon.png);
  background-size: cover;
  background-repeat: no-repeat;
  width: 28px;
  height: 28px;
  position: absolute;
  left: 10px;
  top: 50%;
  margin-top: -14px;
}

.gocta-button-google:after {
  content: "GET IT ON";
  position: absolute;
  top: 6px;
  left: 48px;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* Apple App Store Button */
.gocta-button-apple {
  color: #fff;
  background-color: #000;
  border-color: #000;
  padding: 16px 24px 8px 56px;
  position: relative;
  min-width: 180px;
}

.gocta-button-apple:focus,
.gocta-button-apple:hover {
  color: #fff;
  background-color: #1a1a1a;
  border-color: #1a1a1a;
}

.gocta-button-apple:active {
  background-color: #333;
}

.gocta-button-apple:before {
  content: "";
  background-image: url(../img/app-store-icon.png);
  background-size: cover;
  background-repeat: no-repeat;
  width: 28px;
  height: 28px;
  position: absolute;
  left: 14px;
  top: 50%;
  margin-top: -14px;
}

.gocta-button-apple:after {
  content: "DOWNLOAD ON";
  position: absolute;
  top: 6px;
  left: 56px;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* Combined App Stores Layout */
.gocta-appstores-parent {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 0;
}

.gocta-appstores-child {
  display: inline-block;
}

.gocta-inline-block-stores {
  display: inline-block;
}

/* Responsive Design */
@media (max-width: 600px) {
  .gocta-button {
    font-size: 14px;
    padding: 10px 14px;
    margin: 6px;
  }

  .gocta-button-google,
  .gocta-button-apple {
    min-width: 160px;
    padding: 14px 16px 6px 44px;
  }

  .gocta-button-google:before,
  .gocta-button-apple:before {
    width: 24px;
    height: 24px;
    margin-top: -12px;
  }

  .gocta-button-google:after {
    left: 44px;
    font-size: 8px;
  }

  .gocta-button-apple {
    padding: 14px 20px 6px 50px;
  }

  .gocta-button-apple:after {
    left: 50px;
    font-size: 8px;
  }

  .gocta-appstores-parent {
    flex-direction: column;
  }
}

/* Additional Provider Button Styles */
.wegotrip-btn {
  background: #1ea9b3 !important;
  color: #ffffff !important;
}

.wegotrip-btn:hover {
  background: #1ea9b3 !important;
  color: #ffffff !important;
}

.getrentacar-btn {
  background: #2e3192 !important;
  color: #ffffff !important;
}

.getrentacar-btn:hover {
  background: #1879ca !important;
  color: #ffffff !important;
}

.go12-btn {
  background: #4db84d !important;
  color: #ffffff !important;
}

.go12-btn:hover {
  background: #4db84d !important;
  color: #ffffff !important;
}

.rentalcars-btn {
  background: #2e3192 !important;
}

.rentalcars-btn:hover {
  background: #1879ca !important;
}

.visitorscoverage-btn {
  background: #0066cc !important;
  color: #ffffff !important;
}

.visitorscoverage-btn:hover {
  background: #0052a3 !important;
  color: #ffffff !important;
}

.radicalstorage-btn {
  background: #2c80ed !important;
  color: #ffffff !important;
}

.radicalstorage-btn:hover {
  background: #2c80ed !important;
  color: #ffffff !important;
}

.compensair-btn {
  background: #0a83ba !important;
  color: #ffffff !important;
}

.compensair-btn:hover {
  background: #0a83ba !important;
  color: #ffffff !important;
}

.indrive-btn {
  background: #a7e92f !important;
  color: #000000 !important;
}

.indrive-btn:hover {
  background: #a7e92f !important;
  color: #000000 !important;
}

.nordvpn-btn {
  background: #3e5fff !important;
  color: #ffffff !important;
}

.nordvpn-btn:hover {
  background: #3e5fff !important;
  color: #ffffff !important;
}

.airalo-btn {
  background: #404040 !important;
  color: #ffffff !important;
}

.airalo-btn:hover {
  background: #404040 !important;
  color: #ffffff !important;
}

.saily-btn {
  background: #bd2426 !important;
  color: #ffffff !important;
}

.saily-btn:hover {
  background: #bd2426 !important;
  color: #ffffff !important;
}

.yesim-btn {
  background: #ff7a00 !important;
  color: #ffffff !important;
}

.yesim-btn:hover {
  background: #ff7a00 !important;
  color: #ffffff !important;
}

/* Footer Partner Styles for CTA Buttons */
.footer-partner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 1rem;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.footer-partner-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.footer-partners-logo {
  font-weight: 600;
}

.footer-partner-fw-bold {
  font-weight: 700;
}

.footer-partner-img-fluid {
  max-width: 100%;
  height: auto;
}

.footer-partner-me-2 {
  margin-right: 8px;
}

.flight-shortcode-button {
  width: 100%;
  text-align: center;
}

/* CTA Layout Adjustments */
/* Single item - centered */
.addon-list.gocta-single-item {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.addon-list.gocta-single-item .addon-item {
  max-width: 500px !important;
  width: 100% !important;
}

/* Even number of items - 2 columns on desktop */
.addon-list.gocta-even-items {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 0.5rem !important;
}

/* Odd number of items - 2 columns with last item centered */
.addon-list.gocta-odd-items {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 0.5rem !important;
}

.addon-list.gocta-odd-items .addon-item:last-child:nth-child(odd) {
  grid-column: 1 / -1 !important;
  max-width: 500px !important;
  margin: 0 auto !important;
  width: 100% !important;
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .addon-list.gocta-even-items,
  .addon-list.gocta-odd-items {
    grid-template-columns: 1fr !important;
  }

  .addon-list.gocta-odd-items .addon-item:last-child:nth-child(odd) {
    grid-column: 1 !important;
    max-width: 100% !important;
  }

  .addon-list.gocta-single-item .addon-item {
    max-width: 100% !important;
  }
}
/* Tags/Badges */
.badge {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.4em 0.8em;
  border-radius: 20px;
  background: #e5e9eb;
  color: var(--primary-text);
}

/* Contact Info */
.contact-info i {
  color: var(--secondary-text);
  margin-right: 0.5rem;
}

.contact-info a {
  color: var(--secondary-text);
  text-decoration: none;
}

.contact-info a:hover {
  color: var(--primary-text);
}

.hours {
  color: var(--secondary-text);
}

.hours .open-now {
  color: #28a745;
}
.hours .closing-now {
  color: #db3604;
}

/* Gallery */
.gallery-grid .row {
  margin: -0.5rem;
}

.gallery-grid .col {
  padding: 0.5rem;
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

/* Overview Section */
.overview-section {
  margin-top: 2rem;
}

.overview-section p {
  color: var(--secondary-text);
  line-height: 1.6;
}

/* Attributes */
.attributes i {
  color: var(--secondary-text);
  margin-right: 0.5rem;
}

.attributes span {
  color: var(--secondary-text);
}

.get-directions {
  background: var(--accent-red);
  color: white;
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem;
}

/* Kadence Compatibility */
.site-main {
  padding: 2rem 0;
}

@media (max-width: 768px) {
  .gallery-grid img {
    height: 150px;
  }
  h1 {
    font-size: 2rem;
  }
}

/* Reservation Buttons */
/* a.reservation-link {
border: 2px solid;
}
img.reservation-icon {
    display: inline-block;
}
a.viator-btn {
background: #176B6D!important;
color: #ffffff!important;
border: 2px solid #176B6D!important;
}
a.getyourguide-btn {
background: #f53!important;
color: #ffffff!important;
border: 2px solid #ff5533!important;
}
a.klook-btn {
background: #ff5b00!important;
color: #ffffff!important;
border: 2px solid #ff5b00!important;
}
a.tripcom-btn {
background: #00429b!important;
color: #ffffff!important;
border: 2px solid #496ace!important;
} */
.booking-options-section {
  text-align: center !important;
}
.reservation-link {
  display: inline-flex !important;
  align-items: center !important;
  padding: 10px 20px !important;
  border-radius: 25px !important;
  font-size: 1.1rem !important;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease !important;
  text-decoration: none !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
}
.reservation-link:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
}
.reservation-icon {
  vertical-align: middle !important;
}
.viator-btn {
  background-color: #176b6d !important; /* Viator blue */
}
.viator-btn:hover {
  background-color: #008768 !important;
}
.getyourguide-btn {
  background-color: #ff5533 !important; /* GetYourGuide orange */
  color: #fff !important; /* Dark text for contrast */
}
.getyourguide-btn:hover {
  background-color: #ff2a00 !important;
}
.tripcom-btn {
  background-color: #0078d4 !important; /* Trip.com blue */
}
.tripcom-btn:hover {
  background-color: #0066b3 !important;
}
.klook-btn {
  background-color: #ff6200 !important; /* Klook orange */
}
.klook-btn:hover {
  background-color: #e55700 !important;
}
.discovercars-btn {
  background: #0a578b !important;
}
.discovercars-btn:hover {
  background: #007dc7 !important;
}
.rentalcarscom-btn {
  background: #2e3192 !important;
}
.rentalcarscom-btn:hover {
  background: #1879ca !important;
}
.gocity-btn {
  background: #00626b !important;
  color: #ffffff !important;
}
.gocity-btn:hover {
  background: #002a3a !important;
  color: #ffffff !important;
}
.bookingcom-btn {
  background: #003580 !important;
  color: #ffffff !important;
}
.bookingcom-btn:hover {
  background: #002a3a !important;
  color: #ffffff !important;
}
.agoda-btn {
  background: #ee363f !important;
  color: #ffffff !important;
}
.agoda-btn:hover {
  background: #fcb716 !important;
  color: #ffffff !important;
}
.hostelworld-btn {
  background: #f47853 !important;
  color: #ffffff !important;
}
.hostelworld-btn:hover {
  background: #ffb8a2 !important;
  color: #002a3a !important;
}
.hotellook-btn {
  background: #78ba36 !important;
  color: #ffffff !important;
}
.hotellook-btn:hover {
  background: #313131 !important;
  color: #ffffff !important;
}
.tripadvisor-btn {
  background: #34e0a1 !important;
  color: #000000 !important;
}
.tripadvisor-btn:hover {
  background: #00aa6c !important;
  color: #000000 !important;
}
.traveloka-btn {
  background: #0194f3 !important;
  color: #ffffff !important;
}
.traveloka-btn:hover {
  background: #0d7fcc !important;
  color: #ffffff !important;
}
.expedia-btn {
  background: #f9d836 !important;
  color: #191d3a !important;
}
.expedia-btn:hover {
  background: #f9d836 !important;
  color: #191d3a !important;
}
.aviasales-btn {
  background: #2196f3 !important;
  color: #ffffff !important;
}
.aviasales-btn:hover {
  background: #2196f3 !important;
  color: #ffffff !important;
}
@media (max-width: 768px) {
  .booking-options-section .d-flex {
    flex-direction: column !important;
    align-items: center !important;
  }
  .reservation-link {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
  }
}
.accordion-flush > .accordion-item > .accordion-header .accordion-button,
.accordion-flush
  > .accordion-item
  > .accordion-header
  .accordion-button.collapsed {
  border-radius: 0;
  color: var(--bs-accordion-btn-color) !important;
}

@media (min-width: 640px) {
  .tokyotripguide-hotel-cheapest-rate-wrapper {
    display: block;
    padding: 0;
  }
}
@media (min-width: 768px) {
  .tokyotripguide-hotel-cheapest-rate-wrapper {
    display: block;
  }
}
@media (min-width: 1024px) {
  .tokyotripguide-hotel-cheapest-rate-wrapper {
    border-bottom: none;
  }
}
.iWwa {
  color: #192024;
  padding: 4px 0;
}
.iWwa-container {
  display: flex;
  align-items: center;
  width: 100%;
}
@media (min-width: 640px) {
  .iWwa {
    padding: 8px 0;
  }
}
.iWwa-data-wrapper {
  margin-right: 16px;
}
.iWwa-data-wrapper.iWwa-mod-relative {
  position: relative;
}
.iWwa-data {
  font-weight: 600;
  line-height: 32px;
}
@media (min-width: 1024px) {
  .iWwa-data {
    font-weight: 700;
    line-height: 40px;
  }
}
.iWwa-dataPrefix,
.iWwa-title {
  font-weight: 600;
  line-height: 20px;
}
.iWwa-subtitle {
  font-weight: 400;
  line-height: 20px;
  margin: 0;
}

.same-height-img {
  object-fit: cover;
  height: 275px !important;
}

/* Timeline styling */
.timeline {
  position: relative;
  padding-left: 3rem;
  margin-left: 1rem;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 7px;
  height: 100%;
  width: 2px;
  background-color: #dee2e6;
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item-marker {
  position: absolute;
  left: -3rem;
  width: 1rem;
}

.timeline-item-marker-text {
  position: absolute;
  width: 100px;
  left: -3.5rem;
  top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  transform: translateX(-100%);
  text-align: right;
  padding-right: 0.5rem;
}

.timeline-item-marker-indicator {
  position: absolute;
  left: -0.915rem;
  top: 0.375rem;
}

.timeline-item-content {
  padding-bottom: 0.5rem;
  padding-top: 0.25rem;
}

/* Navigation scroll */
.nav-scroller {
  position: relative;
  z-index: 2;
  overflow-y: hidden;
}

.nav-scroller .nav-link-item {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6c757d;
  transition:
    color 0.15s ease-in-out,
    background-color 0.15s ease-in-out;
}

.nav-scroller .nav-link-item:hover,
.nav-scroller .nav-link-item.active {
  color: #fff;
  background-color: #0d6efd;
}

/* Hero section enhancements */
.itinerary-hero {
  position: relative;
}

.itinerary-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
  z-index: 1;
}

/* Icons and badges */
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}

/* Print styles */
@media print {
  #itinerary-navbar,
  .sticky-top,
  #share,
  .modal {
    display: none !important;
  }

  .container {
    width: 100% !important;
    max-width: 100% !important;
  }

  .timeline::before {
    background-color: #000 !important;
  }

  .card {
    break-inside: avoid;
  }
}

.single-itinerary .breadcrumb-item + .breadcrumb-item::before {
  color: #ffffff !important;
}

/* Container Styles */
.addon-container {
  background: #fff !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  margin: 2rem 0 !important;
}

.addon-content {
  padding: 1.5rem !important;
}

.addon-shadow {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.addon-spacing {
  margin: 2rem 0 !important;
}

/* Title Styles */
.addon-title {
  font-size: 1.25rem !important;
  font-weight: bold !important;
  color: #333 !important;
  margin: 1rem 0 !important;
  text-align: center !important;
}

.addon-title-size {
  font-size: 1.25rem !important;
}

.addon-margin {
  margin-bottom: 1rem !important;
}

/* Divider Styles */
.addon-divider {
  border: 0 !important;
  border-top: 1px solid #e0e0e0 !important;
}

.addon-divider-width {
  width: 25% !important;
  margin-bottom: 1.2rem !important;
}

/* Text Styles */
.addon-text {
  font-size: 0.875rem !important;
  color: #666 !important;
}

.addon-text-small {
  font-size: 0.875rem !important;
  text-align: center !important;
}

/* List Styles */
.addon-list {
  display: grid !important;
  gap: 0.5rem !important;
}

.addon-item {
  background: #f9f9f9 !important;
  border-radius: 6px !important;
  padding: 1rem !important;
  text-decoration: none !important;
  transition: background 0.2s ease !important;
}

.addon-item-interactive:hover {
  background: #f0f0f0 !important;
}

.addon-item-padding {
  padding: 1rem !important;
}

/* Item Content Styles */
.addon-item-flex {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.addon-item-justify {
  justify-content: space-between !important;
}

.addon-item-title {
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  margin: 0 !important;
}

.addon-item-title-size {
  font-size: 1.1rem !important;
}

.addon-item-title-dark {
  color: #222 !important;
}

/* Meta Styles */
.addon-item-meta {
  margin-top: 0.5rem !important;
  display: flex !important;
  align-items: center !important;
}

.addon-item-meta-align {
  align-items: center !important;
}

.addon-item-meta-gap {
  gap: 0.5rem !important;
}

.addon-meta-text {
  font-size: 0.75rem !important;
  margin-left: 5px !important;
}

.addon-meta-weight {
  font-weight: 600 !important;
}

.addon-meta-color {
  color: #777 !important;
}

/* Image Styles */
.addon-image {
  max-width: 100% !important;
  height: auto !important;
}

/* Icon Styles */
.addon-icon {
  margin-right: 0.25rem !important;
}

.addon-icon-success {
  color: #28a745 !important;
}

.addon-icon-danger {
  color: #dc3545 !important;
}

.addon-icon-esim {
  color: #f2695f !important;
}

.addon-icon-primary {
  color: #007bff !important;
}

.addon-icon-warning {
  color: #ffc107 !important;
}

/* Responsive Layout */
@media (min-width: 768px) {
  .addon-list {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }
}

@media (max-width: 767px) {
  .addon-list {
    grid-template-columns: 1fr !important;
    gap: 0.5rem !important;
  }
}
.rentcar-shortcode-button {
  width: 100% !important;
}
