/* ================================================================
   UTAZÁSFIGYELŐ — Modern UI System
   ================================================================ */

:root {
    --uf-brand: #2563eb;
    --uf-brand-hover: #1d4ed8;
    --uf-brand-soft: #eff6ff;

    --uf-ink: #0f172a;
    --uf-text: #334155;
    --uf-muted: #64748b;
    --uf-subtle: #94a3b8;

    --uf-bg: #f7f9fc;
    --uf-surface: #ffffff;
    --uf-surface-soft: #f8fafc;

    --uf-border: #e7ecf2;
    --uf-border-strong: #dbe3ec;

    --uf-green: #059669;
    --uf-green-soft: #ecfdf5;

    --uf-orange: #ea580c;
    --uf-orange-soft: #fff7ed;

    --uf-purple: #7c3aed;
    --uf-purple-soft: #f5f3ff;

    --uf-radius-sm: 10px;
    --uf-radius: 16px;
    --uf-radius-lg: 22px;
    --uf-radius-xl: 28px;

    --uf-shadow-sm:
        0 1px 2px rgba(15, 23, 42, .03),
        0 4px 16px rgba(15, 23, 42, .035);

    --uf-shadow:
        0 1px 2px rgba(15, 23, 42, .03),
        0 10px 35px rgba(15, 23, 42, .055);

    --uf-shadow-hover:
        0 2px 4px rgba(15, 23, 42, .04),
        0 16px 38px rgba(15, 23, 42, .09);

    --uf-container: 1180px;
}


/* ================================================================
   BASE
   ================================================================ */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        linear-gradient(
            180deg,
            #ffffff 0,
            var(--uf-bg) 420px
        );
    color: var(--uf-text);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    font-size: 15px;
    line-height: 1.55;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}


/* ================================================================
   EXISTING PAGE SHELL
   ================================================================ */

.trip-page,
.page-container,
.container {
    width: min(
        calc(100% - 40px),
        var(--uf-container)
    );

    margin-left: auto;
    margin-right: auto;
}

.trip-page {
    padding-top: 28px;
    padding-bottom: 70px;
}


/* ================================================================
   OLD GENERIC SECTIONS — MODERN OVERRIDE
   ================================================================ */

.trip-page > .section,
.trip-page .section {
    margin-top: 24px;
    padding: 26px;

    border: 1px solid var(--uf-border);
    border-radius: var(--uf-radius-lg);

    background: rgba(255, 255, 255, .96);

    box-shadow: var(--uf-shadow-sm);
}

.trip-page .section h1,
.trip-page .section h2,
.trip-page .section h3 {
    color: var(--uf-ink);
    letter-spacing: -.025em;
}

.trip-page .section h2 {
    margin-top: 0;
    margin-bottom: 7px;

    font-size: 22px;
    line-height: 1.2;
    font-weight: 750;
}

.section-subtitle {
    color: var(--uf-muted);
    font-size: 14px;
    line-height: 1.55;
}


/* ================================================================
   BUTTONS
   ================================================================ */

.uf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 44px;

    padding: 0 17px;

    border: 0;
    border-radius: 12px;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    cursor: pointer;

    transition:
        transform .15s ease,
        box-shadow .15s ease,
        background .15s ease;
}

.uf-btn:hover {
    transform: translateY(-1px);
}

.uf-btn-primary {
    background: var(--uf-brand);
    color: white;

    box-shadow:
        0 6px 16px rgba(37, 99, 235, .18);
}

.uf-btn-primary:hover {
    background: var(--uf-brand-hover);
}

.uf-btn-dark {
    background: var(--uf-ink);
    color: white;
}

.uf-btn-soft {
    background: var(--uf-brand-soft);
    color: var(--uf-brand);
}


/* ================================================================
   EXPERIENCE SECTION
   ================================================================ */

.uf-exp-section {
    margin-top: 24px;
    padding: 28px;

    border: 1px solid var(--uf-border);
    border-radius: var(--uf-radius-xl);

    background: var(--uf-surface);

    box-shadow: var(--uf-shadow);
}

