body {
    font-family: 'Lora', serif;
    font-size:18px;
}

.gradient-overlay-li {
    position: relative;
    overflow: hidden;
}

.gradient-overlay-li .tp-bgimg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
    pointer-events: none;
    z-index: 1;

}


.progress-container {
    position: fixed;
    opacity: 0;
    bottom: 36px; /* Adjusted from Tailwind's lg:bottom-12 */
    right: 20px;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.2); /* bg-black/20 */
    border-radius: 50%;
    z-index: 9999;
    transition: opacity 0.1s ease-in;
}

.progress-container.visible {
    opacity: 1;
}

.progress-container .arrow {
    opacity: 1 !important; /* Ensure it is visible */
    transition: opacity 0.1s ease-in;
    position: absolute;
    width: 20px; /* Equivalent to Tailwind's w-5 */
    height: 20px; /* Equivalent to Tailwind's h-5 */
    color: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.1s ease-in;
}

.progress-circle {
    transform: rotate(-90deg);
    transform-origin: center;
}

.progress-container svg {
    width: 48px;
    height: 48px;
    transform: rotate(270deg); /* Rotates the start to the top (0 degrees) */
}

.progress-container circle {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
}

.progress-background {
    stroke: rgba(255, 255, 255, 0.2); /* stroke-white/20 */
}

.progress-bar {
    stroke: red;
    stroke-dasharray: 126; /* Circumference of the circle */
    stroke-dashoffset: 126; /* Full stroke (initially hidden) */
    transition: stroke-dashoffset 0.1s linear;
}

#app {
    overflow-y: auto;
    height: 100vh; /* Ensures it takes full height */
}

/* =====================================================================
   Gallivanting Rainbows — 2026 frontend modernization
   Overrides layered on top of the vendored "City Tours" theme.
   Loaded last (app.blade.php), so these win without editing theme files.
   ===================================================================== */

:root {
    --gr-coral: #e04f67;
    --gr-coral-dark: #c83c54;
    --gr-ink: #1d1d1d;
    --gr-body: #2b2b2b;
    --gr-muted: #6b6b72;
    --gr-rainbow: linear-gradient(90deg, #e40303, #ff8c00, #ffed00, #008026, #004dff, #750787);
}

/* ---- Typography -------------------------------------------------------- */
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: var(--gr-body);
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', serif;
    font-weight: 600;
    line-height: 1.25;
    color: var(--gr-ink);
}
h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.3rem; }

/* ---- Header: always solid & readable (kills the white-on-white bug) ---- */
header {
    background: #fff;
    box-shadow: 0 2px 12px -4px rgba(0, 0, 0, .22);
    padding: 8px 0;
    transition: padding .2s ease, box-shadow .2s ease;
}
header.sticky { box-shadow: 0 4px 16px -6px rgba(0, 0, 0, .32); }

/* signature rainbow hairline along the bottom edge of the header */
header::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 3px;
    background: var(--gr-rainbow);
}

/* always use the dark logo (white-on-transparent logo is unreadable now) */
header #logo_home h1 a,
header #logo_home .logo-title a { background-image: url(../img/logo_sticky.png) !important; }

/* desktop nav (>=992px): dark links over the new white header */
@media (min-width: 992px) {
    header .main-menu > ul > li > a { color: var(--gr-ink); }
    header .main-menu > ul > li:hover > a,
    header .main-menu > ul > li > a:hover { color: var(--gr-coral); }
}
header ul#top_tools a { color: var(--gr-ink); }
header ul#top_tools a:hover { color: var(--gr-coral); }

/* hamburger must be dark on the white bar (theme defaults it to white) */
.cmn-toggle-switch span,
.cmn-toggle-switch span::before,
.cmn-toggle-switch span::after { background-color: var(--gr-ink) !important; }
.cmn-toggle-switch__htx.active span { background: none !important; }

