* { font-family: 'Inter', sans-serif; }
.font-serif { font-family: 'Playfair Display', serif; }

::selection {
    background: #C9963A;
    color: #fff;
}

/* ── Animations ─────────────────────────────── */

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

@keyframes blob-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(20px, -30px) scale(1.05); }
    66%       { transform: translate(-15px, 15px) scale(0.95); }
}

@keyframes bear-walk {
    from { left: -20%; }
    to   { left: 110%; }
}

/* ── Utility classes ────────────────────────── */

.anim-reveal {
    opacity: 0;
    animation: reveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.25s; }
.delay-3 { animation-delay: 0.4s; }
.delay-4 { animation-delay: 0.55s; }
.delay-5 { animation-delay: 0.7s; }
.delay-6 { animation-delay: 0.85s; }

.scroll-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

.blob      { animation: blob-float  8s ease-in-out infinite; }
.blob-slow { animation: blob-float 12s ease-in-out infinite reverse; }

.bear-walk { animation: bear-walk 60s linear infinite; }

/* ── Components ─────────────────────────────── */

.paper-texture {
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}

.card-trop {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    flex-shrink: 0;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 431 784'%3E%3Cpath d='M264 608c-49,-34 -91,12 -129,18 -70,11 -108,-91 -57,-134 18,-15 43,-38 59,-55 15,-17 19,-67 74,-81 26,-6 51,1 75,35 25,35 35,74 70,102 33,27 52,71 19,103 -31,31 -80,39 -111,12z' fill='black'/%3E%3Cpath d='M36 277c0,0 -24,13 -34,64 -8,42 5,146 70,115 36,-17 39,-66 37,-101 -3,-35 -24,-110 -73,-78z' fill='black'/%3E%3Cpath d='M92 211c-2,26 5,73 18,96 12,23 37,38 58,30 21,-8 30,-48 34,-74 4,-35 5,-141 -47,-141 -39,0 -59,58 -63,89z' fill='black'/%3E%3Cpath d='M225 245c4,38 7,94 53,94 47,0 62,-67 63,-103 2,-44 -17,-122 -60,-122 -52,0 -58,102 -56,131z' fill='black'/%3E%3Cpath d='M366 277c0,0 -21,13 -29,64 -5,29 -3,53 0,71 18,86 90,52 93,-28 2,-36 -3,-66 -13,-86 -9,-21 -27,-38 -51,-21z' fill='black'/%3E%3Cpath d='M24 261c4,-39 16,-77 50,-99 -17,40 -8,60 -2,99 0,0 -15,-21 -48,0z' fill='black'/%3E%3Cpath d='M182 0c-47,32 -61,63 -70,118 21,-16 49,-19 71,-8 3,0 -31,-47 -1,-110z' fill='black'/%3E%3Cpath d='M238 5c19,31 20,67 13,100 16,-11 41,-13 64,-2 0,0 -15,-78 -77,-98z' fill='black'/%3E%3Cpath d='M346 161c27,31 23,71 13,101 17,-11 34,-9 53,2 0,0 -5,-77 -66,-103z' fill='black'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 431 784'%3E%3Cpath d='M264 608c-49,-34 -91,12 -129,18 -70,11 -108,-91 -57,-134 18,-15 43,-38 59,-55 15,-17 19,-67 74,-81 26,-6 51,1 75,35 25,35 35,74 70,102 33,27 52,71 19,103 -31,31 -80,39 -111,12z' fill='black'/%3E%3Cpath d='M36 277c0,0 -24,13 -34,64 -8,42 5,146 70,115 36,-17 39,-66 37,-101 -3,-35 -24,-110 -73,-78z' fill='black'/%3E%3Cpath d='M92 211c-2,26 5,73 18,96 12,23 37,38 58,30 21,-8 30,-48 34,-74 4,-35 5,-141 -47,-141 -39,0 -59,58 -63,89z' fill='black'/%3E%3Cpath d='M225 245c4,38 7,94 53,94 47,0 62,-67 63,-103 2,-44 -17,-122 -60,-122 -52,0 -58,102 -56,131z' fill='black'/%3E%3Cpath d='M366 277c0,0 -21,13 -29,64 -5,29 -3,53 0,71 18,86 90,52 93,-28 2,-36 -3,-66 -13,-86 -9,-21 -27,-38 -51,-21z' fill='black'/%3E%3Cpath d='M24 261c4,-39 16,-77 50,-99 -17,40 -8,60 -2,99 0,0 -15,-21 -48,0z' fill='black'/%3E%3Cpath d='M182 0c-47,32 -61,63 -70,118 21,-16 49,-19 71,-8 3,0 -31,-47 -1,-110z' fill='black'/%3E%3Cpath d='M238 5c19,31 20,67 13,100 16,-11 41,-13 64,-2 0,0 -15,-78 -77,-98z' fill='black'/%3E%3Cpath d='M346 161c27,31 23,71 13,101 17,-11 34,-9 53,2 0,0 -5,-77 -66,-103z' fill='black'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    overflow: hidden;
    filter: drop-shadow(0 4px 16px rgba(62,42,30,0.10));
}
.card-trop:hover {
    transform: translateY(-8px);
    filter: drop-shadow(0 16px 40px rgba(62,42,30,0.18));
}
.card-trop .arrow-wrap          { transition: transform 0.3s ease; }
.card-trop:hover .arrow-wrap    { transform: translateX(3px); }
.card-trop .card-photo-img      { transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.card-trop:hover .card-photo-img { transform: scale(1.1); }
.card-trop .card-icon           { transition: color 0.3s ease; }
.card-trop:hover .card-icon     { color: #C9963A; }

.trail-line {
    position: absolute;
    top: 50%;
    left: 0; right: 0;
    height: 3px;
    background: repeating-linear-gradient(
        90deg,
        rgba(201,150,58,0.15) 0, rgba(201,150,58,0.15) 8px,
        transparent 8px, transparent 18px
    );
    z-index: 0;
    pointer-events: none;
}

.trop-scroll {
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.trop-scroll::-webkit-scrollbar  { display: none; }
.trop-scroll .card-trop           { scroll-snap-align: start; }

.award-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.award-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(201,150,58,0.18), 0 4px 16px rgba(201,150,58,0.10) !important;
}

.btn-forest {
    background: #2D5016;
    color: #fff;
    transition: all 0.3s ease;
}
.btn-forest:hover {
    background: #3A6620;
    transform: scale(1.03);
    box-shadow: 0 8px 30px -8px rgba(45,80,22,0.4);
}
.btn-forest:active { transform: scale(0.98); }

.btn-amber {
    background: #C9963A;
    color: #fff;
    transition: all 0.3s ease;
}
.btn-amber:hover {
    background: #B8882F;
    transform: scale(1.03);
    box-shadow: 0 8px 30px -8px rgba(201,150,58,0.4);
}

.img-artistic { transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.img-artistic:hover {
    transform: scale(1.03) rotate(0deg) !important;
    box-shadow: 0 25px 60px -15px rgba(0,0,0,0.2);
}

.mobile-menu { transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.mobile-menu.open { transform: translateX(0); }

/* ── Scrollbar ──────────────────────────────── */

::-webkit-scrollbar        { width: 8px; }
::-webkit-scrollbar-track  { background: #FDF8F0; }
::-webkit-scrollbar-thumb  { background: #C9963A; border-radius: 4px; }

/* ── Accessibility ──────────────────────────── */

.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 9999;
    padding: 0.5rem 1rem;
    background: #2D5016;
    color: #fff;
    font-weight: 600;
    border-radius: 0 0 8px 8px;
    text-decoration: none;
    transition: top 0.2s;
}
.skip-link:focus { top: 0; }

:focus-visible {
    outline: 3px solid #C9963A;
    outline-offset: 3px;
    border-radius: 6px;
}

/* ── Hero reveal ────────────────────────────── */

@media (pointer: fine) {
    #tropSection { cursor: none; }
}

#heroReveal {
    position: absolute;
    inset: 0;
    background: url('mapka.jpg') center / cover no-repeat;
    clip-path: circle(0px at 50% 50%);
    will-change: clip-path;
    z-index: 1;
    pointer-events: none;
}

#heroLens {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    border: 2px solid rgba(201,150,58,0.65);
    box-shadow: 0 0 0 1px rgba(201,150,58,0.12), inset 0 0 60px rgba(201,150,58,0.04);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.25s ease;
    top: 0;
    left: 0;
}

#heroLens::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -8px;
    width: 3px;
    height: 36px;
    background: rgba(201,150,58,0.65);
    border-radius: 2px;
    transform: rotate(45deg);
    transform-origin: top center;
}

@media (prefers-reduced-motion: reduce) {
    #heroReveal { display: none; }
    #heroLens   { display: none; }
    #hero       { cursor: auto !important; }
}

/* ── Reduced motion ─────────────────────────── */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .anim-reveal   { opacity: 1 !important; transform: none !important; }
    .scroll-hidden { opacity: 1 !important; transform: none !important; }
    .bear-walk     { animation: none; display: none; }
}
