/* ==========================================================================
   Bosphorus Tour Planner — Custom Styles
   Soft-Minimalist Elite Light Mode — Bosphorus Brand Identity
   Palette: cream #FDFBF7 · turq #0C6B73 · ink #0F172A · bright #34BFC9 · sand #E8E1D4
   ========================================================================== */

/* --- SWIPE LAYOUT (front-page) --- */
.swipe-mode {
    overflow: hidden;
    height: 100dvh;
}

.site-wrapper {
    position: relative;
    min-height: 100dvh;
}

.swipe-mode .site-wrapper {
    display: flex;
    height: 100dvh;
}

/* --- PANELS (desktop side columns) --- */
.panel {
    display: none;
}

@media (min-width: 1024px) {
    .panel {
        display: flex;
        flex-direction: column;
        width: var(--panel-width);
        flex-shrink: 0;
        height: 100dvh;
        position: sticky;
        top: 0;
        z-index: 20;
        background: var(--cream);
        border-right: 1px solid rgba(12, 107, 115, 0.1);
    }

    .panel--right {
        border-right: none;
        border-left: 1px solid rgba(12, 107, 115, 0.1);
    }

    .panel__inner {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
        padding: 1.5rem 1rem;
        overflow-y: auto;
    }
}

.panel__logo a,
.panel__logo img {
    max-width: 140px;
    display: block;
}

.panel__logo .site-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--turq);
    text-decoration: none;
    font-family: 'Bodoni Moda', Georgia, serif;
}

.panel__nav {
    margin-top: 1.5rem;
}

.panel__actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1.5rem;
}

.panel__heading {
    font-size: 0.6875rem;
    font-family: 'Space Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(15, 23, 42, 0.45);
    margin-bottom: 0.75rem;
}

.panel__tour-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.panel__tour-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem;
    border-radius: 0.375rem;
    text-decoration: none;
    color: rgba(15, 23, 42, 0.55);
    font-size: 0.8125rem;
    transition: all 0.2s;
}
.panel__tour-link:hover {
    background: rgba(12, 107, 115, 0.06);
    color: var(--turq);
}

.panel__tour-thumb {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 0.25rem;
    border: 1px solid rgba(12, 107, 115, 0.12);
}

.panel__social {
    display: flex;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(12, 107, 115, 0.1);
    margin-top: auto;
}

.panel__social-link {
    color: rgba(15, 23, 42, 0.45);
    transition: color 0.2s;
}
.panel__social-link:hover {
    color: var(--turq);
}

/* --- SWIPE MAIN --- */
.swipe-main {
    flex: 1;
    height: 100dvh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
}

/* --- TOUR CARD (full-screen swipe slide) --- */
.tour-card {
    position: relative;
    width: 100%;
    height: 100dvh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.tour-card__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    will-change: transform;
    transition: transform 0.6s ease-out;
}

/* Turquoise-brand gradient overlay — bottom to top */
.tour-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(12, 55, 60, 0.92) 0%,
        rgba(12, 55, 60, 0.35) 40%,
        transparent 70%
    );
}

.tour-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s, transform 0.2s;
}
.tour-card__play:hover {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.tour-card__content {
    position: relative;
    z-index: 5;
    padding: 2rem;
    width: 100%;
    max-width: 600px;
}

@media (min-width: 1024px) {
    .tour-card__content {
        padding: 3rem;
    }
}

/* Tour card text: white on dark-tinted image overlay */
.tour-card__title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-family: 'Bodoni Moda', Georgia, serif;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin: 0 0 0.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.tour-card__excerpt {
    font-size: 0.9375rem;
    color: rgba(253, 251, 247, 0.8);
    margin: 0 0 1rem;
    line-height: 1.5;
}

.tour-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tour-card__price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bright);
}

.tour-card__duration,
.tour-card__transfer {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8125rem;
    color: rgba(253, 251, 247, 0.7);
}

.tour-card__highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.tour-card__highlights li {
    padding: 0.25rem 0.625rem;
    background: rgba(253, 251, 247, 0.12);
    border: 1px solid rgba(253, 251, 247, 0.2);
    border-radius: 9999px;
    font-size: 0.75rem;
    color: rgba(253, 251, 247, 0.85);
}

