/* custom.css — Doplňkové styly nad Tailwind CSS */

/* ===== GLOBÁLNÍ NASTAVENÍ ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: #0f172a;
    color: #e2e8f0;
    -webkit-font-smoothing: antialiased;
}

/* ===== HERO GRADIENT ===== */
.hero-bg {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 40%, #0c4a6e 100%);
    position: relative;
    overflow: hidden;
}
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(249,115,22,.15) 0%, transparent 60%),
                radial-gradient(ellipse at 20% 80%, rgba(14,165,233,.12) 0%, transparent 50%);
    pointer-events: none;
}

/* ===== KARTA ZÁJEZDU ===== */
.offer-card {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 1rem;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.offer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,.4), 0 0 0 1px rgba(249,115,22,.3);
    border-color: rgba(249,115,22,.3);
}
.offer-card .discount-badge {
    background: linear-gradient(135deg, #ea580c, #f97316);
    color: #fff;
    font-weight: 700;
    font-size: .75rem;
    padding: .25rem .6rem;
    border-radius: .375rem;
    letter-spacing: .03em;
}
.offer-card .urgency-badge {
    background: rgba(239,68,68,.15);
    color: #f87171;
    border: 1px solid rgba(239,68,68,.25);
    font-size: .7rem;
    font-weight: 600;
    padding: .2rem .5rem;
    border-radius: .25rem;
    animation: pulse-red 2s infinite;
}
@keyframes pulse-red {
    0%, 100% { opacity: 1; }
    50%       { opacity: .6; }
}

/* ===== SEKCE ===== */
.section-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: -.02em;
    line-height: 1.2;
}
.section-subtitle {
    font-size: 1.05rem;
    color: #94a3b8;
    max-width: 600px;
}

/* ===== DESTINAČNÍ KARTY ===== */
.dest-card {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: transform .3s ease;
}
.dest-card:hover { transform: scale(1.02); }
.dest-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 55%);
    transition: opacity .3s ease;
}
.dest-card:hover .overlay { opacity: .85; }
.dest-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.dest-card:hover img { transform: scale(1.06); }

/* ===== TLAČÍTKA ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    font-weight: 700;
    padding: .8rem 1.75rem;
    border-radius: .75rem;
    transition: all .2s ease;
    box-shadow: 0 8px 24px rgba(249,115,22,.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(249,115,22,.45);
}

/* ===== FAQ ACCORDION ===== */
.faq-item { border-bottom: 1px solid rgba(255,255,255,.08); }
.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    padding: 1.25rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #f1f5f9;
    font-weight: 600;
    font-size: 1rem;
    transition: color .2s;
}
.faq-question:hover { color: #f97316; }
.faq-answer { display: none; padding-bottom: 1.25rem; color: #94a3b8; line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-arrow { transition: transform .3s ease; color: #f97316; }

/* ===== HVĚZDIČKY ===== */
.stars { color: #fbbf24; letter-spacing: .05em; }

/* ===== SKELET loader ===== */
.skeleton {
    background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: .5rem;
}
@keyframes skeleton-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0f172a; }
::-webkit-scrollbar-thumb { background: #334155; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #475569; }
