:root {
            --kekfesto-mely: #0f2557; 
            --kekfesto-alap: #1a3161;
            --kekfesto-vilagos: #eef2fb;
            --svab-korall: #ff6b6b;
            --feher: #ffffff;
            --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        }

        body {
            font-family: 'Quicksand', sans-serif;
            background-color: var(--kekfesto-vilagos);
            margin: 0;
            padding-top: 140px;
        }

        /* --- FIX FEJLÉC --- */
        .fixed-nav-wrapper {
            position: fixed;
            top: 0; left: 0; width: 100%;
            z-index: 1000;
            background-color: var(--kekfesto-mely);
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        }

        .header-main {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 15px 5%;
            position: relative;
        }

        .page-title {
            color: var(--feher);
            font-family: 'Parisienne', cursive;
            font-size: 2.5rem;
            margin: 0;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        .menu-toggle {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            position: absolute;
            right: 5%;
        }

        /* --- MENÜSOR --- */
        .nav-bar {
            background-color: rgba(0,0,0,0.15);
            padding: 10px 5%;
            transition: var(--transition);
        }

        .nav-bar ul {
            list-style: none;
            display: flex;
            justify-content: center;
            gap: 10px;
            margin: 0; padding: 0;
            flex-wrap: wrap;
        }

        .nav-bar a {
            text-decoration: none;
            color: var(--feher);
            font-size: 0.85rem;
            font-weight: 700;
            padding: 8px 16px;
            border-radius: 25px;
            background: rgba(255,255,255,0.1);
            transition: var(--transition);
            white-space: nowrap;
        }

        .nav-bar a:hover, .nav-bar a.active {
            background: var(--svab-korall);
            transform: translateY(-2px);
        }

        /* --- FIXÁLT PECSÉT LOGÓ --- */
        .seal-link {
            position: fixed;
            left: 30px;
            top: 20px;
            z-index: 1100;
            text-decoration: none;
            transition: var(--transition);
        }

        .seal-image {
            width: 130px;
            height: 130px;
            border-radius: 50%;
            border: 5px solid var(--feher);
            box-shadow: 0 10px 25px rgba(0,0,0,0.2);
            background-color: var(--feher);
            object-fit: cover;
            transition: var(--transition); /* Ez biztosítja a sima mozgást */
        }

        /* EZ A JAVÍTÁS: A logó interakciója */
        .seal-link:hover .seal-image {
            transform: scale(1.08) rotate(5deg);
            box-shadow: 0 15px 35px rgba(0,0,0,0.3);
        }

        .header-bottom-wave {
            line-height: 0;
            background-color: var(--kekfesto-mely);
        }
        .header-bottom-wave svg {
            width: 100%;
            height: 20px;
            fill: var(--kekfesto-vilagos);
        }

        /* --- TARTALOM ELRENDEZÉS --- */
        .content-container {
            max-width: 1200px;
            margin: 40px auto 60px auto;
            padding: 0 5%;
            display: grid;
            grid-template-columns: 300px 1fr;
            gap: 40px;
            align-items: start;
        }

        /* --- AUTOMATA OLDALSÓ SLIDER --- */
        .side-slider {
            position: sticky;
            top: 180px;
            width: 100%;
            height: 450px;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 12px 30px rgba(0,0,0,0.15);
            border: 4px solid var(--feher);
            background: #ddd;
        }

        .slider-wrapper {
            width: 100%;
            height: 100%;
            position: relative;
        }

        .slide {
            position: absolute;
            top: 0; left: 0;
            width: 100%; height: 100%;
            opacity: 0;
            transition: opacity 1.5s ease-in-out;
            display: flex;
            align-items: flex-end;
        }

        .slide.active {
            opacity: 1;
            z-index: 2;
        }

        .slide img {
            width: 100%; height: 100%;
            object-fit: cover;
        }

        .slide-caption {
            position: absolute;
            bottom: 0;
            width: 100%;
            background: linear-gradient(transparent, rgba(15, 37, 87, 0.9));
            color: white;
            padding: 25px 15px;
            font-size: 0.95rem;
            font-weight: 600;
            text-align: center;
            z-index: 3;
        }

        /* --- TÖRTÉNET SZÖVEG (Kártya árnyékkal) --- */
        .history-article {
            background: var(--feher);
            border-radius: 30px;
            padding: 50px;
            line-height: 1.8;
            color: #444;
            box-shadow: 0 10px 30px rgba(15, 37, 87, 0.08);
            transition: var(--transition);
        }

        .history-article:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 45px rgba(15, 37, 87, 0.15);
        }

        .history-article h2 {
            color: var(--kekfesto-mely);
            border-left: 5px solid var(--svab-korall);
            padding-left: 15px;
            margin-top: 40px;
            font-size: 1.8rem;
        }

        .history-article p {
            margin-bottom: 20px;
            text-align: justify;
        }

        /* MOBIL NÉZET SZABÁLYOK */
        @media (max-width: 950px) {
            body { padding-top: 80px; }
            .content-container { grid-template-columns: 1fr; }
            .side-slider { position: relative; top: 0; height: 300px; margin-bottom: 20px; }
            .menu-toggle { display: block; }
            .page-title { font-size: 1.8rem; }
            .nav-bar { display: none; width: 100%; background-color: var(--kekfesto-mely); padding: 20px 0; }
            .nav-bar.active { display: block; }
            .nav-bar ul { flex-direction: column; align-items: center; }
            .seal-link { display: none; }
            .history-article { padding: 30px 20px; }
        }
