/* ═══════════════════════════════════════════════════════════
   SKYRISE LIVEABOARD — Clean, light, mobile-first
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   EDITORIAL SECTIONS (story / cabin / on board)
   — small deltas on top of the shared tours.css patterns
   ═══════════════════════════════════════════════════════════ */

.venue-card--wide {
    min-height: 320px;
}

@media (max-width: 575.98px) {
    .venue-card--wide {
        min-height: 260px;
    }
}

/* Story image grid on small screens: keep the accent tile tight */
@media (max-width: 575.98px) {
    .story-image-grid {
        min-height: 300px;
    }
}

/* Cabin frame on small screens */
@media (max-width: 575.98px) {
    .curated-image-frame {
        min-height: 260px;
    }
    .curated-image-frame img {
        min-height: 260px;
    }
}

/* ═══════════════════════════════════════════════════════════
   VESSEL CARD IMAGE OVERLAY
   ═══════════════════════════════════════════════════════════ */

.vessel-cover {
    position: relative;
    height: 240px;
    overflow: hidden;
    border-radius: var(--card-radius) var(--card-radius) 0 0;
    background: var(--bg-secondary);
}

.vessel-cover__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out);
}

.vessel-cover:hover .vessel-cover__img {
    transform: scale(1.04);
}

.vessel-cover__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.12) 0%,
        rgba(0, 0, 0, 0.04) 40%,
        rgba(0, 0, 0, 0.45) 100%
    );
    pointer-events: none;
}

.vessel-cover__btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease, color 0.2s ease;
}

.vessel-cover:hover .vessel-cover__btn,
.vessel-cover:focus-within .vessel-cover__btn {
    opacity: 1;
}

.vessel-cover__btn:hover,
.vessel-cover__btn:focus {
    transform: translate(-50%, -50%) translateY(-2px);
}

/* Ensure the badge at the bottom-left stays readable */
.vessel-cover .badge {
    z-index: 2;
}

/* ═══════════════════════════════════════════════════════════
   VESSEL DETAIL PAGE — CLEAN HERO
   ═══════════════════════════════════════════════════════════ */

.vessel-hero-media {
    position: relative;
    height: 380px;
    border-radius: var(--card-radius);
    overflow: hidden;
}

.vessel-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vessel-hero-media__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.05) 0%,
        rgba(0, 0, 0, 0.25) 100%
    );
    pointer-events: none;
}

.vessel-hero-media__cta {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    z-index: 2;
}

/* ═══════════════════════════════════════════════════════════
   GALLERY THUMBNAILS
   ═══════════════════════════════════════════════════════════ */

.gallery-thumb {
    position: relative;
    display: block;
    height: 180px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 60, 100, 0.06);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease-out);
}

.gallery-thumb:hover img {
    transform: scale(1.05);
}

.gallery-thumb__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.65));
    color: #ffffff;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 767.98px) {
    .vessel-cover {
        height: 200px;
    }

    .vessel-hero-media {
        height: 260px;
    }

    .gallery-thumb {
        height: 140px;
    }
}

@media (max-width: 575.98px) {
    .vessel-cover__btn {
        opacity: 1;
        padding: 0.45rem 0.9rem;
        font-size: 0.85rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vessel-cover__img,
    .gallery-thumb img {
        transition: none;
        transform: none !important;
    }
}

/* ═══════════════════════════════════════════════════════════
   SAFARI VESSEL — PROMO PAGE (experience, not specs)
   ═══════════════════════════════════════════════════════════ */

/* ── Full-bleed hero ─────────────────────────── */
.sv-hero {
    position: relative;
    min-height: 560px;
    padding: 6rem 0 4rem;
    overflow: hidden;
    background: #0b2b36; /* deep-sea fallback */
    color: #ffffff;
}

.sv-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sv-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        100deg,
        rgba(6, 25, 34, 0.82) 0%,
        rgba(6, 25, 34, 0.55) 45%,
        rgba(6, 25, 34, 0.15) 100%
    );
    pointer-events: none;
}

.sv-hero__eyebrow {
    display: inline-block;
    padding: 0.45rem 1rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: rgba(0, 124, 145, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}

.sv-hero__title {
    font-size: clamp(2.4rem, 6vw, 4.25rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.sv-hero__tagline {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 620px;
    margin-bottom: 0;
}

.sv-hero__stat {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.sv-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ── Copy ────────────────────────────────────── */
.sv-copy {
    line-height: 1.8;
}

.sv-section .section-label {
    margin-bottom: 0.5rem;
}

/* ── What's included card ────────────────────── */
.sv-included {
    border-radius: var(--card-radius);
    overflow: hidden;
}

.sv-included__list li {
    display: flex;
    align-items: flex-start;
    padding: 0.45rem 0;
    font-weight: 500;
}

.sv-included__list li i {
    margin-top: 0.2rem;
}

/* ── Photo grids ─────────────────────────────── */
.sv-photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}

.sv-photo {
    display: block;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: var(--bg-secondary);
}

.sv-photo--wide {
    aspect-ratio: 4 / 3;
}

.sv-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out);
}

.sv-photo:hover img {
    transform: scale(1.05);
}

/* ── CTA band ────────────────────────────────── */
.sv-cta {
    background: linear-gradient(135deg, #007c91 0%, #0b2b36 100%);
    color: #ffffff;
}

.sv-cta__eyebrow {
    display: inline-block;
    padding: 0.4rem 1rem;
    margin-bottom: 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.sv-cta__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.sv-cta__body {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

@media (max-width: 575.98px) {
    .sv-hero {
        min-height: 480px;
    }
}

/* ═══════════════════════════════════════════════════════════
   BOOKING CTA — single-line labels across languages (zh/ru)
   Translated labels (e.g. «Напишите в WhatsApp», «WhatsApp 联系»)
   are longer than English. Keep each label on one line and let
   the button size to its content instead of being squeezed by
   flex-fill (which forced awkward mid-phrase wrapping).
   ═══════════════════════════════════════════════════════════ */
#book .btn {
    white-space: nowrap;
}

/* CJK / Cyrillic glyphs render larger and boxier than Latin —
   a slightly smaller label keeps the three CTAs visually balanced. */
html[lang="zh"] #book .btn,
html[lang="ru"] #book .btn {
    font-size: 1.05rem;
}

@media (prefers-reduced-motion: reduce) {
    .sv-hero__bg,
    .sv-photo img {
        transition: none;
        transform: none !important;
    }
}

