:root {
    --primary: #176b3a;
    --primary-dark: #0e4d29;
    --primary-light: #e6f2eb;
    --accent: #f3a712;
    --background: #f7f8f5;
    --surface: #ffffff;
    --surface-muted: #eef2ed;
    --text: #1f2923;
    --text-muted: #5e6b63;
    --border: #dbe3dc;
    --shadow: 0 18px 45px rgba(25, 56, 37, 0.10);
    --radius: 18px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background: var(--background);
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 10px 14px;
    color: #fff;
    background: #000;
    border-radius: 8px;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    min-height: 720px;
    color: #fff;
    background:
        linear-gradient(105deg, rgba(8, 45, 25, 0.96) 0%, rgba(18, 92, 50, 0.86) 48%, rgba(18, 92, 50, 0.42) 100%),
        radial-gradient(circle at 80% 30%, #75a879 0%, #315c3a 45%, #163622 100%);
    overflow: hidden;
}

.navbar {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}

.brand-mark {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 14px;
    font-size: 1.08rem;
    font-weight: 800;
}

.brand-text {
    display: grid;
    line-height: 1.2;
}

.brand-text strong {
    font-size: 1.05rem;
}

.brand-text small {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.72);
}

.menu {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu a {
    display: block;
    padding: 10px 14px;
    color: rgba(255, 255, 255, 0.84);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 650;
    transition: color 180ms ease, background 180ms ease;
}

.menu a:hover,
.menu a:focus-visible,
.menu a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.13);
    outline: none;
}

.menu-toggle,
.menu-button {
    display: none;
}

.hero {
    min-height: 610px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: center;
    gap: 80px;
    padding-block: 80px 110px;
}

.hero-content {
    max-width: 760px;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.15;
}

h1 {
    margin-bottom: 22px;
    font-size: clamp(2.7rem, 6vw, 3.4rem);
    letter-spacing: -0.045em;
}

.hero-text {
    max-width: 680px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1.02rem, 2vw, 1.25rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 750;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #242000;
    background: var(--accent);
}

.button-primary:hover {
    background: #ffc03c;
}

.button-secondary {
    color: #fff;
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.45);
}

.button-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
}

