:root {
            --primary-color: #4CAF50; /* Zelená */
            --secondary-color: #607D8B; /* Šedá */
            --text-color: #333;
            --light-text-color: #f4f4f4;
            --background-color: #f9f9f9;
            --header-bg-color: #fff;
            --footer-bg-color: #333;
            --border-radius: 8px;
            --padding-base: 20px;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Roboto', sans-serif;
            line-height: 1.6;
            color: var(--text-color);
            background: var(--background-color);
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 var(--padding-base);
        }

        /* Navigace */
        .main-header {
            background: var(--header-bg-color);
            padding: var(--padding-base) 0;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .main-nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .main-nav .logo {
            font-size: 1.8em;
            font-weight: 700;
            color: var(--primary-color);
            text-decoration: none;
        }

        .main-nav ul {
            list-style: none;
            display: flex;
        }

        .main-nav ul li {
            margin-left: 30px;
        }

        .main-nav ul li a {
            color: var(--secondary-color);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .main-nav ul li a:hover,
        .main-nav ul li a.active {
            color: var(--primary-color);
        }

        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            padding: 5px;
        }

        .hamburger .bar {
            height: 3px;
            width: 25px;
            background-color: var(--text-color);
            margin: 4px 0;
            transition: 0.3s;
        }

        /* Hero sekce */
        .hero {
            background: url('https://via.placeholder.com/1500x600/4CAF50/FFFFFF?text=Pozadí+Příroda') no-repeat center center/cover;
            color: var(--light-text-color);
            text-align: center;
            padding: 100px 0;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 400px;
        }

        .hero-content {
            max-width: 800px;
            background-color: rgba(0, 0, 0, 0.4);
            padding: 40px;
            border-radius: var(--border-radius);
        }

        .hero h1 {
            font-size: 3.5em;
            margin-bottom: 15px;
        }

        .hero p {
            font-size: 1.2em;
            margin-bottom: 30px;
        }

        .btn {
            display: inline-block;
            background: var(--primary-color);
            color: var(--light-text-color);
            padding: 12px 25px;
            text-decoration: none;
            border-radius: var(--border-radius);
            transition: background 0.3s ease;
        }

        .btn:hover {
            background: #45a049;
        }

        /* Hlavní obsah */
        main {
            flex: 1;
            padding: var(--padding-base) 0;
        }

        section {
            background: var(--header-bg-color);
            padding: var(--padding-base) * 2;
            margin-bottom: var(--padding-base);
            border-radius: var(--border-radius);
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        }

        section h2 {
            font-size: 2.2em;
            color: var(--primary-color);
            margin-bottom: var(--padding-base);
            text-align: center;
        }

        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: var(--padding-base);
        }

        .grid-item {
            background: var(--background-color);
            padding: var(--padding-base);
            border-radius: var(--border-radius);
            box-shadow: 0 1px 3px rgba(0,0,0,0.08);
            text-align: center;
            display: flex;
            flex-direction: column;
        }

        .grid-item img {
            max-width: 100%;
            border-radius: var(--border-radius);
            margin-bottom: 15px;
        }

        .grid-item .text-content {
            margin-top: auto;
            width: 100%;
            display: flex; /* Použijeme flexbox i zde pro zarovnání */
            flex-direction: column;
            align-items: center; /* Centruje obsah uvnitř text-content */
        }

        .grid-item h3 {
            font-size: 1.5em;
            color: var(--secondary-color);
            margin-bottom: 10px;
        }

        /* Styly pro rozbalovací text */
        .info-content {
            max-height: 0; /* Skryje obsah */
            overflow: hidden;
            transition: max-height 0.5s ease-out; /* Plynulá animace */
            width: 100%; /* Zajistí, že zabere celou šířku */
            text-align: center; /* Centruje text uvnitř */
        }

        .info-content.show {
            max-height: 200px; /* Dostatečná výška pro zobrazení obsahu */
            /* Můžete nastavit i větší hodnotu, pokud očekáváte delší text */
        }

        .info-content p {
            margin-bottom: 5px; /* Mezery mezi jednotlivými p tagy */
        }

        .toggle-info-btn {
            display: inline-block;
            background: var(--primary-color);
            color: var(--light-text-color);
            padding: 8px 15px;
            text-decoration: none;
            border-radius: 5px;
            margin-top: 10px; /* Mezera nad tlačítkem */
            cursor: pointer;
            border: none;
            transition: background 0.3s ease;
        }

        .toggle-info-btn:hover {
            background: #45a049;
        }

        /* Patička */
        .main-footer {
            background: var(--footer-bg-color);
            color: var(--light-text-color);
            text-align: center;
            padding: var(--padding-base) 0;
            margin-top: 30px;
        }

        .main-footer p {
            margin: 0;
            font-size: 0.9em;
        }

        /* Responsivní design */
        @media (max-width: 768px) {
            .main-nav ul {
                display: none;
                flex-direction: column;
                width: 100%;
                position: absolute;
                top: 70px;
                left: 0;
                background: var(--header-bg-color);
                box-shadow: 0 5px 5px rgba(0,0,0,0.1);
                border-top: 1px solid #eee;
            }

            .main-nav ul.show {
                display: flex;
            }

            .main-nav ul li {
                margin: 0;
                width: 100%;
                text-align: center;
                border-bottom: 1px solid #eee;
            }

            .main-nav ul li:last-child {
                border-bottom: none;
            }

            .main-nav ul li a {
                display: block;
                padding: 15px var(--padding-base);
            }

            .hamburger {
                display: flex;
            }

            .hero h1 {
                font-size: 2.5em;
            }

            .hero p {
                font-size: 1em;
            }

            .grid {
                grid-template-columns: 1fr;
            }
        }