@charset "UTF-8";

/* =========================================================
   PEKLO NA PĚTCE – hlavní styl
   ========================================================= */

:root {
    --bg: #100706;
    --text: #fff3e3;
    --muted: #d8c3b0;
    --gold: #ffd18b;
    --red: #d52b08;
    --line: rgba(255, 91, 35, .55);
    --max-width: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--bg) url("../images/background.jpg") center top / cover fixed no-repeat;
    font-family: "Alegreya", Georgia, serif;
    font-size: 17px;
    line-height: 1.55;
}

a { color: inherit; }

.shade {
    min-height: 100vh;
    background: linear-gradient(90deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, .72));
}

.wrap {
    width: min(var(--max-width), calc(100% - 36px));
    margin-inline: auto;
}

/* Hlavička */
.site-header {
    position: relative;
    padding: 22px 0 25px;
    background: rgba(8, 3, 2, .82);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: grid;
    grid-template-columns: minmax(230px, 360px) minmax(0, 1fr) 58px;
    align-items: center;
    gap: clamp(18px, 4vw, 48px);
}

.logo {
    display: block;
    width: 100%;
    height: 125px;
    background: url("../images/logo.png?1=1") center / contain no-repeat;
}

.event-meta {
    color: var(--gold);
    font-size: clamp(17px, 2vw, 23px);
    font-weight: 700;
    line-height: 1.45;
}

.event-meta > div {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.event-meta svg {
    margin-right: 10px;
}

.event-meta > div + div { margin-top: 5px; }

.meta-icon {
    width: 23px;
    flex: 0 0 23px;
    text-align: center;
    color: #ffcf9b;
}

.social {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #392c2c;
    color: #fff;
    text-decoration: none;
    font: 700 31px Arial, sans-serif;
    transition: transform .2s, background .2s;
}

.social:hover {
    transform: translateY(-3px);
    background: #b51c12;
}

/* Společné sekce */
.section {
    position: relative;
    padding: 42px 0;
}

.section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        #681000 10%,
        #d52b08 25%,
        #ff6a16 45%,
        #ffb04a 50%,
        #d52b08 70%,
        #681000 90%,
        transparent 100%
    );
    opacity: .85;
    filter: blur(1px);
    box-shadow: 0 0 12px rgba(255, 55, 0, .5);
}

.section-title {
    margin: 0 0 26px;
    color: var(--gold);
    text-align: center;
    text-transform: uppercase;
    font: 400 clamp(25px, 3vw, 32px)/1.2 "New Rocker", system-ui;
    text-shadow: 2px 2px 0 #000;
}

/* Úvod */
.intro {
    padding-top: 32px;
    text-align: center;
}

.intro-lead {
    max-width: 760px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 19px;
}

.date-ribbon {
    display: grid;
    gap: 5px;
    margin: 22px auto 0;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
}

.date-ribbon span {
    display: inline-block;
    margin-right: 8px;
    color: var(--gold);
}

.intro-thanks {
    margin: 18px 0 0;
    font-weight: 700;
}

/* Charitativní příběh */
.story {
    position: relative;
    overflow: hidden;
    padding: clamp(35px, 6vw, 65px) 0;
    background: linear-gradient(110deg, rgba(110, 8, 4, .96), rgba(24, 5, 4, .96));
    border-block: 1px solid rgba(255, 111, 52, .6);
}

.story-inner {
    display: grid;
    grid-template-columns: minmax(260px, .85fr) minmax(0, 1.35fr);
    align-items: center;
    gap: clamp(25px, 5vw, 55px);
}

.story-photo {
    display: block;
    width: 100%;
    max-height: 420px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 30%;
    border: 3px solid rgba(255, 177, 95, .75);
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .45);
}

.story-copy { min-width: 0; }

.eyebrow {
    color: #ffb15f;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 14px;
    font-weight: 800;
}

.story h2 {
    margin: 8px 0 18px;
    color: #fff0d7;
    text-align: left;
    font: 400 clamp(31px, 4vw, 46px)/1.1 "New Rocker", system-ui;
    text-shadow: 2px 3px 0 #4d0803;
}

.story p {
    margin: 0;
    color: #fff0e2;
    font-size: 19px;
}

.story-note {
    display: inline-block;
    margin-top: 23px;
    padding: 12px 17px;
    border: 1px solid rgba(255, 201, 137, .65);
    border-radius: 6px;
    color: #ffe0ae;
    background: rgba(0, 0, 0, .28);
    font-weight: 700;
}

/* Informační boxy */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.info-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 240px;
    overflow: hidden;
    padding: 22px;
    border: 1px solid rgba(213, 43, 8, .8);
    border-radius: 10px;
    background-color: rgba(20, 5, 4, .8);
    background-position: center;
    background-size: cover;
    text-align: center;
    transition: border-color .3s ease, box-shadow .3s ease;
}