.tour-card__actions {
    display: flex;
    gap: 0.75rem;
}

/* Tour card buttons sit on dark image overlay — use cream/white variants */
.tour-card .btn--outline {
    color: rgba(253, 251, 247, 0.9);
    border-color: rgba(253, 251, 247, 0.4);
    background: transparent;
}
.tour-card .btn--outline:hover {
    background: rgba(253, 251, 247, 0.12);
    border-color: rgba(253, 251, 247, 0.7);
    color: #ffffff;
}
.tour-card .btn--primary {
    background: var(--bright);
    color: #ffffff;
}
.tour-card .btn--primary:hover {
    background: var(--bright-dark);
}

.tour-card__scroll-hint {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    animation: bounceDown 2s infinite;
    opacity: 0.5;
    color: #ffffff;
}

@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

.tour-card--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* --- SITE HEADER (non-front pages) --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(12, 107, 115, 0.12);
    height: var(--header-height);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.site-header__logo a,
.site-header__logo img {
    max-height: 40px;
    display: block;
}

.site-header__logo .site-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--turq);
    text-decoration: none;
    font-family: 'Bodoni Moda', Georgia, serif;
}

.site-header__nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* --- TOUR SINGLE --- */
.tour-single__hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
}

.tour-single__cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tour-single__hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 55, 60, 0.88) 0%, transparent 60%);
}

.tour-single__hero-content {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tour-single__title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-family: 'Bodoni Moda', Georgia, serif;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1rem;
}

.tour-single__quick-meta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tour-single__body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .tour-single__body {
        grid-template-columns: 1fr 340px;
        padding: 3rem 2rem;
    }
}

.tour-single__content {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(15, 23, 42, 0.65);
}
.tour-single__content h2,
.tour-single__content h3 {
    color: var(--turq);
    font-family: 'Bodoni Moda', Georgia, serif;
    margin-top: 2rem;
}

.tour-single__info-card {
    background: var(--sand);
    border: 1px solid rgba(12, 107, 115, 0.1);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.tour-info-list {
    margin: 0 0 1.5rem;
}
.tour-info-list dt {
    font-size: 0.75rem;
    font-family: 'Space Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(15, 23, 42, 0.45);
    margin-top: 0.75rem;
}
.tour-info-list dd {
    margin: 0.25rem 0 0;
    font-weight: 600;
    color: var(--ink);
}

.tour-single__cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tour-single__highlights ul {
    list-style: none;
    padding: 0;
}
.tour-single__highlights li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(12, 107, 115, 0.1);
    font-size: 0.875rem;
    color: var(--ink);
}
.tour-single__highlights li::before {
    content: "\2713 ";
    color: var(--turq);
    margin-right: 0.5rem;
}

.tour-single__gallery,
.tour-single__video {
    padding: 0 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0.75rem;
}
.gallery-grid__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0.5rem;
    border: 1px solid rgba(12, 107, 115, 0.08);
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 0.75rem;
}
.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* --- TOUR ARCHIVE GRID --- */
.tour-archive {
    padding: 2rem 0;
}

.tour-archive__filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.tour-grid__card {
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid rgba(12, 107, 115, 0.08);
    transition: box-shadow 0.25s, transform 0.25s;
}
.tour-grid__card:hover {
    box-shadow: 0 8px 28px rgba(12, 107, 115, 0.14);
    transform: translateY(-2px);
}

.tour-grid__link {
    position: relative;
    display: block;
    aspect-ratio: 2/3;
    overflow: hidden;
}

.tour-grid__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.tour-grid__link:hover .tour-grid__img {
    transform: scale(1.05);
}

.tour-grid__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(12, 55, 60, 0.88) 0%, transparent 100%);
}

.tour-grid__title {
    font-size: 1.125rem;
    font-family: 'Bodoni Moda', Georgia, serif;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: #ffffff;
}

.tour-grid__meta {
    display: flex;
    gap: 0.75rem;
    font-size: 0.8125rem;
    color: rgba(253, 251, 247, 0.75);
}

.tour-grid__price {
    font-weight: 700;
    color: var(--bright);
}

/* --- BLOG --- */
.blog-listing {
    padding: 2rem 0;
}

