/* ═══════════════════════════════════════════════════════════════════════════
   RelaxačnýPobyt.sk – hlavný stylesheet
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── CSS Variables ────────────────────────────────────────────────────────── */
:root {
    --bg: #f6f8fb;
    --surface: #ffffff;
    --surface-2: #eef3f8;
    --surface-3: #e2eaf3;
    --text: #132238;
    --text-light: #3a4f68;
    --muted: #64748b;
    --primary: #175cd3;
    --primary-dark: #0f4cb5;
    --primary-light: #e8f0fe;
    --accent: #10b981;
    --accent-light: #d1fae5;
    --warning: #f59e0b;
    --danger: #e11d48;
    --border: rgba(15, 23, 42, .08);
    --border-strong: rgba(15, 23, 42, .14);
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, .06);
    --shadow: 0 18px 50px rgba(15, 23, 42, .08);
    --shadow-lg: 0 24px 60px rgba(15, 23, 42, .12);
    --shadow-xl: 0 30px 80px rgba(15, 23, 42, .18);
    --radius: 24px;
    --radius-sm: 16px;
    --radius-xs: 10px;
    --transition: .25s ease;
    --font-body: 'DM Sans', 'Segoe UI', sans-serif;
    --font-heading: 'Playfair Display', 'Georgia', serif;
}

/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color var(--transition);
}
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.02em;
    color: var(--text);
}

/* ── Utility ──────────────────────────────────────────────────────────────── */
.container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-muted { color: var(--muted); }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-center { text-align: center; }

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

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: .94rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1.3;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    color: #fff;
    box-shadow: 0 14px 30px rgba(23, 92, 211, .22);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), #2563eb);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(23, 92, 211, .28);
}

.btn-soft {
    background: rgba(23, 92, 211, .08);
    color: var(--primary);
    border: 1px solid rgba(23, 92, 211, .12);
}
.btn-soft:hover {
    background: rgba(23, 92, 211, .14);
    color: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-strong);
}
.btn-outline:hover {
    background: var(--surface-2);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-white {
    background: #fff;
    color: var(--text);
    box-shadow: var(--shadow-sm);
}
.btn-white:hover { box-shadow: var(--shadow); }

.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: .86rem; }

/* ── Navbar ───────────────────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid rgba(15, 23, 42, .06);
    padding: 0;
    transition: box-shadow .3s ease;
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(15, 23, 42, .08); }

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
}

.navbar-brand {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -.02em;
    color: var(--text);
    white-space: nowrap;
}
.navbar-brand span { color: var(--primary); }

.navbar-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
}
.navbar-nav a {
    display: block;
    padding: 8px 16px;
    color: var(--text);
    font-weight: 500;
    font-size: .94rem;
    border-radius: 12px;
    transition: all var(--transition);
}
.navbar-nav a:hover {
    background: var(--surface-2);
    color: var(--primary);
}

.navbar-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--text);
}
.navbar-toggle svg { width: 24px; height: 24px; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    overflow: hidden;
    padding: 130px 0 80px;
    background:
        radial-gradient(circle at 15% 20%, rgba(16, 185, 129, .10), transparent 35%),
        radial-gradient(circle at 85% 30%, rgba(23, 92, 211, .12), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: .35;
    pointer-events: none;
}
.hero::before {
    width: 320px; height: 320px;
    background: rgba(23, 92, 211, .20);
    top: -60px; right: -80px;
}
.hero::after {
    width: 260px; height: 260px;
    background: rgba(16, 185, 129, .18);
    bottom: -60px; left: -60px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .85);
    border: 1px solid rgba(15, 23, 42, .06);
    box-shadow: 0 10px 25px rgba(15, 23, 42, .05);
    font-size: .9rem;
    color: var(--muted);
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(2rem, 3.6vw, 3.6rem);
    line-height: 1.06;
    font-weight: 700;
    letter-spacing: -.04em;
    margin: 0 0 18px;
}

.hero .lead {
    font-size: 1.08rem;
    color: var(--muted);
    max-width: 620px;
    margin: 0 0 28px;
    line-height: 1.7;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    min-height: 500px;
}

.hero-main-card {
    position: absolute;
    top: 0;
    right: 0;
    width: min(100%, 420px);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .7);
}

.hero-main-card .hmc-media {
    height: 260px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-main-card .hmc-body { padding: 22px; }
.hero-main-card .hmc-label {
    font-size: .82rem;
    color: var(--muted);
    margin-bottom: 4px;
}
.hero-main-card h3 {
    font-size: 1.2rem;
    margin: 0 0 4px;
}
.hero-main-card .hmc-location {
    color: var(--muted);
    font-size: .92rem;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 20px;
    box-shadow: 0 16px 35px rgba(15, 23, 42, .10);
    padding: 16px 20px;
    max-width: 260px;
}
.floating-card.fc-1 { left: 0; top: 80px; }
.floating-card.fc-2 { left: 30px; bottom: 20px; max-width: 280px; }
.floating-card strong {
    display: block;
    font-family: var(--font-body);
    font-size: .94rem;
    margin-bottom: 4px;
}
.floating-card .fc-text {
    font-size: .86rem;
    color: var(--muted);
    line-height: 1.5;
}

/* ── Search Card ──────────────────────────────────────────────────────────── */
.search-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    margin-top: 28px;
}

