﻿body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", sans-serif;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    color: black;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 960px;
    margin: auto;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

header {
    background-image: url('../kepek/fejlec1.jpg');/* Saját képed URL-je ide */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 1rem 0;
    position: relative;
}

    header h1 {
        margin: 0;
        font-size: 1.5rem;
    }

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

    nav a:hover {
        text-decoration: underline;
    }

.kreta-gomb {
    background-color: #ffcc00;
    color: #000;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s;
}

    .kreta-gomb:hover {
        background-color: #ffe066;
    }
.facebook-gomb {
    background-color: #ffcc00;
    color: #000;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s;
}

    .facebook-gomb:hover {
        background-color: #ffe066;
    }

/* Hero */
.hero {
    background: linear-gradient(to right, #005aa7, #fffde4);
    color: black;
    text-align: center;
    padding: 3rem 1rem;
}

/* Szekciók */
section {
    padding: 2rem 0;
}

h2 {
    color: #005aa7;
}
/* Galéria */
.carousel-3d {
    perspective: 1000px;
    max-width: 600px;
    margin: 4rem auto;
    position: relative;
    height: 280px;
}

    .carousel-3d input {
        display: none;
    }

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s ease;
}

.carousel-item {
    position: absolute;
    width: 50%; /* kisebb méret */
    top: 0;
    left: 25%;
    opacity: 0.4;
    transform: scale(0.8);
    transition: all 0.6s ease;
}

    .carousel-item img {
        width: 100%;
        height: auto;
        border-radius: 12px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
        object-fit: cover;
        transition: box-shadow 0.3s ease;
    }

/* Aktív kép */
#item1:checked ~ .carousel-container .img1,
#item2:checked ~ .carousel-container .img2,
#item3:checked ~ .carousel-container .img3,
#item4:checked ~ .carousel-container .img4,
#item5:checked ~ .carousel-container .img5,
#item6:checked ~ .carousel-container .img6,
#item7:checked ~ .carousel-container .img7,
#item8:checked ~ .carousel-container .img8,
#item9:checked ~ .carousel-container .img9,
#item10:checked ~ .carousel-container .img10,
#item11:checked ~ .carousel-container .img11,
#item12:checked ~ .carousel-container .img12,
#item13:checked ~ .carousel-container .img13,
#item14:checked ~ .carousel-container .img14,
#item15:checked ~ .carousel-container .img15,
#item16:checked ~ .carousel-container .img16,
#item17:checked ~ .carousel-container .img17,
#item18:checked ~ .carousel-container .img18,
#item19:checked ~ .carousel-container .img19,
#item20:checked ~ .carousel-container .img20{
    opacity: 1;
    transform: translateZ(80px) scale(1.05);
    z-index: 3;
    pointer-events: auto;
}

/* Bal oldali */
#item1:checked ~ .carousel-container .img20,
#item2:checked ~ .carousel-container .img1,
#item3:checked ~ .carousel-container .img2,
#item4:checked ~ .carousel-container .img3,
#item5:checked ~ .carousel-container .img4,
#item6:checked ~ .carousel-container .img5,
#item7:checked ~ .carousel-container .img6,
#item8:checked ~ .carousel-container .img7,
#item9:checked ~ .carousel-container .img8,
#item10:checked ~ .carousel-container .img9,
#item11:checked ~ .carousel-container .img10,
#item12:checked ~ .carousel-container .img11,
#item13:checked ~ .carousel-container .img12,
#item14:checked ~ .carousel-container .img13,
#item15:checked ~ .carousel-container .img14,
#item16:checked ~ .carousel-container .img15,
#item17:checked ~ .carousel-container .img16,
#item18:checked ~ .carousel-container .img17,
#item19:checked ~ .carousel-container .img18,
#item20:checked ~ .carousel-container .img19{
    transform: rotateY(30deg) translateX(-110%) scale(0.85);
    z-index: 2;
}

