/* ============================================================
   Custom design enhancements — Shree Swaminarayan Hawaiyatra
   Loaded after main.css; overrides & additions only.
   ============================================================ */

/* ---------- Hero: readability overlay + CTA buttons ---------- */
.hero-4 .hero-items {
    position: relative;
}
.hero-4 .hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(12, 12, 36, 0.62) 0%, rgba(12, 12, 36, 0.28) 55%, rgba(12, 12, 36, 0.05) 100%);
    pointer-events: none;
}
.hero-4 .container {
    position: relative;
    z-index: 2;
}
.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 34px;
}
.hero-btns .theme-btn.outline {
    background: transparent;
    border: 2px solid #fff;
}
.hero-btns .theme-btn.outline:hover {
    background: #fff;
    color: #191d3a;
}

/* ---------- Tour cards: hover zoom, badge, view button ---------- */
.tour-box-items .thumb,
.tour-card-item .tour-image {
    position: relative;
    overflow: hidden;
}
.tour-box-items .thumb img,
.tour-card-item .tour-image img,
.trending-destinations-card-items .destinations-img img {
    transition: transform 0.55s ease;
}
.tour-box-items:hover .thumb img,
.tour-card-item:hover .tour-image img,
.trending-destinations-card-items:hover .destinations-img > img {
    transform: scale(1.08);
}
.discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: #e8092e;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    padding: 5px 13px;
    border-radius: 30px;
    box-shadow: 0 3px 10px rgba(232, 9, 46, 0.35);
}
.tour-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #4d40ca;
    transition: gap 0.25s ease, color 0.25s ease;
}
.tour-view-btn:hover {
    color: #191d3a;
    gap: 12px;
}

/* ---------- Tour detail: pricing table + meals strip ---------- */
.tour-route-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #f4f3fc;
    border-left: 4px solid #4d40ca;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 22px;
    font-weight: 600;
    color: #191d3a;
}
.tour-route-line i {
    color: #4d40ca;
    margin-top: 4px;
}
.pax-price-card {
    border: 1px solid #ecebf7;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}
.pax-price-card .head {
    background: #4d40ca;
    color: #fff;
    padding: 12px 18px;
    font-weight: 600;
}
.pax-price-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}
.pax-price-table th,
.pax-price-table td {
    padding: 12px 18px;
    border-top: 1px solid #ecebf7;
    font-size: 0.95rem;
}
.pax-price-table thead th {
    border-top: 0;
    background: #f8f7fd;
    color: #191d3a;
    font-weight: 600;
}
.pax-price-table td.price {
    font-weight: 700;
    color: #4d40ca;
    white-space: nowrap;
}
.pax-price-table tbody tr:hover {
    background: #fbfaff;
}
.meals-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 26px;
}
.meals-strip .pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eefaf1;
    color: #1d7a3d;
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: 30px;
    padding: 8px 16px;
}
.meals-strip .pill.stay {
    background: #f4f3fc;
    color: #4d40ca;
}
.meals-strip .pill i {
    font-size: 0.95rem;
}

/* ---------- Itinerary accordion polish ---------- */
.faq-items .accordion-button {
    display: flex;
    align-items: center;
}
.faq-items .day-badge {
    flex-shrink: 0;
    background: #4d40ca;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 30px;
    padding: 5px 14px;
    margin-right: 12px;
    white-space: nowrap;
}
.faq-items .accordion-button.collapsed .day-badge {
    background: #ecebf7;
    color: #4d40ca;
}

/* ---------- Sticky mobile booking bar ---------- */
.mobile-book-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    background: #fff;
    box-shadow: 0 -4px 18px rgba(25, 29, 58, 0.16);
    padding: 10px 16px;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.mobile-book-bar .price small {
    display: block;
    color: #6c6f80;
    font-size: 0.72rem;
    line-height: 1;
}
.mobile-book-bar .price strong {
    color: #4d40ca;
    font-size: 1.15rem;
}
.mobile-book-bar .price del {
    color: #a0a3b1;
    font-size: 0.82rem;
    margin-left: 6px;
}
.mobile-book-bar .theme-btn {
    padding: 10px 22px;
    white-space: nowrap;
}
@media (max-width: 991.98px) {
    .mobile-book-bar {
        display: flex;
    }
    body.has-book-bar {
        padding-bottom: 66px;
    }
    body.has-book-bar .float-contact {
        bottom: 84px;
    }
}

/* ---------- Floating WhatsApp / Call buttons ---------- */
.float-contact {
    position: fixed;
    right: 18px;
    bottom: 24px;
    z-index: 1029;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.float-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 1.45rem;
    box-shadow: 0 6px 18px rgba(25, 29, 58, 0.28);
    transition: transform 0.25s ease;
}
.float-btn:hover {
    transform: translateY(-3px) scale(1.05);
}
.float-btn.wa {
    background: #25d366;
}
.float-btn.call {
    background: #4d40ca;
}
@media (max-width: 991.98px) {
    #back-top {
        display: none !important;
    }
}