.search-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 14px;
    align-items: end;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
    font-size: .86rem;
    font-weight: 600;
    color: var(--text-light);
}

.form-control,
.form-select {
    padding: 12px 16px;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: .94rem;
    background: #fff;
    color: var(--text);
    transition: border-color var(--transition);
    min-height: 50px;
}
.form-control:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(23, 92, 211, .10);
}

/* ── Quick Pills ──────────────────────────────────────────────────────────── */
.quick-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}
.quick-pills a {
    display: inline-flex;
    align-items: center;
    padding: 9px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text);
    font-size: .88rem;
    font-weight: 500;
    transition: all var(--transition);
}
.quick-pills a:hover {
    transform: translateY(-2px);
    border-color: rgba(23, 92, 211, .25);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* ── Section ──────────────────────────────────────────────────────────────── */
.section {
    padding: 80px 0;
}
.section-bg { background: #fff; }

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 32px;
}
.section-header h2 {
    font-size: clamp(1.5rem, 2.4vw, 2.4rem);
    margin: 0 0 8px;
    letter-spacing: -.03em;
}
.section-header p {
    color: var(--muted);
    margin: 0;
    max-width: 650px;
    font-size: .96rem;
}

/* ── Stats ────────────────────────────────────────────────────────────────── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 24px;
}
.stat-card strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    letter-spacing: -.04em;
    margin-bottom: 4px;
    color: var(--primary);
}
.stat-card span { color: var(--muted); font-size: .92rem; }

/* ── Cards (offers, articles, countries) ──────────────────────────────────── */
.card-grid {
    display: grid;
    gap: 24px;
}
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    height: 100%;
    transition: all var(--transition);
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-media {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    display: inline-flex;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 700;
    background: rgba(255, 255, 255, .95);
    color: var(--text);
    box-shadow: var(--shadow-sm);
}

.card-rating {
    position: absolute;
    right: 16px;
    top: 16px;
    background: rgba(19, 34, 56, .82);
    color: #fff;
    padding: 7px 11px;
    border-radius: 14px;
    font-size: .84rem;
    font-weight: 700;
}

.card-body { padding: 22px; }

.card-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: .88rem;
    margin-bottom: 10px;
}

.card h3 {
    font-size: 1.15rem;
    margin: 0 0 8px;
}

.card p {
    color: var(--muted);
    font-size: .92rem;
    margin: 0;
    line-height: 1.6;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}
.card-tags span {
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--text-light);
    font-size: .82rem;
    font-weight: 500;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.price-box small {
    display: block;
    color: var(--muted);
    font-size: .82rem;
}
.price-box strong {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: -.03em;
}

/* Country card */
.country-card .card-media { height: 180px; }
.country-card .card-body { padding: 18px 22px; }
.country-card h3 { font-size: 1.08rem; margin: 0 0 4px; }
.country-card .count {
    color: var(--primary);
    font-weight: 700;
    font-size: .88rem;
    margin-bottom: 6px;
}
.country-card p { font-size: .88rem; }