.page-header {
    margin-bottom: 2rem;
}

.page-title {
    font-size: 1.75rem;
    font-family: 'Bodoni Moda', Georgia, serif;
    font-weight: 700;
    color: var(--turq);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.post-card {
    background: #ffffff;
    border: 1px solid rgba(12, 107, 115, 0.08);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}
.post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(12, 107, 115, 0.1);
}

.post-card__thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.post-card__body {
    padding: 1.25rem;
}

.post-card__date {
    font-size: 0.75rem;
    font-family: 'Space Mono', monospace;
    color: rgba(15, 23, 42, 0.45);
}

.post-card__title {
    font-size: 1.125rem;
    font-family: 'Bodoni Moda', Georgia, serif;
    font-weight: 700;
    margin: 0.5rem 0;
}
.post-card__title a {
    color: var(--ink);
    text-decoration: none;
}
.post-card__title a:hover {
    color: var(--turq);
}

.post-card__excerpt {
    font-size: 0.875rem;
    color: rgba(15, 23, 42, 0.6);
    line-height: 1.6;
}

.blog-single__header {
    margin-bottom: 2rem;
}

.blog-single__cover img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 0.75rem;
    border: 1px solid rgba(12, 107, 115, 0.08);
}

.blog-single__meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8125rem;
    font-family: 'Space Mono', monospace;
    color: rgba(15, 23, 42, 0.45);
    margin: 1rem 0 0.5rem;
}

.blog-single__title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-family: 'Bodoni Moda', Georgia, serif;
    font-weight: 700;
    color: var(--turq);
    line-height: 1.2;
}

.blog-single__content {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(15, 23, 42, 0.65);
    max-width: 720px;
}
.blog-single__content h2,
.blog-single__content h3,
.blog-single__content h4 {
    color: var(--turq);
    font-family: 'Bodoni Moda', Georgia, serif;
    margin-top: 2rem;
}
.blog-single__content a {
    color: var(--turq);
}
.blog-single__content img {
    border-radius: 0.5rem;
    border: 1px solid rgba(12, 107, 115, 0.08);
}

.blog-single__tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.blog-single__nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(12, 107, 115, 0.1);
}

.post-nav {
    text-decoration: none;
    max-width: 45%;
}
.post-nav__label {
    font-size: 0.75rem;
    font-family: 'Space Mono', monospace;
    color: rgba(15, 23, 42, 0.45);
}
.post-nav__title {
    display: block;
    font-weight: 600;
    color: var(--ink);
    margin-top: 0.25rem;
    transition: color 0.2s;
}
.post-nav:hover .post-nav__title {
    color: var(--turq);
}
.post-nav--next {
    text-align: right;
    margin-left: auto;
}

/* --- MODAL --- */
.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.modal.is-open {
    opacity: 1;
    visibility: visible;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    cursor: pointer;
}

.modal__panel {
    position: relative;
    background: var(--cream);
    border: 1px solid rgba(12, 107, 115, 0.14);
    border-radius: 1rem;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(12, 107, 115, 0.15);
    transform: translateY(20px);
    transition: transform 0.3s;
}
.modal.is-open .modal__panel {
    transform: translateY(0);
}

.modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(12, 107, 115, 0.1);
}

.modal__title {
    font-size: 1.125rem;
    font-family: 'Bodoni Moda', Georgia, serif;
    font-weight: 700;
    color: var(--turq);
    margin: 0;
}

.modal__close {
    background: none;
    border: none;
    color: rgba(15, 23, 42, 0.45);
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.2s;
}
.modal__close:hover {
    color: var(--turq);
}

.modal__body {
    padding: 1.5rem;
}

/* --- WHATSAPP STICKY --- */
.whatsapp-sticky {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 90;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    background: var(--wa);
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-sticky:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--wa);
    color: white;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: opacity 0.2s;
}
.whatsapp-btn:hover {
    opacity: 0.9;
}

/* --- CAMPAIGN BANNER --- */
.campaign-banner {
    background: linear-gradient(90deg, var(--turq), var(--turq-mid));
    color: white;
    padding: 0.625rem 0;
    font-size: 0.8125rem;
    position: relative;
    z-index: 60;
}

