/* Alapbeállítások minden elemhez */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Test teljes hátterének beállítása */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #fcf6d4;
    color: #333;
}

/* Konténer beállítások */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Fejléc és menü stílusok */
.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
    background: #004085;
    color: #fff;
}

.logo img {
    max-height: 50px;
    height: auto;
}

header h1 {
    margin: 10px 0;
    text-align: center;
}

nav ul.nav-center {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

nav ul.nav-center li {
    margin: 0 10px;
}

nav ul.nav-center li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

/* Szekció stílusok */
.section {
    padding: 40px 0;
    position: relative;
}

.section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    width: 2px;
    background-color: #ccc;
    z-index: -1;
    transform: translateX(-50%);
}

.card {
    background: #ffffff;
    padding: 20px;
    margin: 2rem auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    max-width: 600px;
    text-align: center;
}

.card h2 {
    text-align: center;
    margin-bottom: 20px;
}

.card ul {
    list-style: none;
    padding: 0;
}

.card ul li {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.card ul li:last-child {
    border-bottom: none;
}

/* Portré kép stílusok */
.portrait-container {
    display: flex;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.portrait-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
}

/* Lábjegyzet */
footer {
    background: #004085;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

/* Ikonok margóval */
.fa-envelope, .fa-phone, .fa-map-marker {
    margin-right: 10px;
}

/* Reszponzív beállítások */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }

    nav ul.nav-center {
        flex-direction: column;
        align-items: center;
    }

    .about-image {
        margin-bottom: 20px;
    }

    .portrait-image {
        width: 80%;
    }
}