/* Editorial / Magazine card */
.editorial-card .card-media { height: 200px; }
.editorial-card .card-label {
    font-size: .82rem;
    color: var(--muted);
    margin-bottom: 8px;
}

/* Feature card */
.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
    transition: all var(--transition);
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(23, 92, 211, .10), rgba(16, 185, 129, .08));
    font-size: 1.4rem;
    margin-bottom: 18px;
}
.feature-card h3 { font-size: 1.08rem; margin: 0 0 8px; }
.feature-card p { color: var(--muted); margin: 0; font-size: .92rem; }

/* ── Content Layout (sidebar + main) ─────────────────────────────────────── */
.content-shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.sidebar {
    position: sticky;
    top: 92px;
}

.sidebar-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
}
.sidebar-card h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 18px;
}
.sidebar-card .form-group + .form-group { margin-top: 14px; }

/* ── Newsletter ───────────────────────────────────────────────────────────── */
.newsletter {
    padding: 40px;
    background: linear-gradient(135deg, #132238, var(--primary));
    color: #fff;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
}
.newsletter::before {
    content: '';
    position: absolute;
    width: 260px; height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    top: -90px; right: -70px;
}
.newsletter h2 {
    color: #fff;
    margin: 0 0 8px;
    font-size: 1.6rem;
}
.newsletter p {
    color: rgba(255, 255, 255, .65);
    margin: 0;
}
.newsletter-form {
    display: flex;
    gap: 10px;
}
.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 999px;
    font-size: .94rem;
    font-family: var(--font-body);
}
.newsletter-form button {
    white-space: nowrap;
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
.footer {
    background: #0f172a;
    color: rgba(255, 255, 255, .78);
    padding: 64px 0 28px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-title {
    color: #fff;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .94rem;
    margin-bottom: 16px;
}
.footer a { color: rgba(255, 255, 255, .78); }
.footer a:hover { color: #fff; }

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-links li + li { margin-top: 10px; }
.footer-links a { font-size: .92rem; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 20px;
    font-size: .84rem;
    color: rgba(255, 255, 255, .45);
}

/* ── CMS Content Styling ──────────────────────────────────────────────────── */
.cms-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}
.cms-body h1 { font-size: 2.2rem; margin: 0 0 16px; }
.cms-body h2 { font-size: 1.6rem; margin: 32px 0 12px; }
.cms-body h3 { font-size: 1.3rem; margin: 28px 0 10px; }
.cms-body p { margin: 0 0 16px; line-height: 1.75; }
.cms-body img { border-radius: var(--radius-xs); margin: 20px 0; }
.cms-body ul, .cms-body ol { padding-left: 24px; margin: 0 0 16px; }
.cms-body li { margin-bottom: 6px; }
.cms-body blockquote {
    border-left: 4px solid var(--primary);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--primary-light);
    border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
    color: var(--text-light);
}

.cms-section { padding: 40px 0; }
.cms-section .section-title {
    font-size: 1.5rem;
    margin: 0 0 16px;
}

/* ── Offer Detail ─────────────────────────────────────────────────────────── */
.offer-hero {
    padding: 100px 0 40px;
    background: linear-gradient(180deg, #fff, var(--bg));
}

.offer-gallery {
    border-radius: var(--radius);
    overflow: hidden;
    height: 420px;
    background-size: cover;
    background-position: center;
    margin-bottom: 24px;
}

.offer-gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
}
.offer-gallery-thumbs img {
    width: 80px;
    height: 60px;
    border-radius: var(--radius-xs);
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color var(--transition);
}
.offer-gallery-thumbs img:hover,
.offer-gallery-thumbs img.active {
    border-color: var(--primary);
}

.offer-params {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin: 20px 0;
}
.offer-param {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--surface-2);
    border-radius: var(--radius-xs);
    font-size: .92rem;
}
.offer-param .param-icon { font-size: 1.2rem; }
.offer-param .param-label { color: var(--muted); font-size: .82rem; }
.offer-param .param-value { font-weight: 600; }