/* ---- Buttons ---------------------------------------------------------- */
.btn_1,
a.btn_1 {
    background: var(--gr-coral);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    padding: 12px 26px;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn_1:hover,
a.btn_1:hover {
    background: var(--gr-coral-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px -8px rgba(224, 79, 103, .75);
}

/* ---- Section titles with a small rainbow accent ----------------------- */
.main_title { margin-bottom: 2.2rem; }
.main_title h2 { position: relative; padding-bottom: 16px; margin-bottom: 10px; }
.main_title h2::after {
    content: "";
    position: absolute;
    left: 50%; bottom: 0; transform: translateX(-50%);
    width: 64px; height: 3px; border-radius: 3px;
    background: var(--gr-rainbow);
}
.main_title p { color: var(--gr-muted); }

/* ---- Cards: popular city guides --------------------------------------- */
.tour_container {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px -5px rgba(0, 0, 0, .2);
    transition: transform .18s ease, box-shadow .18s ease;
    background: #fff;
}
.tour_container:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .32);
}

/* grade badge (the A–E rating shown via .short_info .price) */
.short_info .price {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px; height: 38px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--gr-coral);
    color: #fff !important;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    box-shadow: 0 3px 10px -3px rgba(0, 0, 0, .45);
    border: 2px solid rgba(255, 255, 255, .85);
}

/* ---- Cards: blog (.box_news) ----------------------------------------- */
.box_news {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px -5px rgba(0, 0, 0, .18);
    transition: transform .18s ease, box-shadow .18s ease;
    background: #fff;
}
.box_news:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .3);
}
.box_news h4 { color: var(--gr-ink); transition: color .15s ease; }
.box_news:hover h4 { color: var(--gr-coral); }

/* ---- Logo (was <h1>, now <p class="logo-title"> for SEO) -------------- */
/* Theme sized the logo via #logo_home h1 / h1 a; mirror those rules. */
#logo_home .logo-title { margin: 10px 0 0 0; padding: 0; }
#logo_home .logo-title a {
    width: 160px; height: 34px; display: block;
    background: url(../img/logo_sticky.png) left top / 160px 34px no-repeat;
    text-indent: -9999px;
}
.sticky #logo_home .logo-title { margin: 0 0 10px 0; }

/* the homepage section heading now carries the page <h1> — match h2 look */
.main_title h1 {
    position: relative;
    text-align: center;
    padding-bottom: 16px;
    margin-bottom: 10px;
    font-size: clamp(1.6rem, 3.2vw, 2.1rem);
}
.main_title h1::after {
    content: "";
    position: absolute;
    left: 50%; bottom: 0; transform: translateX(-50%);
    width: 64px; height: 3px; border-radius: 3px;
    background: var(--gr-rainbow);
}

/* ---- Header offset: reserve space so the fixed header never overlaps --- */
/* The page scrolls inside #app. Pushing #app below the header means the
   hero images aren't clipped AND the scrollbar starts below the menu.
   --gr-header-h is refined at runtime (app.blade.php) to the exact height. */
:root { --gr-header-h: 88px; }
/* Only #app scrolls. Lock the outer document so we never get a second
   (body/window) scrollbar alongside #app's. */
html, body { height: 100%; overflow: hidden; }
body { background: #fff; }
#app {
    margin-top: var(--gr-header-h);
    height: calc(100vh - var(--gr-header-h));
}

/* ---- Static hero banner (replaces the scroll-broken parallax) -------- */
.hero-banner {
    position: relative;
    min-height: 470px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
@media (max-width: 768px) {
    .hero-banner { min-height: 320px; }
}

/* ---- Hero title: make the place name prominent ----------------------- */
.parallax-content-2 {
    padding: 90px 0 30px 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, .15) 35%, rgba(0, 0, 0, .8) 100%);
}
.parallax-content-2 div h1 {
    display: inline-block;
    position: relative;
    font-size: clamp(2.4rem, 6vw, 4rem);
    line-height: 1.05;
    letter-spacing: .5px;
    padding-bottom: 14px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .7);
}
.parallax-content-2 div h1::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 88px; height: 4px; border-radius: 4px;
    background: var(--gr-rainbow);
}
.parallax-content-2 div h2 {
    font-size: clamp(1rem, 2.4vw, 1.45rem);
    font-weight: 400;
    margin-top: 16px;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .65);
}

/* blog-post hero title gets the same weight */
#hero .intro_title h3 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    text-shadow: 0 2px 18px rgba(0, 0, 0, .6);
}