.info-card:hover {
    border-color: #ff6a35;
    box-shadow: 0 0 20px rgba(180, 30, 0, .3);
}

.info-card--devils { background-image: url("../images/offer_1.jpg"); }
.info-card--nicholas { background-image: url("../images/offer_2.jpg"); }
.info-card--refreshments { background-image: url("../images/offer_3.jpg"); }

.info-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, .08));
}

.info-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 10px;
    color: #f5d5ad;
}

.info-card h3 {
    margin: 0 0 8px;
    color: var(--gold);
    font: 400 23px "New Rocker", system-ui;
}

.info-card p {
    margin: 0;
    color: var(--muted);
}

/* Mapa */
.map-description {
    margin-bottom: 22px;
    text-align: center;
}

#map {
    width: 100%;
    height: 390px;
    overflow: hidden;
    border: 2px solid var(--red);
    border-radius: 10px;
    background: #27201b;
}

.map-actions {
    margin-top: 14px;
    text-align: center;
}

.button {
    display: inline-block;
    padding: 9px 17px;
    border-radius: 5px;
    color: #fff;
    background: linear-gradient(90deg, #d62828, #8d0000);
    box-shadow: 0 3px 12px rgba(0, 0, 0, .25);
    font-weight: 700;
    text-decoration: none;
}

.button:hover { filter: brightness(1.15); }

/* Fotogalerie */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.gallery-item {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(255, 90, 40, .6);
    border-radius: 8px;
    background: #1b100d;
    cursor: zoom-in;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s, filter .35s;
}

.gallery-item:hover img {
    transform: scale(1.045);
    filter: brightness(1.12);
}

.empty-gallery {
    padding: 25px;
    border: 1px dashed var(--line);
    border-radius: 8px;
    color: var(--muted);
    text-align: center;
}

/* Patička */
.site-footer {
    padding: 27px 0;
    color: #c9b6a8;
    text-align: center;
    font-size: 15px;
}

.site-footer p { margin: 5px 0; }
.site-footer a { color: #fff0d7; font-weight: 700; }

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: rgba(0, 0, 0, .94);
}

.lightbox.open { display: flex; }

.lightbox img {
    max-width: min(1100px, 94vw);
    max-height: 88vh;
    object-fit: contain;
    box-shadow: 0 10px 50px #000;
}

.lightbox-close {
    position: absolute;
    top: 12px;
    right: 20px;
    border: 0;
    color: #fff;
    background: none;
    font-size: 42px;
    cursor: pointer;
}

/* Tablet */
@media (max-width: 850px) {
    .header-inner {
        grid-template-columns: 250px minmax(0, 1fr) 50px;
        gap: 20px;
    }

    .logo { height: 100px; }

    .info-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobil */
@media (max-width: 620px) {
    body {
        background-attachment: scroll;
        font-size: 16px;
    }

    .wrap { width: min(100% - 28px, var(--max-width)); }

    .site-header { padding: 18px 0 20px; }

    .header-inner {
        grid-template-columns: 1fr auto;
        gap: 12px 15px;
    }

    .logo {
        grid-column: 1 / -1;
        width: min(290px, 90%);
        height: 95px;
        margin: 0 auto;
    }

    .event-meta { font-size: 18px; }

    .meta-icon {
        width: 19px;
        flex-basis: 19px;
    }

    .social {
        width: 44px;
        height: 44px;
        font-size: 26px;
    }

    .section { padding: 32px 0; }
    .intro { padding-top: 27px; }

    .intro-lead,
    .story p { font-size: 17px; }

    .date-ribbon { font-size: 17px; }

    .story { padding: 38px 0; }

    .story-inner {
        grid-template-columns: 1fr;
        gap: 22px;
        max-width: 520px;
    }

    .story-photo {
        width: min(100%, 360px);
        max-height: 430px;
        margin: 0 auto;
        aspect-ratio: 4 / 4.5;
    }

    .story-copy,
    .story h2 { text-align: center; }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .info-card {
        min-height: 220px;
        padding: 25px 18px;
    }

    #map { height: 320px; }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .lightbox { padding: 12px; }
}

/* Velmi malé telefony */
@media (max-width: 380px) {
    .gallery-grid { grid-template-columns: 1fr; }
    #map { height: 280px; }
    .event-meta { font-size: 15px; }
}

/* Respektování nastavení omezení pohybu */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
    }
}

/* Facebook */
.facebook-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    padding: 5px;
    background: #392c2c;
    color: #D1C4C4;
    border-radius: 50%;
    text-decoration: none;
    transition: .3s ease;
}

.facebook-link:hover {
    background: #a52b17;
    color: #fff;
}

