body {
    /* background-color: #ecdfa1; */
    font-family: 'Vollkorn', serif;
    font-size: 18px;
}

:root {
    --link-color: #fb6c0b;
    --link-underline-color: #fb6c0b;
}

a:not(.social-icons a):not(.btn) {
    color: var(--link-color);
    text-decoration: none;
    position: relative;
    display: inline-block;
}

a:not(.social-icons a):not(.btn)::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--link-underline-color);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

a:not(.social-icons a):not(.btn):hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.social-icons {
    padding-left: 20px;
    /* text-align: center; */
}

.social-icons i {
    font-size: 2.2rem;
    color: #028487;
    display: inline-block;
    transition: transform 0.2s;
}

.social-icons a:hover i {
    color: #fb6c0b;
    transform: scale(1.2);
}

footer {
    --link-color: #fff;
    --link-underline-color: #fff;
    color: #fff;
}

.social-links {
    font-size: 1.2rem;
    display: flex;
    justify-content: flex-end;
}

.social-links a {
    margin-right: 10px;
}

.social-links a:last-child {
    margin-right: 0;
}

.display-5 {
    color: white;
}

.booking-form-card {
    max-width: 800px;
    margin: 0 auto;
}

.booking-form-card .input-group-text {
    background-color: #fff;
}

.form-select {
    font-size: 1.25rem;
}

.addon-card {
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.addon-card:hover {
  border-color: #007bff;
  box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

.addon-card input[type="checkbox"] {
  margin-right: 1rem;
  transform: scale(1.8);
  border: 1px solid #adb5bd;
}

.addon-card label {
  display: flex;
  align-items: center;
  flex-grow: 1;
  cursor: pointer;
}

.addon-card i {
  font-size: 1.5rem;
  margin-right: 0.75rem;
  color: #007bff;
}

.addon-card span {
  flex-grow: 1;
  /* font-weight: bold; */
}

.addon-card .addon-price {
  font-weight: normal;
  /* color: #6c757d; */
}

.addon-card input[type="checkbox"]:checked + label {
  color: #007bff;
}

.form-check-input.is-invalid + .form-check-label {
  color: #dc3545;
}

#itinerary-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.itinerary-card {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  padding: 1rem;
  text-align: center;
  width: 120px;
}

.itinerary-card.itinerary-bookend {
  background-color: #e7f1ff; /* light blue tint */
  border-color: #b6d4fe;     /* matching blue border */
}

.itinerary-card.itinerary-firstday {
  background-color: rgba(251, 108, 11, 0.1); /* brand orange tint */
  border-color: #fb6c0b; /* brand orange border */
}

.itinerary-day {
  font-size: 0.9rem;
  font-weight: bold;
  color: #6c757d;
}

.itinerary-date {
  font-size: 1.5rem;
  font-weight: bold;
}

.itinerary-icon {
  font-size: 2rem;
  margin: 0.5rem 0;
}

.itinerary-title {
  font-size: 0.9rem;
}

.form-check-input[type=radio] {
    border-radius: 50%;
    height: 1.2em;
    width: 1.2em;
    margin-top: 0.1em;
    border: 2px solid #adb5bd;
}

.form-check-input[type=radio]:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.form-check-label {
    padding-left: 0.5em;
}

.tour-thumbnail-container {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 5px;
}

.tour-thumbnail {
    width: 150px;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.2s;
    display: inline-block;
    margin-right: 10px;
}

.tour-thumbnail:last-child {
    margin-right: 0;
}

.tour-thumbnail:hover {
    transform: scale(1.05);
}

.tour-details {
    padding-top: 2rem;
}

.tour-details-section {
    margin-bottom: 2rem;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 0.5rem;
}

.tour-details-heading {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 0.5rem;
}

.tour-details-subheading {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Tours page intro title and subtle reveal */
.tours-intro {
    text-align: center;
    margin-bottom: 2.5rem;
}

.tours-intro .section-heading {
    margin-bottom: 0.5rem;
}

.tours-intro .section-heading::after {
    content: '';
    display: block;
    width: 72px;
    height: 3px;
    background: linear-gradient(90deg, #fb6c0b, #028487);
    margin: 0.75rem auto 0;
    border-radius: 2px;
    opacity: 0.9;
}

.tours-intro p {
    color: #495057;
    max-width: 720px;
    margin: 0 auto;
}

/* Scroll-reveal utility */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 600ms ease-out, transform 600ms ease-out;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll {
        transition: none;
        opacity: 1;
        transform: none;
    }
}

/* Slightly scale heading for smaller screens within the tours intro only */
@media (max-width: 576px) {
    .tours-intro .section-heading .section-heading-lower {
        font-size: 2.25rem;
        line-height: 2.25rem;
    }
    .tours-intro .section-heading .section-heading-upper {
        font-size: 0.9rem;
    }
}

/* Per-tour title above hero and summary */
.tour-title {
    margin-bottom: 1rem;
}

.tour-title .section-heading {
    margin-bottom: 0;
}

.tour-title .section-heading::after {
    content: '';
    display: block;
    width: 64px;
    height: 3px;
    background: linear-gradient(90deg, #fb6c0b, #028487);
    margin: 0.5rem auto 0;
    border-radius: 2px;
    opacity: 0.9;
}

@media (min-width: 992px) {
    .tour-title {
        margin-bottom: 1.25rem;
    }
    /* Align underline with left edge only when explicitly requested */
    .tour-title.align-lg-start .section-heading::after {
        margin-left: 0;
        margin-right: 0;
    }
}

/* Tour item enhancements */
.tour-item {
    margin-bottom: 4rem;
}

.tour-hero-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 0.75rem;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.tour-hero-image a:hover img {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 14px 28px rgba(0,0,0,0.18);
}

.tour-summary {
    background-color: #ecdfa1; /* keep brand tint */
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 0.75rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.tour-pricing-box {
    border: 1px solid #e9ecef;
    border-left: 4px solid var(--link-color);
}

.tour-pricing-box .lead {
    font-weight: 600;
}

.tour-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.card-body {
    display: flex;
    flex-direction: column;
}

.card-text {
    flex-grow: 1;
}

/* Promo tours: natural flow and full-width CTA */
#promo-tours .card-text {
    flex-grow: 0 !important;
}
#promo-tours .btn.btn-custom-orange {
    width: 100%;
    display: block;
}

/* Enhanced select styling for a nicer dropdown appearance */
.select-enhanced {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    border-radius: 0.5rem;
    padding-right: 2.25rem; /* room for arrow */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236c757d'%3E%3Cpath d='M3 6l5 5 5-5H3z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 14px 14px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.select-enhanced:hover {
    border-color: var(--link-color);
}

.select-enhanced:focus {
    border-color: var(--link-color);
    box-shadow: 0 0 0 0.25rem rgba(251, 108, 11, 0.25); /* uses brand orange */
}

/* Compact variant within small input groups */
.input-group-sm .select-enhanced {
    padding-right: 2rem;
    background-size: 12px 12px;
}

/* Ensure the icon + select blend nicely in input groups */
.input-group .form-select.select-enhanced {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Pricing panel styling */
.pricing-panel {
  background: #fff;
  border-radius: 0.75rem;
}

.pricing-summary .display-total {
  font-size: clamp(1.75rem, 2.5vw + 1rem, 2.625rem);
}

.pricing-summary .letter-spaced {
  letter-spacing: 0.08em;
}

.pricing-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(2,132,135,.35), rgba(251,108,11,.35));
  border: none;
  opacity: .9;
}

.pricing-panel .converted {
  opacity: .85;
}

.currency-box {
  border: 1px solid #e9ecef;
}