.offer-cta-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
    position: sticky;
    top: 92px;
}
.offer-cta-card .price-big {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -.03em;
}
.offer-cta-card .price-label {
    color: var(--muted);
    font-size: .88rem;
}

/* ── Listing page ─────────────────────────────────────────────────────────── */
.listing-header {
    padding: 100px 0 30px;
    background: linear-gradient(180deg, #fff, var(--bg));
}
.listing-header h1 { font-size: 2rem; margin: 0 0 8px; }
.listing-header p { color: var(--muted); margin: 0; }

.listing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.listing-count {
    font-size: .94rem;
    color: var(--muted);
    margin-bottom: 20px;
}
.listing-count strong { color: var(--text); }

/* Sponsored card overlay */
.card-sponsored::after {
    content: 'Sponzorované';
    position: absolute;
    bottom: 12px;
    right: 12px;
    font-size: .72rem;
    color: var(--muted);
    background: rgba(255,255,255,.9);
    padding: 3px 8px;
    border-radius: 6px;
}

/* ── Alerts ───────────────────────────────────────────────────────────────── */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-xs);
    margin-bottom: 16px;
    font-size: .94rem;
}
.alert-success { background: var(--accent-light); color: #065f46; border: 1px solid rgba(16,185,129,.2); }
.alert-danger { background: #fef2f2; color: #991b1b; border: 1px solid rgba(225,29,72,.15); }
.alert-warning { background: #fffbeb; color: #92400e; border: 1px solid rgba(245,158,11,.2); }
.alert-info { background: var(--primary-light); color: var(--primary-dark); border: 1px solid rgba(23,92,211,.15); }

/* ── Forms (public) ───────────────────────────────────────────────────────── */
.cms-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* ── 404 page ─────────────────────────────────────────────────────────────── */
.not-found {
    text-align: center;
    padding: 120px 20px 80px;
}
.not-found h1 {
    font-size: 6rem;
    color: var(--primary);
    margin: 0;
}
.not-found p {
    color: var(--muted);
    font-size: 1.1rem;
    margin: 12px 0 28px;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 1199px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .content-shell { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 991px) {
    .hero { padding-top: 110px; }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .hero-visual {
        min-height: auto;
        position: static;
        display: block;
    }
    .hero-main-card {
        position: static;
        width: 100%;
        max-width: 100%;
    }
    .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .listing-grid { grid-template-columns: repeat(2, 1fr); }
    .navbar-nav { display: none; }
    .navbar-toggle { display: block; }
}

@media (max-width: 767px) {
    .section { padding: 56px 0; }
    .search-row { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .card-grid-3,
    .card-grid-4 { grid-template-columns: 1fr; }
    .listing-grid { grid-template-columns: 1fr; }
    .section-header { flex-direction: column; align-items: flex-start; }
    .footer-grid { grid-template-columns: 1fr; }
    .newsletter { padding: 28px; }
    .newsletter-form { flex-direction: column; }
    .hero h1 { font-size: 1.8rem; }
}

/* ═══════════════════════════════════════════════════════════════
   OFFER DETAIL PAGE
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero obrázok ─────────────────────────────────────────────────────────── */
.offer-hero-image {
    width: 100%;
    height: 400px;
    background: none; /* pôvodné background-image nechaj vypnúť na rodičovi */
    background-color: var(--surface-2);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

    .offer-hero-image::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: inherit;
        background-size: cover;
        background-position: center;
        transform: scale(1.12);
        animation: offerHeroZoom 5s ease-out forwards;
        will-change: transform;
    }

    .offer-hero-image > * {
        position: relative;
        z-index: 2;
    }

@keyframes offerHeroZoom {
    from {
        transform: scale(1.12);
    }

    to {
        transform: scale(1);
    }
}

.offer-discount-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #dc2626;
    color: #fff;
    font-weight: 700;
    font-size: .9rem;
    padding: 4px 12px;
    border-radius: 20px;
}

.offer-unavailable-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0,0,0,.6);
    color: #fff;
    font-size: .85rem;
    padding: 4px 12px;
    border-radius: 20px;
}

/* ── Meta strip ───────────────────────────────────────────────────────────── */
.offer-meta-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: .88rem;
    color: var(--text-light);
}

/* ── Hlavný layout: 2 stĺpce ─────────────────────────────────────────────── */
.offer-detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
    margin-top: 24px;
}