.campaign-banner__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.campaign-banner__text {
    margin: 0;
    font-weight: 600;
}

.campaign-banner__cta {
    color: white;
    font-weight: 700;
    text-decoration: underline;
    white-space: nowrap;
}

.campaign-banner__close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    opacity: 0.7;
    padding: 0.25rem;
    position: absolute;
    right: 1rem;
    transition: opacity 0.2s;
}
.campaign-banner__close:hover {
    opacity: 1;
}

/* --- CAMPAIGN POPUP --- */
.campaign-popup {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.campaign-popup.is-open {
    opacity: 1;
    visibility: visible;
}

.campaign-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    cursor: pointer;
}

.campaign-popup__card {
    position: relative;
    background: var(--cream);
    border: 1px solid rgba(12, 107, 115, 0.14);
    border-radius: 1rem;
    padding: 2.5rem;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 16px 48px rgba(12, 107, 115, 0.14);
}

.campaign-popup__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: rgba(15, 23, 42, 0.45);
    cursor: pointer;
    transition: color 0.2s;
}
.campaign-popup__close:hover {
    color: var(--turq);
}

.campaign-popup__icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
}

.campaign-popup__title {
    font-size: 1.5rem;
    font-family: 'Bodoni Moda', Georgia, serif;
    font-weight: 700;
    color: var(--turq);
    margin: 0 0 0.75rem;
}