.hero-panel {
    display: grid;
    gap: 8px;
    padding: 28px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.hero-panel strong {
    font-size: 1.25rem;
}

.hero-panel span:not(.panel-label) {
    color: rgba(255, 255, 255, 0.78);
}

.hero-panel a {
    margin-top: 10px;
    color: #fff;
    font-weight: 550;
}

.panel-label,
.date-label {
    width: max-content;
    padding: 5px 9px;
    color: #2f2900;
    background: var(--accent);
    border-radius: 7px;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.section {
    padding-block: 88px;
}

.section-muted {
    background: var(--surface-muted);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 34px;
}

.section-heading h2,
.cta-content h2 {
    margin-bottom: 0;
    font-size: clamp(2rem, 4vw, 3.1rem);
    letter-spacing: -0.035em;
}

.text-link,
.card-link {
    color: var(--primary);
    font-weight: 750;
    text-decoration: none;
}

.text-link:hover,
.card-link:hover {
    text-decoration: underline;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 12px 32px rgba(25, 56, 37, 0.06);
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.card-featured {
    grid-row: span 2;
}

.card-image {
    min-height: 245px;
    background-size: cover;
    background-position: center;
}

.card-image-forest {
    background:
        linear-gradient(150deg, rgba(22, 107, 58, 0.10), rgba(9, 51, 28, 0.58)),
        radial-gradient(circle at 72% 25%, #c8df9a 0 9%, transparent 10%),
        linear-gradient(135deg, #7fa268 0%, #416d45 45%, #24462e 100%);
}

.card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 26px;
}

.card time {
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 0.86rem;
    font-weight: 700;
}

.card h3 {
    margin-bottom: 12px;
    font-size: 1.35rem;
}

.card p {
    color: var(--text-muted);
}

.card-link {
    margin-top: auto;
    padding-top: 10px;
}

.date-label {
    margin-bottom: 14px;
}

.events-list {
    display: grid;
    gap: 14px;
}

.event-card {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    padding: 20px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 15px;
}

.event-date {
    display: grid;
    justify-items: center;
    padding: 8px;
    color: var(--primary-dark);
    background: var(--primary-light);
    border-radius: 11px;
    line-height: 1.05;
}

.event-date strong {
    font-size: 1.7rem;
}

.event-date span {
    margin-top: 4px;
    font-size: 0.76rem;
    font-weight: 750;
    text-transform: uppercase;
}

.event-info h3 {
    margin-bottom: 4px;
    font-size: 1.2rem;
}

.event-info p {
    margin-bottom: 0;
    color: var(--text-muted);
}

.button-outline {
    color: var(--primary);
    background: transparent;
    border-color: var(--primary);
}

.button-outline:hover {
    color: #fff;
    background: var(--primary);
}

.cta-section {
    padding-block: 72px;
    color: #fff;
    background: var(--primary);
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-content div {
    max-width: 760px;
}

.cta-content p:last-child {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.78);
}

.button-light {
    flex: 0 0 auto;
    color: var(--primary-dark);
    background: #fff;
}

.site-footer {
    padding-top: 64px;
    color: rgba(255, 255, 255, 0.76);
    background: #17251d;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 42px;
}

.site-footer strong {
    color: #fff;
}

.footer-title {
    display: block;
    margin-bottom: 10px;
    font-size: 1.15rem;
}

.site-footer p {
    margin: 10px 0 0;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.84);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 900px) {
    .menu-button {
        width: 46px;
        height: 42px;
        display: grid;
        align-content: center;
        gap: 5px;
        padding: 10px;
        border: 1px solid rgba(255, 255, 255, 0.35);
        border-radius: 10px;
        cursor: pointer;
    }

    .menu-button span {
        height: 2px;
        display: block;
        background: #fff;
        border-radius: 5px;
    }

    .navbar {
        position: relative;
    }

    .menu {
        position: absolute;
        top: 76px;
        right: 0;
        z-index: 20;
        width: min(310px, calc(100vw - 40px));
        display: none;
        padding: 12px;
        background: var(--primary-dark);
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 14px;
        box-shadow: var(--shadow);
    }

    .menu-toggle:checked ~ .menu {
        display: block;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-block: 70px 90px;
    }

    .hero-panel {
        max-width: 480px;
    }

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

    .card-featured {
        grid-row: auto;
    }

    .cta-content {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .site-header {
        min-height: auto;
    }

    .brand-text strong {
        font-size: 0.94rem;
    }

    .hero {
        min-height: auto;
        padding-block: 56px 72px;
    }

    h1 {
        font-size: clamp(1.45rem, 8vw, 1.9rem);
    }

    .hero-actions,
    .hero-actions .button {
        width: 100%;
    }

    .section {
        padding-block: 64px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .event-card {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 15px;
        padding: 16px;
    }

    .event-card .button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}

/* Detail novinky */
#novinky {

scroll-margin-top: 100px;

}
.article-header {
    color: #fff;
    background:
        linear-gradient(105deg, rgba(8, 45, 25, 0.97), rgba(18, 92, 50, 0.74)),
        radial-gradient(circle at 80% 30%, #75a879 0%, #315c3a 45%, #163622 100%);
}
.article-hero {
    max-width: 900px;
    padding-block: 90px 105px;
}
.article-hero h1 {
    max-width: 820px;
    margin-bottom: 18px;
}
.article-hero time {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
}
.article-back {
    display: inline-block;
    margin-bottom: 36px;
    color: rgba(255, 255, 255, 0.84);
    font-weight: 700;
    text-decoration: none;
}
.article-back:hover,
.article-back:focus-visible {
    color: #fff;
    text-decoration: underline;
}
.article-page {
    max-width: 900px;
    padding-block: 72px 92px;
}
.article-visual {
    min-height: 390px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.article-body {
    max-width: 760px;
    margin: -58px auto 0;
    position: relative;
    padding: 42px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.article-body p {
    color: var(--text-muted);
    font-size: 1.08rem;
}
.article-lead {
    color: var(--text) !important;
    font-size: clamp(1.25rem, 2.4vw, 1.55rem) !important;
    font-weight: 700;
    line-height: 1.45;
}
.article-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 34px;
}
@media (max-width: 640px) {
    .article-hero {
        padding-block: 58px 70px;
    }
    .article-back {
        margin-bottom: 28px;
    }
    .article-page {
        padding-block: 40px 64px;
    }
    .article-visual {
        min-height: 245px;
    }
    .article-body {
        margin: -28px 14px 0;
        padding: 26px 22px;
    }
    .article-actions,
    .article-actions .button {
        width: 100%;
    }
}
