:root {
    --bambule-color: rgba(235, 170, 45, 1);
    --bambule-hover: rgba(255, 190, 65, 1);
    --dark-text: #2c3e50;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0 auto;
    max-width: 1920px; 
    padding: 0;
    color: white;
    background-color: #121f2d;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    text-align: center;

    /* VRSTVENÉ POZADÍ - Cesty směřují do img/ */
    background-image: 
        url('img/kulich.png'),
        url('img/rukavice.png'),
        url('img/lyze.png'),
        url('img/pozadi-vlocky.png');

    background-position: 
        left -3vw top 3vh,
        right -11vw top -3vh,
        right 4vw bottom 0,
        center center;

    background-size: 
        calc(14vw + 25vh) auto, 
        calc(17.5vw + 34vh) auto, 
        auto 40vh, 
        cover;

    background-repeat: no-repeat;
    background-attachment: fixed;
}

body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: -1;
}

.hero-section {
    padding: clamp(40px, 8vh, 60px) 20px 30px;
    max-width: 900px;
    margin: 0 auto;
}

h1.main-title {
    font-size: clamp(3.5rem, 12vw, 8rem);
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -2px;
    text-shadow: 4px 4px 20px rgba(0,0,0,0.7);
    line-height: 0.9;
}

p.subtitle {
    font-size: clamp(1.1rem, 4vw, 1.6rem);
    margin: 20px 0 35px;
    text-shadow: 1px 1px 10px rgba(0,0,0,0.9);
    font-weight: 700;
}

.cta-container {
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    padding: 18px 60px;
    font-size: 1.2rem;
    font-weight: 900;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: var(--bambule-color);
    color: var(--dark-text);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--bambule-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(235, 170, 45, 0.5);
}

#photo-archive {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 20px;
}

.archive-heading {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 900;
    margin-bottom: 25px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
    font-size: 2rem;
}

.year-section {
    background: rgba(255, 255, 255, 0.94);
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.year-title, .single-link {
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.year-title {
    background: var(--bambule-color);
    color: var(--dark-text);
    padding: 12px 25px;
    margin: 0;
    font-size: 1.2rem;
}

.single-link {
    display: block;
    text-decoration: none;
    color: var(--dark-text);
    background: var(--bambule-color);
    padding: 18px 25px;
    font-size: 1.2rem;
    transition: background 0.3s;
}

.single-link:hover { background: var(--bambule-hover); }

.album-list { list-style: none; padding: 0; margin: 0; }
.album-link {
    display: flex; 
    justify-content: space-between;
    padding: 14px 25px; 
    text-decoration: none; 
    color: var(--dark-text);
    font-weight: 700; 
    border-bottom: 1px solid rgba(0,0,0,0.08);
    transition: all 0.2s;
}
.album-link:last-child { border-bottom: none; }
.album-link:hover { background: white; padding-left: 35px; color: #d35400; }

.arrow { font-size: 1.2rem; font-weight: 900; }

/* PATIČKA */
footer {
    margin-top: auto;
    padding: 40px 20px 60px; 
    font-size: 0.95rem;
    background: transparent;
    text-shadow: 2px 2px 8px rgba(0,0,0,1);
    font-weight: 700;
    line-height: 1.6;
}

footer a {
    color: white !important;
    text-decoration: underline;
    transition: opacity 0.2s;
}

footer a:hover {
    opacity: 0.8;
}

footer a:visited {
    color: white !important;
}

.footer-grants {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.footer-grants span {
    font-weight: 400;
    font-size: 0.85rem;
    opacity: 0.85;
}

.grant-logos {
    display: flex;
    gap: 12px;
    align-items: center;
}

.grant-logos img {
    height: 32px;
    width: auto;
    display: block;
}

/* RESPONSIVE FOOTER ONLY */
@media (max-width: 600px) {
    .footer-grants {
        flex-direction: column;
        gap: 10px;
    }
}

.footer-update {
    margin-top: 15px;
    font-size: 0.5rem;
    font-weight: 400;
    opacity: 0.5;
    text-transform: none;
    letter-spacing: normal;
}