* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    min-height: 100vh;
}

/* konténer a topbar + header köré */
.topnav-wrapper {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

/* TOPBAR */
.topbar {
    width: 100%;
    background: #222;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.2rem 10%;
    font-size: 0.8rem;
    min-height: 25px;
}

.topbar .contact-info span {
    margin-right: 1.5rem;
}

.topbar .social-links {
    display: flex;
    align-items: center; /* minden egy vonalba kerül */
}

.topbar .social-links a {
    color: #fff;
    margin-left: 0.8rem;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    
    text-decoration: none;

    /* ÚJ: középre igazítás az ikonok és szövegek számára is */
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1; /* baseline eltérés megszűnik */
}

.topbar .social-links a:hover {
    color: rgb(57 184 198);
    filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.6));
}

/* Nyelvváltó kicsit más stílus */
.topbar .social-links .lang-link {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1;            /* baseline eltérés megszűnik */
    align-items: center;       /* ÚJ: szöveg középre kerül függőlegesen */
    text-decoration: none;
}

.topbar .social-links .lang-link:hover {
    color: rgb(57 184 198);
}
/* --- NYELVVÁLASZTÓ --- */

/* VÉGE TOPBAR */


/* NAVBAR */
.header {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.9rem 10%;
    padding-bottom: 0px;
    padding-top: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    min-height: 70px;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 106, 117, 0.75);
    backdrop-filter: blur(50px);
    z-index: -1;
}

.logo {
    display: flex;
    align-items: center;
    height: 70px;
    text-decoration: none;
}

/* logó kép kezelése */
.logo img {
    height: 100%;
    width: auto; 
    max-width: 180px;
    object-fit: contain;
    display: block;    
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6)); /* ÚJ */       
}

.navbar a {
    font-size: 1.1rem;
    color: #222;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 550;
    margin-left: 2.5rem;
    transition: color 0.3s ease;
}

.navbar a.active {
    color: white;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.6));
}

.navbar a:hover {
    color: white;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.6));
}

#check {
    display: none;
}

.icons {
    position: absolute;
    right: 5%;
    font-size: 2.8rem;
    color: #fff;
    cursor: pointer;
    display: none;
}
/* END OF NAVBAR */



/* --- FOOTER --- */
footer {
    min-height: 60vh;
    text-align: center;
    color: white;
}

.footer-background {
    background: rgb(203, 193, 160);
    background-image: url(../img/footer.png);  
    padding-top: 10rem;
    padding-left: 10rem;
    padding-right: 10rem;
}

@media (max-width: 1165px) {
    .footer-background {
        padding-left: 5rem;
        padding-right: 5rem;
    }
}

footer .logo-picture {
    width: 180px;
    object-fit: cover;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
}

footer h3 {
    color: rgb(233,228,212);
}

.columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.social-column {
    text-align: start;
}

.data-column {
    text-align: end;
}

.social-column p, .social-column h3, .menu-column h3, .menu-column p, .data-column p, .data-column h3 {
    margin-bottom: 1rem;
}

.social-column a, .menu-column a, .data-column a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-column a:hover, .menu-column a:hover, .data-column a:hover {
    color: rgb(203, 193, 160);
    filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.6));
}

.social-column i {
    font-size: 1.2rem;
    margin-right: 1rem;
}

.bottom-info {
    width: 100%;
    color: rgb(233,228,212);
    background: rgb(0, 73, 82);
    padding: 1rem;
    font-size: 0.75rem;
}

.bottom-info a {
    text-decoration: none;
    color: rgb(233,228,212);
}

@media (max-width: 1005px) {
    .footer-background {
        padding-left: 3rem;
        padding-right: 3rem;
    }

    .columns {
        grid-template-columns: auto 1fr 1fr;
    }
}

@media screen {
    footer {
        min-height: max-content;
    }
}

@media (max-width: 680px) {
    .footer-background {
        padding-top: 8rem;
    }

    footer .logo-picture {
        margin-bottom: 0rem;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
    }

    .social-column p, .social-column h3, .menu-column h3, .menu-column p, .data-column p, .data-column h3 {
        margin-bottom: 0.6rem;
    }

    .menu-column {
        text-align: end;
    }
    
    .data-column {
        text-align: start;
        margin-top: 1.4rem;
    }

    .columns {
        grid-template-columns: auto 1fr;
    }
}

@media (max-width: 500px) {
    .footer-background {
        background-image: url(../img/Footer-m.png);
        background-repeat: no-repeat;
        background-size: cover;
        padding-top: 10rem;
    }

    .social-column h3 {
        margin-bottom: 1rem;
    }

    .columns {
        grid-template-columns: 1fr;
    }

    .social-column, .menu-column, .data-column {
        text-align: center;
        margin-top: 1.4rem;
    }
}
/* --- END OF FOOTER --- */




/* --- RESPONSIVE --- */
@media (max-width: 835px) {
    .icons {
        display: inline-flex;
    }

    #check:checked~.icons #menu-icon {
        display: none;
    }

    .icons #close-icon {
        display: none;
    }

    #check:checked~.icons #close-icon {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 0;
        background-color:  rgba(0, 106, 117, 0.4);
        backdrop-filter: blur(50px);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
        overflow: hidden;
        transition: .4s ease;
    }
    
    .navbar a.active {
        border-bottom: 0px;
        padding-bottom: 0px;
    }

    .navbar a:hover {
        border-bottom: 0px;
        padding-bottom: 0px;
    }

    #check:checked~.navbar {
        height: 13.5rem;
        border: 0px;
    }

    .navbar a {
        display: block;
        font-size: 1.1rem;
        margin: 1.5rem 0;
        text-align: center;
    }
}

@media (max-width: 630px) {
    /* topbar mobilon oszlopos */
    .topbar {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 0.5rem;
    }

    .topbar .contact-info {
        margin-bottom: 0.5rem;
    }

    .topbar .contact-info span {
        display: block;
        margin: 0.2rem 0;
    }

    .topbar .social-links a {
        margin: 0 0.5rem;
    }
}
/* --- END OF RESPONSIVE --- */