:root {
    --bg-main: #181d23;
    --bg-section: #1b2026;
    --bg-section-alt: #161b21;
    --bg-card: rgba(34, 38, 49, 0.96);
    --border-soft: rgba(255, 255, 255, 0.08);
    --border-strong: #232a35;
    --text-main: #ffffff;
    --text-bright: rgba(255, 255, 255, 0.9);
    --text-muted: rgba(255, 255, 255, 0.82);
    --text-soft: rgba(255, 255, 255, 0.7);
    --yellow: #ffd02b;
    --yellow-hover: #f7ba00;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
}

section[id],
header[id] {
    scroll-margin-top: 96px;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.skip-link {
    position: absolute;
    top: -48px;
    left: 1rem;
    z-index: 2000;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: var(--yellow);
    color: #111;
    font-weight: 700;
    transition: top 0.2s ease;
}

    .skip-link:focus {
        top: 1rem;
        color: #111;
    }

.fixed-navbar {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1055;
    background: rgba(10, 13, 18, 0.88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.16);
}

.navbar-brand {
    letter-spacing: 0.02em;
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    transition: color 0.2s ease, opacity 0.2s ease;
}

    .navbar .nav-link:hover,
    .navbar .nav-link:focus,
    .navbar .nav-link.active {
        color: #fff !important;
    }

.navbar .btn-warning,
.btn-warning {
    border-radius: 999px;
    font-weight: 700;
    background: var(--yellow);
    color: #181d23;
    border: none;
    box-shadow: 0 2px 12px rgba(255, 208, 43, 0.22);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

    .navbar .btn-warning:hover,
    .navbar .btn-warning:focus,
    .btn-warning:hover,
    .btn-warning:focus {
        background: var(--yellow-hover);
        color: #181d23;
        transform: translateY(-1px);
        box-shadow: 0 8px 22px rgba(255, 208, 43, 0.2);
    }

.btn-outline-light {
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

    .btn-outline-light:hover,
    .btn-outline-light:focus {
        background: var(--yellow);
        border-color: var(--yellow);
        color: #181d23;
        transform: translateY(-1px);
    }

.hero-section {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(circle at 15% 20%, rgba(255, 208, 43, 0.14), transparent 28%), radial-gradient(circle at 85% 15%, rgba(45, 76, 255, 0.08), transparent 24%), linear-gradient(180deg, #12161d 0%, #181d23 100%);
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(8, 11, 16, 0.52) 0%, rgba(8, 11, 16, 0.74) 100%), radial-gradient(circle at center, rgba(255, 208, 43, 0.05), transparent 40%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 920px;
    padding-top: 7rem;
    padding-bottom: 8.5rem;
}

.hero-section h1 {
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
    font-size: clamp(2.3rem, 5vw, 4.3rem);
    line-height: 1.06;
}

.hero-section .lead {
    max-width: 840px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 1.1rem;
}

.hero-actions {
    margin-top: 2rem;
}

.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 1.75rem;
    transform: translateX(-50%);
    z-index: 2;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    color: #fff;
    opacity: 0.95;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

    .hero-scroll:hover,
    .hero-scroll:focus {
        color: #fff;
        opacity: 1;
        transform: translateX(-50%) translateY(3px);
    }

.hero-scroll__mouse {
    width: 34px;
    height: 56px;
    border: 2px solid rgba(255, 255, 255, 0.82);
    border-radius: 999px;
    position: relative;
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.2);
}

    .hero-scroll__mouse::before {
        content: '';
        position: absolute;
        top: 10px;
        left: 50%;
        width: 5px;
        height: 11px;
        border-radius: 999px;
        background: var(--yellow);
        transform: translateX(-50%);
        animation: scrollWheel 1.6s infinite;
    }

.hero-scroll__arrow {
    font-size: 1.45rem;
    line-height: 1;
    color: var(--yellow);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

@keyframes scrollWheel {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(0);
    }

    30% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(16px);
    }
}

.section-dark {
    background: var(--bg-section);
    color: #fff;
}

.section-dark--alt {
    background: var(--bg-section-alt);
}

.section-dark p,
.section-dark li {
    color: var(--text-bright);
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.section-intro,
.section-copy {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-bright);
    font-size: 1.08rem;
    line-height: 1.75;
}

.section-divider {
    height: 1px;
    width: min(1100px, calc(100% - 2rem));
    margin: 0 auto;
    background: linear-gradient( 90deg, transparent 0%, rgba(255, 208, 43, 0.12) 20%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 208, 43, 0.12) 80%, transparent 100% );
}

.info-tile {
    padding: 1.4rem 1.3rem;
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--border-soft);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
}

    .info-tile p {
        color: var(--text-muted);
    }