.campaign-popup__text {
    color: rgba(15, 23, 42, 0.6);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* --- LANG SWITCHER --- */
.lang-switcher {
    position: relative;
}

.lang-switcher__toggle {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    background: none;
    border: 1px solid rgba(12, 107, 115, 0.25);
    color: var(--ink);
    padding: 0.375rem 0.625rem;
    border-radius: 0.375rem;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.lang-switcher__toggle:hover {
    border-color: var(--turq);
    background: rgba(12, 107, 115, 0.04);
}

.lang-switcher__dropdown {
    position: absolute;
    top: calc(100% + 0.375rem);
    left: 0;
    min-width: 140px;
    background: var(--cream);
    border: 1px solid rgba(12, 107, 115, 0.14);
    border-radius: 0.5rem;
    padding: 0.375rem;
    list-style: none;
    margin: 0;
    z-index: 30;
    box-shadow: 0 8px 24px rgba(12, 107, 115, 0.12);
}
.lang-switcher__dropdown[hidden] {
    display: none;
}

.lang-switcher__dropdown a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.625rem;
    border-radius: 0.25rem;
    color: rgba(15, 23, 42, 0.6);
    text-decoration: none;
    font-size: 0.8125rem;
    transition: background 0.15s, color 0.15s;
}
.lang-switcher__dropdown a:hover,
.lang-switcher__dropdown a.is-active {
    background: rgba(12, 107, 115, 0.07);
    color: var(--turq);
}

/* --- FOOTER --- */
.site-footer {
    background: var(--sand);
    border-top: 1px solid rgba(12, 107, 115, 0.1);
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .site-footer__inner {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.site-footer__desc {
    color: rgba(15, 23, 42, 0.55);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.site-footer h4 {
    font-size: 0.6875rem;
    font-family: 'Space Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(15, 23, 42, 0.45);
    margin-bottom: 1rem;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.site-footer li {
    margin-bottom: 0.5rem;
}
.site-footer a {
    color: rgba(15, 23, 42, 0.55);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}
.site-footer a:hover {
    color: var(--turq);
}

.site-footer__copy {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(12, 107, 115, 0.1);
    font-size: 0.75rem;
    color: rgba(15, 23, 42, 0.4);
}

/* --- 404 --- */
.error-404 {
    text-align: center;
    padding: 6rem 2rem;
}
.error-404 h1 {
    font-size: 6rem;
    font-family: 'Bodoni Moda', Georgia, serif;
    font-weight: 700;
    color: var(--turq);
    opacity: 0.25;
    margin: 0;
}
.error-404 p {
    color: rgba(15, 23, 42, 0.55);
    margin: 1rem 0 2rem;
}

/* --- PAGINATION --- */
.pagination {
    margin: 2rem 0;
    text-align: center;
}
.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
}
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    color: rgba(15, 23, 42, 0.55);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.pagination .page-numbers:hover {
    background: rgba(12, 107, 115, 0.07);
    color: var(--turq);
}
.pagination .page-numbers.current {
    background: var(--turq);
    color: white;
}

/* --- RTL SUPPORT (comprehensive) --- */
.bosphorus-rtl {
    direction: rtl;
    text-align: right;
}
.bosphorus-rtl .site-wrapper {
    direction: rtl;
}

/* RTL: Panels swap sides */
@media (min-width: 1024px) {
    .bosphorus-rtl .panel--left {
        border-right: none;
        border-left: 1px solid rgba(12, 107, 115, 0.1);
        order: 2;
    }
    .bosphorus-rtl .panel--right {
        border-left: none;
        border-right: 1px solid rgba(12, 107, 115, 0.1);
        order: 0;
    }
    .bosphorus-rtl .swipe-main {
        order: 1;
    }
}

/* RTL: WhatsApp sticky */
.bosphorus-rtl .whatsapp-sticky {
    right: auto;
    left: 1.5rem;
}

/* RTL: Campaign banner */
.bosphorus-rtl .campaign-banner__close {
    right: auto;
    left: 1rem;
}

/* RTL: Campaign popup close */
.bosphorus-rtl .campaign-popup__close {
    right: auto;
    left: 1rem;
}

/* RTL: Tour card content align */
.bosphorus-rtl .tour-card__content,
.tour-card--rtl .tour-card__content {
    text-align: right;
}
.bosphorus-rtl .tour-card__actions {
    justify-content: flex-start;
    flex-direction: row-reverse;
}
.bosphorus-rtl .tour-card__meta {
    justify-content: flex-start;
}
.bosphorus-rtl .tour-card__duration svg,
.bosphorus-rtl .tour-card__transfer svg {
    order: 1;
    margin-left: 0;
    margin-right: 0;
}

/* RTL: Scroll hint stays centered */
.bosphorus-rtl .tour-card__scroll-hint {
    left: 50%;
    right: auto;
}

/* RTL: Header nav */
.bosphorus-rtl .site-header__inner {
    flex-direction: row-reverse;
}
.bosphorus-rtl .site-header__nav {
    flex-direction: row-reverse;
}

/* RTL: Tour single body grid */
@media (min-width: 768px) {
    .bosphorus-rtl .tour-single__body {
        direction: rtl;
    }
}
.bosphorus-rtl .tour-single__highlights li::before {
    margin-right: 0;
    margin-left: 0.5rem;
}

/* RTL: Tour info list */
.bosphorus-rtl .tour-info-list {
    text-align: right;
}

/* RTL: Blog navigation */
.bosphorus-rtl .blog-single__nav {
    flex-direction: row-reverse;
}
.bosphorus-rtl .post-nav--next {
    margin-left: 0;
    margin-right: auto;
    text-align: left;
}
.bosphorus-rtl .post-nav--prev {
    text-align: right;
}

/* RTL: Modal */
.bosphorus-rtl .modal__header {
    flex-direction: row-reverse;
}

/* RTL: Form inputs */
.bosphorus-rtl .form-input {
    text-align: right;
}
.bosphorus-rtl .form-row {
    flex-direction: row-reverse;
}

/* RTL: Language switcher */
.bosphorus-rtl .lang-switcher__dropdown {
    left: auto;
    right: 0;
}
.bosphorus-rtl .lang-switcher__toggle {
    flex-direction: row-reverse;
}

/* RTL: Footer */
.bosphorus-rtl .site-footer {
    text-align: right;
}
.bosphorus-rtl .site-footer__copy {
    text-align: center;
}

/* RTL: Panel tour links */
.bosphorus-rtl .panel__tour-link {
    flex-direction: row-reverse;
}
.bosphorus-rtl .panel__social {
    justify-content: flex-end;
}

/* RTL: Archive filter tags */
.bosphorus-rtl .tour-archive__filters {
    justify-content: flex-start;
}

/* RTL: Tour grid overlay */
.bosphorus-rtl .tour-grid__overlay {
    text-align: right;
}

/* --- PLACEHOLDER BACKGROUNDS (9:16 portrait) --- */
.tour-card__bg--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--turq) 0%, var(--turq-mid) 100%);
}

.tour-card__placeholder-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.35;
}