/* ---------- Forms: validation + feedback ---------- */
.form-clt input.is-invalid,
.form-clt textarea.is-invalid {
    border-color: #dc3545 !important;
}
.field-error {
    display: block;
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 5px;
}
.form-messages.alert-style {
    border-radius: 8px;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 0.9rem;
}
.form-messages.alert-style.text-success {
    background: #eefaf1;
    color: #1d7a3d !important;
}
.form-messages.alert-style.text-danger {
    background: #fdecee;
    color: #c22437 !important;
}
.theme-btn[disabled] {
    opacity: 0.65;
    pointer-events: none;
}
/* honeypot */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

/* ---------- Equal-height tour cards (grid + listing) ---------- */
.tour-section .row {
    row-gap: 30px;
}
.tour-section .row > [class*="col-"] {
    display: flex;
}
.tour-box-items {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 0 !important;
}
.tour-box-items .thumb {
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
}
.tour-box-items .thumb a {
    display: block;
    width: 100%;
    height: 100%;
}
.tour-box-items .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}
.tour-box-items .content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
/* Keep the divider + duration + View Details grouped at the bottom,
   so leftover space sits between the price and the meta block. */
.tour-box-items .content .list {
    margin-top: auto;
    width: 100%;
}
.tour-box-items .content .tour-view-btn {
    margin-top: 0;
    padding-top: 12px;
}

/* ---------- Uniform destination / service cards ----------
   Any image size the admin uploads is cropped to a consistent frame. */
.trending-destinations .row {
    row-gap: 30px;
}
.trending-destinations-card-items {
    margin-top: 0 !important;
    height: 100%;
}
.trending-destinations-card-items .destinations-img {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.trending-destinations-card-items .destinations-img > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* ---------- Equal-height featured "Hot Deals" slider cards ---------- */
.tour-slider .swiper-wrapper {
    align-items: stretch;
}
.tour-slider .swiper-slide {
    height: auto;
}
.tour-slider .tour-card-item {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.tour-slider .tour-card-item .tour-image {
    aspect-ratio: 4 / 3;
    flex-shrink: 0;
}
.tour-slider .tour-card-item .tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}
.tour-slider .tour-card-item .tour-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.tour-slider .tour-card-item .tour-content .list {
    margin-top: auto;
}

/* ---------- Contact page: quick cards, hours, framed map ---------- */
.quick-card {
    background: #fff;
    border: 1px solid #ecebf7;
    border-radius: 16px;
    padding: 28px 22px 24px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 6px 20px rgba(25, 29, 58, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.quick-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 34px rgba(25, 29, 58, 0.12);
}
.quick-card .q-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #f4f3fc;
    color: #4d40ca;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
}
.quick-card .q-icon.wa {
    background: #eafaf0;
    color: #25d366;
}
.quick-card h5 {
    margin-bottom: 8px;
    color: #191d3a;
}
.quick-card p {
    font-size: 0.92rem;
    color: #6c6f80;
    margin-bottom: 10px;
}
.quick-card p a {
    color: #6c6f80;
    transition: color 0.25s ease;
}
.quick-card p a:hover {
    color: #4d40ca;
}
.quick-card .email-text {
    font-size: 0.84rem;
    word-break: break-all;
    line-height: 1.6;
}
.quick-card .q-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #4d40ca;
}
.quick-card .q-link:hover {
    color: #191d3a;
    gap: 12px;
}
.contact-quick-section .row {
    row-gap: 24px;
}
.office-hours {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f4f3fc;
    border-radius: 12px;
    padding: 16px 20px;
    margin: 26px 0 22px;
}
.office-hours .oh-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #fff;
    color: #4d40ca;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.office-hours h6 {
    margin-bottom: 2px;
    color: #191d3a;
}
.office-hours p {
    margin: 0;
    font-size: 0.92rem;
    color: #6c6f80;
}
.contact-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}
.contact-highlights li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    color: #191d3a;
    font-weight: 500;
}
.contact-highlights li i {
    color: #4d40ca;
}
.connect-label {
    margin-bottom: 12px;
    color: #191d3a;
}
.contact-info-content .social-icon {
    gap: 12px;
}
.contact-info-content .social-icon a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f4f3fc;
    color: #4d40ca;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.contact-info-content .social-icon a:hover {
    background: #4d40ca;
    color: #fff;
    transform: translateY(-3px);
}
.map-framed {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 32px rgba(25, 29, 58, 0.12);
    line-height: 0;
}
.map-framed iframe {
    width: 100%;
    height: 430px;
}

/* ---------- Seamless page transitions (no loader) ----------
   Modern browsers cross-fade between pages natively; others get a
   subtle fade-in. Either way, no loading screen is shown. */
@view-transition {
    navigation: auto;
}
::view-transition-old(root),
::view-transition-new(root) {
    animation-duration: 0.25s;
}
@supports not (view-transition-name: none) {
    body {
        animation: page-fade-in 0.3s ease both;
    }
}
@keyframes page-fade-in {
    from { opacity: 0.4; }
    to { opacity: 1; }
}