/* ----------- TÁBORY KARTY ------------ */

.card.camp-flip {
    background: transparent;
    perspective: 1100px;
    border-radius: 2rem;
    min-height: 460px;
    box-shadow: none;
}

.camp-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
    transition: transform 0.7s cubic-bezier(.8, .01, .18, 1.04);
    transform-style: preserve-3d;
}

.camp-flip.flipped .camp-flip-inner {
    transform: rotateY(180deg);
}

.camp-flip-front,
.camp-flip-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 2rem;
    color: #fff !important;
    min-height: 460px;
}

.camp-flip-front {
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .camp-flip-front p,
    .camp-flip-front .main-camp-desc {
        color: #fff !important;
        opacity: 1 !important;
        font-size: 1.04rem;
        line-height: 1.58;
    }

.camp-flip-back {
    transform: rotateY(180deg);
    z-index: 3;
    overflow-y: auto;
    padding: 2rem 1.4rem 1.4rem;
    font-size: 1.04rem;
    line-height: 1.58;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .camp-back-text,
    .camp-flip-back p {
        color: #fff !important;
        margin-bottom: 0.7rem;
        word-break: break-word;
    }

    .camp-flip-back .btn-back {
        margin-top: 1rem;
    }

.camp-glass {
    background: var(--bg-card);
    border-radius: 2rem;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.16);
    border: 1px solid #2a3240;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.camp-flip:hover .camp-glass,
.camp-flip.flipped .camp-glass {
    box-shadow: 0 10px 36px rgba(255, 208, 43, 0.18), 0 4px 32px rgba(0, 0, 0, 0.22);
    border-color: rgba(255, 208, 43, 0.2);
}

.camp-logo {
    width: 80px;
    height: auto;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.22));
}

.btn-detail,
.btn-back {
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

    .btn-detail:hover,
    .btn-back:hover {
        background: var(--yellow);
        color: #1b2026;
        border-color: var(--yellow);
    }

.contact-list a {
    word-break: break-word;
}

.link-warning {
    transition: color 0.2s ease, opacity 0.2s ease;
}

    .link-warning:hover,
    .link-warning:focus {
        color: var(--yellow-hover) !important;
    }

footer.bg-dark {
    background: #10141a !important;
    border-top: 1px solid var(--border-soft);
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar {
    width: 9px;
    background: #23272e;
}

::-webkit-scrollbar-thumb {
    background: #232b33;
    border-radius: 6px;
}

/* -------- RESPONSIVITA -------- */
@media (max-width: 991px) {
    html {
        scroll-padding-top: 86px;
    }

    section[id],
    header[id] {
        scroll-margin-top: 86px;
    }

    .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 1.2rem;
        background: rgba(20, 24, 31, 0.96);
        border: 1px solid var(--border-soft);
    }

    .hero-content {
        padding-top: 6.5rem;
        padding-bottom: 9rem;
    }

    .camp-flip {
        min-height: 0;
    }

    .camp-flip-inner {
        min-height: 0;
        transform: none !important;
    }

    .camp-flip-front,
    .camp-flip-back {
        position: relative;
        inset: auto;
        min-height: 0;
        height: auto;
        transform: none !important;
        backface-visibility: visible;
        -webkit-backface-visibility: visible;
        overflow: visible;
    }

    .camp-flip-back {
        display: none !important;
    }

    .camp-flip.flipped .camp-flip-front {
        display: none !important;
    }

    .camp-flip.flipped .camp-flip-back {
        display: flex !important;
    }
}

@media (max-width: 767px) {
    .hero-section {
        min-height: 90svh;
    }

        .hero-section h1 {
            font-size: 2.15rem;
        }

        .hero-section .lead {
            font-size: 1rem;
        }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-scroll {
        bottom: 1.25rem;
        gap: 0.65rem;
    }

    .hero-scroll__mouse {
        width: 38px;
        height: 62px;
    }

    .hero-scroll__arrow {
        font-size: 1.6rem;
    }

    .section-intro,
    .section-copy {
        font-size: 1rem;
    }

    .camp-flip-back {
        padding: 1.6rem 1.1rem 1.2rem;
    }
}

@media (max-width: 575px) {
    .navbar-brand {
        font-size: 1.6rem !important;
    }

    .hero-content {
        padding-top: 6rem;
        padding-bottom: 9.5rem;
    }
}