/* ---- Accessibility & misc -------------------------------------------- */
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}
:focus-visible { outline: 3px solid #004dff; outline-offset: 2px; }
a { transition: color .15s ease; }

/* =====================================================================
   DARK MODE  —  dark is the default; light is opt-in via the header toggle.
   All overrides scoped under [data-theme="dark"] (set on <html>).
   Tokens flip first, so anything styled with --gr-ink/body/muted adapts
   automatically; the rest targets the theme's hard-coded white surfaces.
   ===================================================================== */
[data-theme="dark"] {
    --gr-ink: #f2f2f4;
    --gr-body: #e6e6e8;
    --gr-muted: #a2a2ac;
    --gr-bg: #14151a;
    --gr-surface: #1e2027;
    --gr-elevated: #262932;
    --gr-border: rgba(255, 255, 255, .10);
    color-scheme: dark;
}

/* base */
[data-theme="dark"] html,
[data-theme="dark"] body,
[data-theme="dark"] #app { background: var(--gr-bg); }
[data-theme="dark"] body { color: var(--gr-body); }
[data-theme="dark"] main { background: transparent; }
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3,
[data-theme="dark"] h4, [data-theme="dark"] h5, [data-theme="dark"] h6 { color: var(--gr-ink); }
[data-theme="dark"] p, [data-theme="dark"] li, [data-theme="dark"] span,
[data-theme="dark"] td, [data-theme="dark"] th { color: var(--gr-body); }
[data-theme="dark"] a { color: #ff8da0; }
[data-theme="dark"] a:hover { color: var(--gr-coral); }
[data-theme="dark"] hr { border-color: var(--gr-border); }

/* header + dropdowns */
[data-theme="dark"] header { background: var(--gr-surface); box-shadow: 0 2px 14px -4px rgba(0, 0, 0, .6); }
[data-theme="dark"] .main-menu ul ul { background: var(--gr-elevated); box-shadow: 0 8px 24px rgba(0, 0, 0, .5); }
[data-theme="dark"] .main-menu ul ul li a { color: var(--gr-body); }
[data-theme="dark"] .main-menu ul ul li:hover > a { color: var(--gr-coral); }
[data-theme="dark"] .main-menu ul ul li { border-bottom-color: var(--gr-border); }
/* logo: black lettering is invisible on dark — use the white-lettering logo */
[data-theme="dark"] #logo_home .logo-title a { background-image: url(../img/logo.png) !important; }
[data-theme="dark"] #header_menu img { content: url(../img/logo.png); }

/* mobile slide-in menu panel (white by default — must go dark too) */
[data-theme="dark"] .main-menu a { color: var(--gr-body) !important; }
[data-theme="dark"] .main-menu a:hover { color: var(--gr-coral) !important; }
@media (max-width: 991px) {
    [data-theme="dark"] .main-menu { background-color: var(--gr-surface); }
    [data-theme="dark"] .main-menu ul li { border-bottom-color: var(--gr-border); }
    [data-theme="dark"] .main-menu ul li a:hover,
    [data-theme="dark"] a.show-submenu-mega:focus { background-color: rgba(255, 255, 255, .06); }
}

/* cards & boxed surfaces */
[data-theme="dark"] .tour_container,
[data-theme="dark"] .box_news,
[data-theme="dark"] .box_style_1,
[data-theme="dark"] .box_style_2,
[data-theme="dark"] #single_tour_feat,
[data-theme="dark"] .strip,
[data-theme="dark"] .comment_right {
    background: var(--gr-surface);
    border-color: var(--gr-border);
    box-shadow: 0 2px 14px -6px rgba(0, 0, 0, .7);
}
[data-theme="dark"] .box_news h4 { color: var(--gr-ink); }
[data-theme="dark"] .tour_title { background: var(--gr-surface); }

/* sidebar rating/news box body text (raw text that wasn't picking up the
   light colour). Excludes .circle so the coloured grade letter is kept. */
[data-theme="dark"] #sidebar .box_style_1 .mt-4,
[data-theme="dark"] #sidebar .box_style_1 .mt-4 *,
[data-theme="dark"] #sidebar #rss-container,
[data-theme="dark"] #sidebar #rss-container * { color: var(--gr-body) !important; }
[data-theme="dark"] #sidebar .box_style_1 .circle { background: var(--gr-elevated); }

/* RSS news items are Bootstrap list-group links (white bg / dark text) */
[data-theme="dark"] #rss-container .list-group-item {
    background: transparent;
    border-color: var(--gr-border);
}
[data-theme="dark"] #rss-container .list-group-item strong { color: var(--gr-ink) !important; }
[data-theme="dark"] #rss-container .list-group-item small { color: var(--gr-muted) !important; }
[data-theme="dark"] #rss-container .list-group-item-action:hover,
[data-theme="dark"] #rss-container .list-group-item-action:focus { background: rgba(255, 255, 255, .06); }

/* breadcrumb bar */
[data-theme="dark"] #position { background: var(--gr-elevated); border-bottom: 1px solid var(--gr-border); }
[data-theme="dark"] #position a, [data-theme="dark"] #position li { color: var(--gr-muted); }

/* forms */
[data-theme="dark"] input, [data-theme="dark"] textarea, [data-theme="dark"] select,
[data-theme="dark"] .form-control {
    background: var(--gr-elevated);
    color: var(--gr-body);
    border-color: var(--gr-border);
}
[data-theme="dark"] input::placeholder, [data-theme="dark"] textarea::placeholder { color: var(--gr-muted); }
[data-theme="dark"] .form-control:focus { background: var(--gr-elevated); color: #fff; border-color: var(--gr-coral); }

/* tables (e.g. compare) */
[data-theme="dark"] table { color: var(--gr-body); border-color: var(--gr-border); }
[data-theme="dark"] th, [data-theme="dark"] td { border-color: var(--gr-border); }
[data-theme="dark"] tr:nth-child(even) td { background: rgba(255, 255, 255, .03); }

/* generic light wrappers the theme paints white/near-white */
[data-theme="dark"] .white-bg,
[data-theme="dark"] .bg_white,
[data-theme="dark"] .main_title { background: transparent; }
[data-theme="dark"] .main_title p { color: var(--gr-muted); }

/* Homepage hero: guarantee height so the fallback background image shows
   even when the (flaky) Revolution Slider JS fails to initialise. */
#slider_wrapper { min-height: 60vh; position: relative; }

/* rev-slider wrapper is dark only where its own slide bg hasn't painted */
[data-theme="dark"] .forcefullwidth_wrapper_tp_banner,
[data-theme="dark"] .tp-banner-container { background: var(--gr-bg); }

/* homepage hero search bar (white input via #id rule) */
[data-theme="dark"] #search_bar_container { background: rgba(0, 0, 0, .55); }
[data-theme="dark"] #twotabsearchtextbox { background: var(--gr-elevated); color: #fff; }
[data-theme="dark"] .nav-searchfield-outer { background: var(--gr-elevated); }

/* guide content text — beat the theme's #id-specificity colour rules */
[data-theme="dark"] #single_tour_desc,
[data-theme="dark"] #single_tour_desc p,
[data-theme="dark"] #single_tour_desc li,
[data-theme="dark"] #single_tour_desc span,
[data-theme="dark"] .col-lg-9 p,
[data-theme="dark"] .col-lg-8 p { color: var(--gr-body); }
[data-theme="dark"] #single_tour_desc h1,
[data-theme="dark"] #single_tour_desc h2,
[data-theme="dark"] #single_tour_desc h3,
[data-theme="dark"] #single_tour_desc h4 { color: var(--gr-ink); }

/* Selectize.js dropdowns (compare page) */
[data-theme="dark"] .selectize-input,
[data-theme="dark"] .selectize-dropdown {
    background: var(--gr-elevated);
    color: var(--gr-body);
    border-color: var(--gr-border);
    box-shadow: none;
}
[data-theme="dark"] .selectize-input input,
[data-theme="dark"] .selectize-input .item { color: var(--gr-body); }
[data-theme="dark"] .selectize-input.focus { border-color: var(--gr-coral); box-shadow: 0 0 0 2px rgba(224, 79, 103, .3); }
[data-theme="dark"] .selectize-control.single .selectize-input::after { border-top-color: var(--gr-body); }
[data-theme="dark"] .selectize-dropdown .option { color: var(--gr-body); }
[data-theme="dark"] .selectize-dropdown .active { background: var(--gr-coral); color: #fff; }

/* search overlay field */
[data-theme="dark"] .search-overlay-menu input[type="text"] { color: #fff; border-bottom-color: var(--gr-border); }

/* theme-toggle icon swap (sun shown in dark = click to go light) */
.theme-icon--sun { display: none; }
.theme-icon--moon { display: inline-block; }
[data-theme="dark"] .theme-icon--sun { display: inline-block; }
[data-theme="dark"] .theme-icon--moon { display: none; }
#theme-toggle { display: inline-flex; align-items: center; }