.uf-exp-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.uf-exp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin-bottom: 8px;

    color: var(--uf-brand);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.uf-exp-title {
    margin: 0;

    color: var(--uf-ink);

    font-size: clamp(24px, 3vw, 30px);
    font-weight: 780;
    line-height: 1.15;

    letter-spacing: -.035em;
}

.uf-exp-description {
    max-width: 680px;

    margin-top: 10px;

    color: var(--uf-muted);

    font-size: 14px;
    line-height: 1.6;
}

.uf-section-heading {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-top: 32px;
    margin-bottom: 15px;

    color: var(--uf-ink);

    font-size: 17px;
    font-weight: 750;
}

.uf-section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border-radius: 10px;

    background: var(--uf-brand-soft);
    color: var(--uf-brand);
}

.uf-section-note {
    color: var(--uf-subtle);
    font-size: 12px;
    font-weight: 500;
}


/* ================================================================
   PAID EXPERIENCES
   ================================================================ */

.uf-experience-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 16px;
}

.uf-experience-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-width: 0;

    overflow: hidden;

    border: 1px solid var(--uf-border);
    border-radius: 18px;

    background: var(--uf-surface);

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

.uf-experience-card:hover {
    transform: translateY(-3px);

    border-color: #d6dfeb;

    box-shadow: var(--uf-shadow-hover);
}

.uf-experience-media {
    position: relative;

    height: 175px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #eff6ff,
            #f8fafc
        );
}

.uf-experience-media img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .3s ease;
}

.uf-experience-card:hover
.uf-experience-media img {
    transform: scale(1.025);
}

.uf-experience-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    color: var(--uf-brand);
}

.uf-provider-pill {
    position: absolute;
    left: 12px;
    bottom: 12px;

    display: inline-flex;

    padding: 6px 9px;

    border-radius: 999px;

    background: rgba(15, 23, 42, .82);
    color: #fff;

    backdrop-filter: blur(8px);

    font-size: 11px;
    font-weight: 700;
}

.uf-experience-content {
    display: flex;
    flex: 1;
    flex-direction: column;

    padding: 17px;
}

.uf-experience-title {
    color: var(--uf-ink);

    font-size: 15px;
    font-weight: 750;
    line-height: 1.4;
}

.uf-experience-category {
    margin-top: 5px;

    color: var(--uf-muted);
    font-size: 12px;
}

.uf-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;

    margin-top: 13px;
}

.uf-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;

    padding: 5px 8px;

    border-radius: 999px;

    background: var(--uf-surface-soft);
    color: var(--uf-muted);

    font-size: 11px;
    font-weight: 650;
}

.uf-experience-bottom {
    margin-top: auto;
    padding-top: 18px;
}

.uf-price {
    margin-bottom: 11px;

    color: var(--uf-ink);

    font-size: 21px;
    font-weight: 800;

    letter-spacing: -.025em;
}

.uf-price-small {
    margin-left: 3px;

    color: var(--uf-muted);

    font-size: 12px;
    font-weight: 500;
}


/* ================================================================
   LOCAL PLACES
   ================================================================ */

.uf-local-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 12px;
}

.uf-local-card {
    position: relative;

    padding: 16px;

    border: 1px solid var(--uf-border);
    border-radius: 16px;

    background: var(--uf-surface-soft);

    transition:
        background .15s ease,
        border-color .15s ease,
        transform .15s ease;
}

.uf-local-card:hover {
    transform: translateY(-2px);

    border-color: #d5dfeb;

    background: #fff;
}

.uf-local-top {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.uf-local-icon {
    display: flex;
    flex: 0 0 auto;

    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    border-radius: 12px;

    background: white;
    color: var(--uf-brand);

    box-shadow:
        inset 0 0 0 1px var(--uf-border);
}

.uf-local-title {
    margin-top: 1px;

    color: var(--uf-ink);

    font-size: 14px;
    font-weight: 750;
    line-height: 1.35;
}

.uf-local-type {
    margin-top: 3px;

    color: var(--uf-muted);

    font-size: 11px;
}

.uf-local-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;

    margin-top: 13px;
}