.offer-detail-main {
    min-width: 0;
}

/* ── Sekcie v hlavnom stĺpci ─────────────────────────────────────────────── */
.offer-detail-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.offer-detail-section:first-child {
    border-top: none;
    padding-top: 0;
    margin-top: 14px;
}

.offer-detail-section h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text);
}

/* ── Parametre pobytu grid ───────────────────────────────────────────────── */
.offer-params-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.offer-param {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
}

.offer-param-icon {
    font-size: 1.2rem;
    line-height: 1.2;
    flex-shrink: 0;
}

.offer-param-label {
    font-size: .76rem;
    color: var(--muted);
    margin-bottom: 2px;
}

.offer-param-value {
    font-size: .88rem;
    font-weight: 600;
    color: var(--text);
}

/* ── Tagy na detail stránke ──────────────────────────────────────────────── */
.offer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

/* ── Sidebar – sticky cenový box ─────────────────────────────────────────── */
.offer-detail-sidebar {
    position: sticky;
    top: 24px;
}

.offer-price-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
}

.price-card-head {
    margin-bottom: 6px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.price-original {
    font-size: .85rem;
    color: var(--muted);
    text-decoration: line-through;
    margin-bottom: 2px;
}

.price-main {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.1;
}

.price-main small {
    font-size: .8rem;
    font-weight: 400;
    color: var(--muted);
}

.price-per-night {
    font-size: .8rem;
    color: var(--muted);
    margin-top: 4px;
}

.price-card-params {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: .86rem;
    color: var(--text-light);
}

.offer-affiliate-note {
    margin-top: 12px;
    font-size: .75rem;
    color: var(--muted);
    line-height: 1.5;
    border-top: 1px solid var(--border);
    padding-top: 10px;
}

/* ── Breadcrumb ──────────────────────────────────────────────────────────── */
.breadcrumb {
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    font-size: .82rem;
    color: var(--muted);
}

.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    margin: 0 4px;
}

/* ── Responzívnosť ───────────────────────────────────────────────────────── */
@media (max-width: 960px) {
    .offer-detail-layout {
        grid-template-columns: 1fr;
    }
    .offer-detail-sidebar {
        position: static;
    }
    .offer-hero-image {
        height: 260px;
    }
    .offer-params-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .offer-hero-image {
        height: 200px;
        border-radius: var(--radius-sm);
    }
    .offer-params-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   ARTICLE / MAGAZÍN DETAIL
   ═══════════════════════════════════════════════════════════════════════════ */

/* Hero obrázok */
.article-hero {
    width: 100%;
    height: 420px;
    background-size: cover;
    background-position: center;
    background-color: var(--surface-2);
}

/* Layout: úzky stĺpec pre text */
.article-layout {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 0 64px;
}

.article-breadcrumb {
    font-size: .85rem;
    color: var(--muted);
    margin-bottom: 20px;
}
.article-breadcrumb a { color: var(--muted); text-decoration: none; }
.article-breadcrumb a:hover { color: var(--primary); }
.article-breadcrumb span { margin: 0 6px; }

.article-category {
    font-size: .82rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 12px;
}

.article-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.02em;
    margin: 0 0 20px;
    color: var(--text);
}

.article-perex {
    font-size: 1.12rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.article-intro,
.article-body {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.article-intro p,
.article-body p { margin-bottom: 18px; }

.article-intro h2,
.article-body h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 32px 0 14px;
    color: var(--text);
}

.article-intro h3,
.article-body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 24px 0 10px;
    color: var(--text);
}

.article-body { margin-top: 24px; }

@media (max-width: 768px) {
    .article-hero { height: 240px; }
    .article-layout { padding: 24px 0 40px; }
    .article-title { font-size: 1.5rem; }
}