/* Jobb oldali */
#item1:checked ~ .carousel-container .img2,
#item2:checked ~ .carousel-container .img3,
#item3:checked ~ .carousel-container .img4,
#item4:checked ~ .carousel-container .img5,
#item5:checked ~ .carousel-container .img6,
#item6:checked ~ .carousel-container .img7,
#item7:checked ~ .carousel-container .img8,
#item8:checked ~ .carousel-container .img9,
#item9:checked ~ .carousel-container .img10,
#item10:checked ~ .carousel-container .img11,
#item11:checked ~ .carousel-container .img12,
#item12:checked ~ .carousel-container .img13,
#item13:checked ~ .carousel-container .img14,
#item14:checked ~ .carousel-container .img15,
#item15:checked ~ .carousel-container .img16,
#item16:checked ~ .carousel-container .img17,
#item17:checked ~ .carousel-container .img18,
#item18:checked ~ .carousel-container .img19,
#item19:checked ~ .carousel-container .img20,
#item20:checked ~ .carousel-container .img1{
    transform: rotateY(-30deg) translateX(110%) scale(0.85);
    z-index: 2;
}








.video-wrapper {
    display: flex;
    justify-content: center;
    padding: 1rem;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 560px;
    padding-top: 56.25%; /* 16:9 arány */
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    background: black;
}

    .video-container video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: contain; /* fontos: teljes videó látszódjon */
        border: none;
    }






/* Térkép */
.map-container {
    margin-top: 1rem;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 1rem 0;
}

/* Mobil */
@media (max-width: 600px) {
    .header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;  
        background-image: url('../kepek/fejlec1.jpg'); /* Cseréld saját képedre */
    }

    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }

    .kreta-gomb {
        align-self: flex-end;
    }
    .facebook-gomb{
        align-self: flex-end;
    }
}
.calendar {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 1rem;
    background: white;
    max-width: 400px;
    margin: auto;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

    .calendar-header h3 {
        margin: 0;
        font-size: 1.2rem;
        color: #005aa7;
    }

    .calendar-header button {
        background: #005aa7;
        color: white;
        border: none;
        padding: 0.5rem 1rem;
        border-radius: 6px;
        cursor: pointer;
    }

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    gap: 5px;
}

    .calendar-grid div {
        padding: 0.5rem;
        background: #f4f4f4;
        border-radius: 4px;
    }

.flexbox {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
}

.hirek, .naptar {
    flex: 1 1 300px;
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.calendar-grid div.selected {
    background: #005aa7;
    color: white;
    font-weight: bold;
}

.date-link {
    color: #005aa7;
    text-decoration: underline;
    cursor: pointer;
}

@media (max-width: 768px) {
    .flexbox {
        flex-direction: column;
        gap: 1rem;
    }
}
#visszaFel {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
}

    #visszaFel:hover {
        background-color: #0056b3;
    }
#dokumentumok {
    padding: 3rem 2rem;
    background-image: url('../kepek/szürkehatter.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
}

    #dokumentumok h2 {
        text-align: center;
        font-size: 2rem;
        margin-bottom: 2rem;
        color: #333;
    }

.dokumentum-lista {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.dokumentum-kartya {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 1.5rem;
    max-width: 300px;
    flex: 1 1 250px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .dokumentum-kartya:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    }

    .dokumentum-kartya h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
        color: #0050b3;
    }

    .dokumentum-kartya p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
        color: #555;
    }

    .dokumentum-kartya a {
        display: inline-block;
        padding: 0.5rem 1rem;
        background: #0050b3;
        color: white;
        text-decoration: none;
        border-radius: 8px;
        font-weight: bold;
        transition: background 0.2s ease;
    }

        .dokumentum-kartya a:hover {
            background: #003974;
        }
.gombok {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

    .gombok a {
        padding: 0.5rem 1rem;
        background: #0050b3;
        color: white;
        text-decoration: none;
        border-radius: 8px;
        font-weight: bold;
        transition: background 0.2s ease;
    }

        .gombok a:hover {
            background: #003974;
        }

.floating-logo {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 9999;
    width: clamp(60px, 10vw, 120px); /* Automatikusan igazodik a képernyőhöz */
    transition: transform 0.2s ease;
}

    .floating-logo img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .floating-logo:hover {
        transform: scale(1.05);
    }

@media (max-width: 480px) {
    .floating-logo {
        top: 0.5rem;
        left: 0.5rem;
        width: 70px;
    }
}