/* Pompeje Bilety — szablon Wanderlust, warstwa UI */

body {
    font-family: 'DM Sans', 'Open Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', 'Roboto', serif;
    font-weight: 700;
}

html {
    scroll-behavior: smooth;
}

/* —— Header: szkło, cień, lepsza hierarchia —— */
.site-header {
    pointer-events: none;
}
.site-header > div {
    pointer-events: auto;
}

.nav-shell {
    align-items: center;
    min-width: 0;
    gap: 0.375rem;
}

/* Twardy rozmiar logo w pasku — unika pękania flexa i zawijania wysokiego wiersza */
.site-header .nav-shell > a[href="/"] img {
    display: block;
    width: auto;
    height: 2.25rem;
    max-height: 2.5rem;
    object-fit: contain;
}
@media (min-width: 640px) {
    .site-header .nav-shell > a[href="/"] img {
        height: 2.5rem;
    }
}

/* Linki w menu — subtelne, „premium” */
.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: #475569;
    border-radius: 0.5rem;
    white-space: nowrap;
}

.nav-link:hover {
    color: #0f172a;
    background: rgba(249, 115, 22, 0.08);
}

.nav-link[aria-current="page"] {
    color: #c2410c;
    background: rgba(249, 115, 22, 0.12);
}

.nav-link[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.2rem;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #fb923c, #ea580c);
}

/* CTA w nagłówku — zostaje wyraźny, nie zmieniamy kształtu mocno */
.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #fff;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    border-radius: 9999px;
    box-shadow: 0 2px 10px rgba(234, 88, 12, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    white-space: nowrap;
}
.header-cta:hover {
    filter: brightness(1.05);
    box-shadow: 0 4px 16px rgba(234, 88, 12, 0.45);
    transform: translateY(-1px);
}

#burger-menu {
    color: #334155;
    border-radius: 0.75rem;
    pointer-events: auto;
}
#burger-menu:hover {
    background: #f1f5f9;
    color: #0f172a;
}

#mobile-menu {
    border-radius: 0 0 1.25rem 1.25rem;
    box-shadow: 0 16px 40px -12px rgba(15, 23, 42, 0.15);
    border: 1px solid #e2e8f0;
    border-top: none;
    margin: 0 0.5rem 0.5rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
}

#mobile-menu a {
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
}
#mobile-menu a:hover {
    background: #f8fafc;
}

#mobile-menu .header-cta {
    display: flex;
    width: 100%;
    padding: 0.75rem 1rem;
}

/* Przyciski w treści (nie nagłówek) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.2;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
}
.btn:focus-visible {
    outline: 2px solid #f97316;
    outline-offset: 3px;
}

.btn-primary {
    padding: 0.85rem 1.6rem;
    font-size: 1rem;
    color: #fff;
    background: linear-gradient(145deg, #f97316 0%, #ea580c 45%, #c2410c 100%);
    border-radius: 9999px;
    box-shadow: 0 4px 18px rgba(234, 88, 12, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(234, 88, 12, 0.5);
    filter: brightness(1.03);
}

.btn-secondary-light {
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 9999px;
    backdrop-filter: blur(8px);
}
.btn-secondary-light:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-1px);
}

.btn-section-dark {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    color: #fff;
    background: #0f172a;
    border-radius: 9999px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.btn-section-dark:hover {
    background: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.28);
}

/* Hero podstron: panel zamiast przyciemniania zdjęcia */
.inner-page-hero {
    min-height: 42vh;
}
.inner-hero-panel {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 1.25rem;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 20px 50px -12px rgba(15, 23, 42, 0.15);
    padding: 1.5rem 1.5rem 1.75rem;
}
@media (min-width: 768px) {
    .inner-hero-panel {
        padding: 2rem 2.5rem 2.25rem;
    }
    .inner-page-hero {
        min-height: 46vh;
    }
}
.inner-hero-title {
    color: #0f172a;
    text-shadow: none;
}
.inner-hero-lead {
    color: #475569;
}

/* Spacer pod fixed header na podstronach */
body.inner-page {
    --header-offset: 6.25rem;
}
main.inner-with-fixed-nav {
    padding-top: var(--header-offset);
}

.travel-card {
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.08);
}

.travel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px -8px rgba(0, 0, 0, 0.15);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
    animation: fadeUp 0.6s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

#mobile-menu {
    transition: all 0.3s ease-in-out;
}

.faq-item { transition: all 0.3s ease; }
.faq-question { cursor: pointer; }
.faq-icon {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer:not(.hidden) {
    max-height: 1000px;
}

button:focus, a:focus {
    outline: none;
}
button:focus-visible, a:focus-visible {
    outline: 2px solid #f97316;
    outline-offset: 2px;
}

@media print {
    nav, footer, button { display: none; }
}

/* :where() keeps specificity 0 so Tailwind h-*, w-* on <img> (e.g. header logo) are not overridden */
:where(img) {
    max-width: 100%;
    height: auto;
}

main { padding-top: 0; }

.hero-overlay {
    background: linear-gradient(to bottom, rgba(17, 24, 39, 0.78), rgba(17, 24, 39, 0.68), rgba(17, 24, 39, 0.9));
}

body.inner-page nav[aria-label="Breadcrumb główne"] { padding-top: 0.5rem; }

/* Treść: mniej agresywny kolor linków, naturalny rytm */
.content-prose a,
article.content-prose a {
    color: #c2410c;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(194, 65, 12, 0.35);
    text-underline-offset: 0.2em;
}
.content-prose a:hover {
    color: #9a3412;
    text-decoration-color: rgba(154, 52, 18, 0.55);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
