/* Alap stílusok */
body {
    font-family: open sans-serif, Arial, sans-serif;
    background: #f7f7f7;
    margin: 0;
    padding-top: 120px; /* hely a fix fejlécnek */
}

header {
    background: #005fa3;
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 200;
    box-shadow: 0 2px 8px #005fa344;
    height: 120px;
    display: flex;
    align-items: center;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 120px;
}

.header-logo {
    height: 80px;
    width: auto;
    margin-right: 1rem;
}

.header-title {
    flex: 1;
}

.header-title h1 {
    margin: 0;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.header-title h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
}

nav {
    margin-left: 2rem;
}

.menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.menu li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: color 0.2s;
    padding-left: 10px;
}

.menu li a:hover,
.menu li a.active {
    color: #ffd700;
    text-decoration: underline;
}

main {
    padding: 2rem 1rem;
    max-width: 1000px;
    margin: 2rem auto;
    background: #fff;
    box-shadow: 0 2px 8px #ddd;
    border-radius: 8px;
}

section {
    margin-bottom: 2rem;
}

h3 {
    color: #005fa3;
    margin-top: 0;
    background-color: #3668b4; /* Világos kékes háttér */
    padding:6px;
    color:white;
    text-align: center;
}

ul {
    padding-left: 1.2rem;
}

li {
    margin-bottom: 0.5rem;
}

a {
    color: #005fa3;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

footer {
    background: #eee;
    color: #333;
    font-size: 0.95rem;
    margin-top: 2rem;
    border-top: 1px solid #ddd;
    padding: 1rem 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 800px;
    margin: 0 auto 0.5rem auto;
    padding: 0 1rem;
}

.footer-info,
.footer-contact {
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: #005fa3;
}

.footer-copyright {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

/* Fix logó a jobb alsó sarokban */
.fixed-image {
    position: fixed;
    right: 20px;
    bottom: 20px;
    height: 64px;
    width: auto;
    max-width: 90vw;
    z-index: 100;
    opacity: 0.85;
    pointer-events: none;
}

/* Félkövér bekezdés külön osztályként */
.bold-paragraph {
    font-weight: bold;
}

/* 1,5 sortávolság, sorkizárt és padding minden bekezdésre */
p {
    line-height: 1.5;
    text-align: justify;
    padding-left: 50px;
    padding-right: 50px;
}

/* Mobil menü gomb szöveg margó */
.menu-toggle {
    display: none;
    background: #2d70a0;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    margin-left: 20px;
    margin-right: 1rem;
    z-index: 201;

}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-start;
    margin: 20px 0;
}
.gallery img {
    max-width: 220px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px #bbb;
    background: #fff;
    transition: transform 0.2s;
}
.gallery img:hover {
    transform: scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .header-content {
        max-width: 98vw;
        padding: 0 0.5rem;
    }
    main {
        max-width: 98vw;
        padding: 1rem 0.5rem;
    }
    .footer-content {
        max-width: 98vw;
        padding: 0 0.5rem;
    }
}

@media (max-width: 600px) {
    header {
        height: 80px;
    }
    .header-content {
        height: 80px;
        flex-direction: row;
        align-items: center;
        padding: 0.5rem;
        position: relative;
    }
    .header-logo {
        height: 40px;
        margin-bottom: 0;
    }
    .header-title h1 {
        font-size: 1.1rem;
    }
    .header-title h2 {
        font-size: 0.85rem;
    }
    nav {
        margin-left: 0;
        margin-top: 0;
    }
    .menu {
        flex-direction: column;
        gap: 0.5rem;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100vw;
        background: #005fa3;
        padding: 1rem 0;
        display: none;
    }
    .menu.menu-open {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
    body {
        padding-top: 90px;
    }
    .fixed-image {
        height: 40px;
        right: 10px;
        bottom: 10px;
        max-width: 80vw;
    }
}