:root {
    --primary: #5f7c4d;
    --primary-dark: #435a36;
    --secondary: #8f6b4f;
    --bg: #f7f4ee;
    --white: #ffffff;
    --text: #2d2d2d;
    --muted: #666666;
    --border: #e7dfd2;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --radius: 18px;
    --container: 1180px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: min(92%, var(--container));
    margin: 0 auto;
}

/* HEADER */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 110px;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: bold;
    font-size: 1.4rem;
    color: var(--primary-dark);
}

.logo img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;
}

/* NAV */
.main-nav ul {
    display: flex;
    gap: 28px;
    align-items: center;
}

.main-nav a {
    font-weight: 600;
    color: var(--text);
    transition: 0.2s ease;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
}

.main-nav a.active::after,
.main-nav a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

/* HERO */
.hero {
    padding: 90px 0 70px;
    background: linear-gradient(135deg, #f7f4ee 0%, #eef3e8 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.eyebrow {
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: clamp(2.3rem, 4vw, 4rem);
    line-height: 1.1;
    margin-bottom: 22px;
    color: var(--primary-dark);
}

.hero-description {
    font-size: 1.08rem;
    color: var(--muted);
    max-width: 650px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.hero-card h2 {
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.hero-card ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-card li {
    padding-left: 18px;
    position: relative;
    color: var(--muted);
}

.hero-card li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: bold;
    transition: 0.25s ease;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary-dark);
}

.btn-secondary:hover {
    background: var(--white);
}

/* SECTIONS */
section {
    padding: 80px 0;
}

.section-label {
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.center {
    text-align: center;
}

.section-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: start;
}

.section-grid h2 {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    color: var(--primary-dark);
}

.section-grid p {
    color: var(--muted);
    margin-bottom: 16px;
}

/* FEATURES */
.features {
    background: var(--white);
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.card {
    background: #fcfbf8;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}

.card h3 {
    margin-bottom: 14px;
    color: var(--primary-dark);
}

.card p {
    color: var(--muted);
}

/* OFFER */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 34px;
}

.offer-box {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid var(--border);
}

.offer-box h3 {
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.offer-box p {
    color: var(--muted);
}

/* STORY */
.story-section {
    background: linear-gradient(135deg, #eef3e8 0%, #f7f4ee 100%);
}

.story-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.story-text {
    max-width: 760px;
}

.story-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.story-text p {
    color: var(--muted);
}

/* CONTACT FORM */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 6px;
    font-weight: bold;
    color: var(--primary-dark);
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* NOVINKY */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.news-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.news-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.news-file-box {
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eef3e8 0%, #f7f4ee 100%);
    color: var(--primary-dark);
    font-size: 1.4rem;
    font-weight: bold;
}

.news-card-content {
    padding: 24px;
}

.news-date {
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.news-card-content h3 {
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.news-card-content p {
    color: var(--muted);
    margin-bottom: 18px;
}

.news-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.files-section {
    background: var(--white);
}

.file-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 30px;
}

.file-item {
    background: #fcfbf8;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: var(--shadow);
}

.file-item h3 {
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.file-item p {
    color: var(--muted);
}

.file-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

/* FOOTER */
.site-footer {
    background: #2f3a28;
    color: #f2eee6;
    padding-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 30px;
    padding-bottom: 40px;
}

.site-footer h3,
.site-footer h4 {
    margin-bottom: 14px;
}

.site-footer p,
.site-footer a,
.site-footer li {
    color: #ddd6ca;
}

.site-footer ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    text-align: center;
    padding: 18px 10px;
    color: #cfc7bb;
}

/* RESPONSIVE */
@media (max-width: 960px) {
    .hero-content,
    .section-grid,
    .cards,
    .offer-grid,
    .footer-content,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .header-content {
        flex-direction: column;
        justify-content: center;
        padding: 16px 0;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .hero {
        padding-top: 60px;
    }

    .story-content {
        align-items: flex-start;
    }

    .file-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 2.1rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-buttons,
    .news-actions,
    .file-actions {
        flex-direction: column;
    }
}

.video-wrapper {
    background: var(--white);
}

.video-section {
    margin-top: 30px;
}

.video-section iframe {
    width: 100%;
    max-width: 900px;
    height: 500px;
    display: block;
    margin: 0 auto;
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ===== INTER FONT ===== */
body { font-family: 'Inter', Arial, sans-serif; }

/* ===== PHOTO PLACEHOLDER ===== */
.photo-slot {
    background: linear-gradient(135deg, #edf2e7 0%, #dde8d4 100%);
    border: 2px dashed rgba(95, 124, 77, 0.32);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 280px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.intro-grid .photo-slot,
.story-photo {
    height: 420px;
    min-height: 420px;
}

.offer-box .photo-slot:has(img) {
    height: 200px;
    min-height: 200px;
}

.photo-slot > svg {
    width: 38px; height: 38px;
    stroke: var(--primary);
    opacity: 0.45;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.photo-slot > span {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary-dark);
    opacity: 0.5;
    text-align: center;
    padding: 0 24px;
    letter-spacing: 0.3px;
}

.photo-slot img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius) - 2px);
}

/* ===== INTRO GRID (text | photo) ===== */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.intro-text { display: flex; flex-direction: column; gap: 14px; }
.intro-text h2 { color: var(--primary-dark); font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 0; }
.intro-text p { color: var(--muted); margin: 0; }
.intro-text .section-label { margin: 0; }

/* ===== PHOTO IN STORY SECTION ===== */
.story-photo {
    width: 380px;
    min-height: 300px;
    flex-shrink: 0;
}

/* ===== PHOTO AT TOP OF OFFER BOX ===== */
.offer-box .photo-slot {
    min-height: 190px;
    margin: -28px -28px 22px;
    border-radius: var(--radius) var(--radius) 0 0;
    border-left: none; border-right: none; border-top: none;
    border-bottom: 1px solid var(--border);
}

/* ===== PHOTO GALLERY ===== */
.gallery-section { background: var(--white); }

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 36px;
}
.photo-gallery .photo-slot { min-height: 260px; }

/* Large gallery variant (first photo spans 2 cols) */
.photo-gallery.gallery-featured .photo-slot:first-child {
    grid-column: span 2;
    min-height: 320px;
}

/* ===== CONTACT SECTION WITH PHOTO ===== */
.contact-with-photo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.contact-info-block h2 { color: var(--primary-dark); font-size: clamp(1.8rem, 3vw, 2.5rem); }
.contact-info-block .section-label { margin-bottom: 0; }
.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.contact-detail h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--secondary); margin: 0 0 4px; }
.contact-detail p { color: var(--muted); margin: 0; }
.contact-detail a { color: var(--primary-dark); font-weight: 600; }
.contact-detail a:hover { color: var(--primary); }

/* ===== SCROLL REVEAL (global) ===== */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.32s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
    .intro-grid { grid-template-columns: 1fr; gap: 36px; }
    .story-photo { width: 100%; min-height: 240px; }
    .photo-gallery { grid-template-columns: 1fr 1fr; }
    .photo-gallery.gallery-featured .photo-slot:first-child { grid-column: span 2; }
    .contact-with-photo { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .photo-gallery, .photo-gallery.gallery-featured { grid-template-columns: 1fr; }
    .photo-gallery.gallery-featured .photo-slot:first-child { grid-column: span 1; }
    .offer-box .photo-slot { margin: -28px -20px 18px; }
}