.uf-local-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    margin-top: 13px;

    color: var(--uf-brand);

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;
}

.uf-local-link:hover {
    text-decoration: underline;
}


/* ================================================================
   PROVIDER DISCOVERY
   ================================================================ */

.uf-provider-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;
}

.uf-provider-card {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 18px;

    padding: 17px 18px;

    border: 1px solid var(--uf-border);
    border-radius: 16px;

    background: var(--uf-surface-soft);
}

.uf-provider-card-title {
    color: var(--uf-ink);

    font-size: 14px;
    font-weight: 750;
}

.uf-provider-card-text {
    margin-top: 4px;

    color: var(--uf-muted);

    font-size: 12px;
    line-height: 1.45;
}


/* ================================================================
   ANCILLARIES / UPSELL
   ================================================================ */

.uf-extra-section {
    margin-top: 24px;
    padding: 28px;

    border: 1px solid var(--uf-border);
    border-radius: var(--uf-radius-xl);

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f8fbff 100%
        );

    box-shadow: var(--uf-shadow);
}

.uf-extra-header {
    max-width: 720px;
}

.uf-extra-eyebrow {
    margin-bottom: 7px;

    color: var(--uf-brand);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.uf-extra-title {
    margin: 0;

    color: var(--uf-ink);

    font-size: 24px;
    font-weight: 780;
    letter-spacing: -.03em;
}

.uf-extra-subtitle {
    margin-top: 8px;

    color: var(--uf-muted);

    font-size: 14px;
    line-height: 1.55;
}

.uf-extra-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;

    margin-top: 20px;
}

.uf-extra-card {
    display: flex;
    flex-direction: column;

    min-height: 205px;

    padding: 20px;

    border: 1px solid var(--uf-border);
    border-radius: 18px;

    background: rgba(255,255,255,.92);

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

.uf-extra-card:hover {
    transform: translateY(-3px);

    border-color: #d5dfeb;

    box-shadow: var(--uf-shadow-hover);
}

.uf-extra-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    border-radius: 14px;

    color: var(--uf-brand);
    background: var(--uf-brand-soft);
}

.uf-extra-card-title {
    margin-top: 16px;

    color: var(--uf-ink);

    font-size: 17px;
    font-weight: 760;
}

.uf-extra-card-text {
    margin-top: 6px;

    color: var(--uf-muted);

    font-size: 13px;
    line-height: 1.55;
}

.uf-extra-action {
    margin-top: auto;
    padding-top: 19px;
}

.uf-extra-note {
    display: flex;
    align-items: flex-start;
    gap: 7px;

    margin-top: 17px;

    color: var(--uf-subtle);

    font-size: 11px;
    line-height: 1.5;
}


/* ================================================================
   DISCLOSURES
   ================================================================ */

.uf-disclosure {
    margin-top: 20px;

    color: var(--uf-subtle);

    font-size: 11px;
    line-height: 1.55;
}


/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 920px) {
    .uf-experience-grid,
    .uf-local-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .trip-page,
    .page-container,
    .container {
        width: min(
            calc(100% - 24px),
            var(--uf-container)
        );
    }

    .trip-page {
        padding-top: 16px;
        padding-bottom: 40px;
    }

    .uf-exp-section,
    .uf-extra-section,
    .trip-page > .section,
    .trip-page .section {
        padding: 20px;

        border-radius: 20px;
    }

    .uf-provider-grid,
    .uf-extra-grid {
        grid-template-columns: 1fr;
    }

    .uf-exp-heading {
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    body {
        font-size: 14px;
    }

    .uf-experience-grid,
    .uf-local-grid {
        grid-template-columns: 1fr;
    }

    .uf-experience-media {
        height: 190px;
    }

    .uf-provider-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .uf-provider-card .uf-btn {
        width: 100%;
    }

    .uf-exp-title {
        font-size: 24px;
    }

    .uf-extra-title {
        font-size: 22px;
    }
}