/* Tablet a mobil */
@media (max-width: 768px) {

    #header {
        padding-bottom: 20px;
    }

    #header .container {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px !important;
        margin-top: 15px;
        padding: 0 20px;
        overflow: visible;
    }

    #header h1 {
        width: min(78vw, 360px);
        height: auto;
        aspect-ratio: 360 / 125;
        background-size: contain;
        background-position: center;
    }

    #header h2 {
        width: 100%;
        padding: 0 15px;
        text-align: center;
        font-size: clamp(17px, 4vw, 21px);
        line-height: 1.6;
    }

    #header h2 svg {
        margin-right: 8px;
    }

    /* Plovoucí Facebook */
    #header .facebook-link {
        position: fixed;
        top: 15px;
        right: 15px;
        width: 44px;
        height: 44px;
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0,0,0,.5);
    }

    #header .facebook-link svg {
        font-size: 32px;
    }
}

/* Menší mobilní telefony */
@media (max-width: 400px) {

    #header .container {
        gap: 8px !important;
    }

    #header h2 {
        font-size: 17px;
        padding: 0 10px;
    }

    #header .facebook-link {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
}


/* =========================================
   PEKELNÁ NÁVŠTĚVA – PRŮBĚH
========================================= */

.visit-process {
    margin-top: 35px;
}

/* Nadpis */

.visit-process h3 {
    text-align: center;
    font-size: 28px;
    margin: 0 0 15px;
    color: #f5d5ad;
}

.visit-intro {
    max-width: 750px;
    margin: 0 auto 35px;
    text-align: center;
    font-size: 17px;
    line-height: 1.7;
    color: #e8d3c0;
}

/* Jednotlivé kroky */

.visit-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.visit-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(
        135deg,
        rgba(100, 10, 5, 0.45),
        rgba(20, 5, 5, 0.8)
    );
    border: 1px solid rgba(180, 45, 20, 0.55);
    border-radius: 10px;
    transition: .3s ease;
}

.visit-step:hover {
    border-color: #e94a19;
    box-shadow: 0 0 18px rgba(220, 45, 10, 0.2);
    transform: translateY(-3px);
}

/* Číslování */

.step-number {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d52b08, #680900);
    border: 1px solid #ff9b45;
    color: #ffe0ad;
    font-family: "New Rocker", system-ui;
    font-size: 21px;
}

/* Obsah kroku */

.visit-step h4 {
    margin: 0 0 12px;
    color: #ffbd70;
    font-family: "New Rocker", system-ui;
    font-size: 19px;
    font-weight: 400;
}

.visit-step p {
    margin: 0;
    color: #e8d8c9;
    font-size: 15px;
    line-height: 1.7;
}

/* Upozornění pro rodiče */

.visit-notice {
    margin-top: 25px;
    padding: 22px 25px;
    background: rgba(90, 10, 5, 0.4);
    border: 1px solid #a52a12;
    border-left: 4px solid #ed5525;
    border-radius: 8px;
}

.visit-notice strong {
    display: block;
    margin-bottom: 8px;
    color: #ffbd70;
    font-family: "New Rocker", system-ui;
    font-size: 18px;
}

.visit-notice p {
    margin: 0;
    line-height: 1.7;
    color: #f0dfd0;
}

/* =========================================
   RESPONZIVITA
========================================= */

@media (max-width: 768px) {

    .visit-process {
        margin-top: 25px;
        padding: 20px 15px;
    }

    .visit-process h3 {
        font-size: 24px;
    }

    .visit-intro {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .visit-steps {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .visit-step {
        padding: 18px 15px;
        gap: 15px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .visit-step h4 {
        font-size: 17px;
    }

    .visit-step p {
        font-size: 14px;
    }

    .visit-notice {
        padding: 18px 15px;
    }
}


/* =========================================
   ANIMOVANÉ PEKELNÉ UHLÍKY
========================================= */

.embers {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 9999;
}

.ember {
    position: absolute;
    bottom: -20px;
    left: var(--left);
    width: var(--size);
    height: var(--size);
    border-radius: 50%;

    background: radial-gradient(
        circle,
        #fff3a0 0%,
        #ff8c24 35%,
        #ed2600 65%,
        transparent 100%
    );

    opacity: 0;
    box-shadow: 0 0 8px 2px rgba(255, 75, 0, 0.6);

    animation: ember-rise var(--duration) linear var(--delay) infinite;
    will-change: transform, opacity;
}

@keyframes ember-rise {
    0% {
        transform: translate3d(0, 0, 0) scale(0.4);
        opacity: 0;
    }

    10% {
        opacity: var(--opacity);
    }

    50% {
        transform: translate3d(var(--drift), -50vh, 0) scale(1);
        opacity: var(--opacity);
    }

    85% {
        opacity: 0.4;
    }

    100% {
        transform: translate3d(
            calc(var(--drift) * 1.5),
            -110vh,
            0
        ) scale(0.2);
        opacity: 0;
    }
}

/* Respektování omezení animací */

@media (prefers-reduced-motion: reduce) {
    .embers {
        display: none;
    }
}