.tour-card__placeholder-label {
    font-size: 0.75rem;
    font-family: 'Space Mono', monospace;
    font-weight: 600;
    color: rgba(253, 251, 247, 0.6);
    letter-spacing: 0.1em;
}

/* Tour single placeholder cover */
.tour-single__cover--placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--turq) 0%, var(--turq-mid) 100%);
}

.tour-single__placeholder-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    opacity: 0.35;
}

.tour-single__placeholder-ratio {
    font-size: 0.875rem;
    font-family: 'Space Mono', monospace;
    font-weight: 600;
    color: rgba(253, 251, 247, 0.6);
    letter-spacing: 0.1em;
}

/* --- PORTRAIT VIDEO EMBED (9:16) --- */
.video-embed--portrait {
    padding-bottom: 177.78%; /* 9:16 */
    max-width: 400px;
    margin: 0 auto;
}

.video-embed--placeholder {
    background: linear-gradient(135deg, var(--turq) 0%, var(--turq-mid) 100%);
    border: 2px dashed rgba(253, 251, 247, 0.2);
}

.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: rgba(253, 251, 247, 0.5);
    font-size: 0.875rem;
    font-family: 'Space Mono', monospace;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* RTL: Center portrait video */
.bosphorus-rtl .video-embed--portrait {
    margin: 0 auto;
}

/* --- LANG SWITCHER EMOJI --- */
.lang-switcher__emoji {
    font-size: 1rem;
    line-height: 1;
}

/* --- PAGE SINGLE --- */
.page-single {
    padding: 2rem 0;
}
.page-single__title {
    font-size: 2rem;
    font-family: 'Bodoni Moda', Georgia, serif;
    font-weight: 700;
    color: var(--turq);
    margin-bottom: 2rem;
}
.page-single__content {
    line-height: 1.8;
    color: rgba(15, 23, 42, 0.65);
    max-width: 720px;
}
.page-single__content h2,
.page-single__content h3 {
    color: var(--turq);
    font-family: 'Bodoni Moda', Georgia, serif;
}

/* RTL: Page single */
.bosphorus-rtl .page-single__content {
    text-align: right;
}

/* ==========================================================================
   Form inputs — light mode — ink on white
   ========================================================================== */
.form-input,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="date"],
input[type="search"],
textarea,
select {
    color: var(--ink) !important;
    -webkit-text-fill-color: var(--ink) !important;
}
.form-input::placeholder,
input::placeholder,
textarea::placeholder {
    color: rgba(15, 23, 42, 0.35) !important;
    -webkit-text-fill-color: rgba(15, 23, 42, 0.35) !important;
    opacity: 1;
}
/* Date input calendar icon — light mode */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: none;
    opacity: 0.45;
}

/* Autofill override for light mode */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-text-fill-color: var(--ink) !important;
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    box-shadow: 0 0 0 1000px #ffffff inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Booking form status messages */
.booking-form__status {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
}
.booking-form__status.is-success {
    background: rgba(12, 107, 115, 0.08);
    color: var(--turq);
    border: 1px solid rgba(12, 107, 115, 0.25);
}
.booking-form__status.is-error {
    background: rgba(239, 68, 68, 0.07);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

/* ==========================================================================
   WELCOME POPUP — Full-screen splash — light-mode brand redesign
   ========================================================================== */
.welcome-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.welcome-popup.is-visible {
    opacity: 1;
    visibility: visible;
}
.welcome-popup.is-closing {
    opacity: 0;
    visibility: hidden;
}

/* Background image */
.welcome-popup__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    animation: welcomeZoom 6s ease-out forwards;
}
@keyframes welcomeZoom {
    from { transform: scale(1.1); }
    to   { transform: scale(1); }
}

/* Turquoise-brand overlay — replaces old dark overlay */
.welcome-popup__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(12, 55, 60, 0.82) 0%,
        rgba(12, 107, 115, 0.55) 50%,
        rgba(12, 55, 60, 0.80) 100%
    );
    backdrop-filter: blur(1px);
}

/* Close button */
.welcome-popup__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 10;
    background: rgba(253, 251, 247, 0.12);
    border: 1px solid rgba(253, 251, 247, 0.25);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(253, 251, 247, 0.9);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.welcome-popup__close:hover {
    background: rgba(253, 251, 247, 0.22);
    transform: scale(1.1);
}

/* Content */
.welcome-popup__content {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 2rem;
    max-width: 640px;
    width: 100%;
    animation: welcomeSlideUp 0.8s ease-out 0.2s both;
}
@keyframes welcomeSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo */
.welcome-popup__logo {
    margin-bottom: 1.5rem;
}
.welcome-popup__logo img {
    max-height: 60px;
    display: inline-block;
}
.welcome-popup__brand {
    font-size: 1.5rem;
    font-family: 'Bodoni Moda', Georgia, serif;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
}

/* Title */
.welcome-popup__title {
    font-size: clamp(1.375rem, 4vw, 2rem);
    font-family: 'Bodoni Moda', Georgia, serif;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin: 0 0 2rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

/* Bullet list */
.welcome-popup__list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.welcome-popup__item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: rgba(253, 251, 247, 0.92);
    animation: welcomeItemFade 0.5s ease-out both;
}
.welcome-popup__item:nth-child(1) { animation-delay: 0.4s; }
.welcome-popup__item:nth-child(2) { animation-delay: 0.6s; }
.welcome-popup__item:nth-child(3) { animation-delay: 0.8s; }
.welcome-popup__item:nth-child(4) { animation-delay: 1.0s; }

@keyframes welcomeItemFade {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* RTL item animation */
.bosphorus-rtl .welcome-popup__item {
    flex-direction: row-reverse;
    text-align: right;
}
.bosphorus-rtl .welcome-popup__list {
    text-align: right;
}
@keyframes welcomeItemFadeRtl {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.bosphorus-rtl .welcome-popup__item {
    animation-name: welcomeItemFadeRtl;
}

/* Icon circles */
.welcome-popup__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(52, 191, 201, 0.22);
    color: var(--bright);
    border: 1px solid rgba(52, 191, 201, 0.3);
}
.welcome-popup__icon--whatsapp {
    background: rgba(37, 211, 102, 0.22);
    color: #4ade80;
    border-color: rgba(37, 211, 102, 0.3);
}
.welcome-popup__icon--cash {
    background: rgba(253, 251, 247, 0.15);
    color: rgba(253, 251, 247, 0.85);
    border-color: rgba(253, 251, 247, 0.2);
}
.welcome-popup__icon svg {
    width: 20px;
    height: 20px;
}

/* CTA button */
.welcome-popup__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 2rem;
    background: var(--wa);
    color: white;
    font-weight: 700;
    font-size: 0.9375rem;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
    animation: welcomeSlideUp 0.6s ease-out 1.2s both;
}
.welcome-popup__cta:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 32px rgba(37, 211, 102, 0.45);
}
.welcome-popup__cta svg {
    width: 22px;
    height: 22px;
}

/* Progress bar */
.welcome-popup__progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(253, 251, 247, 0.12);
    z-index: 10;
}
.welcome-popup__progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--bright), rgba(253, 251, 247, 0.8));
    border-radius: 0 2px 2px 0;
}

/* RTL: Close button */
.bosphorus-rtl .welcome-popup__close {
    right: auto;
    left: 1.5rem;
}

/* RTL: Progress bar */
.bosphorus-rtl .welcome-popup__progress-bar {
    margin-left: auto;
    margin-right: 0;
    border-radius: 2px 0 0 2px;
}

/* Mobile adjustments */
@media (max-width: 640px) {
    .welcome-popup__content {
        padding: 1.5rem;
    }
    .welcome-popup__title {
        font-size: 1.25rem;
    }
    .welcome-popup__item {
        font-size: 0.8125rem;
    }
    .welcome-popup__icon {
        width: 34px;
        height: 34px;
    }
    .welcome-popup__icon svg {
        width: 17px;
        height: 17px;
    }
    .welcome-popup__close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
    .bosphorus-rtl .welcome-popup__close {
        right: auto;
        left: 1rem;
    }
}
