/* Alap beállítások */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fcd5a5;
    color: #4b2e2e;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* HEADER */
header {
    background-color: #ffd1a9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    border-bottom: 2px solid #d9bfa3;
    position: relative;
}

header .logo {
    max-height: 60px;
}

header .title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Hamburger ikon mindig látszik */
.nav-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #4b2e2e;
    border-radius: 2px;
}

/* Alap navbar elrejtve */
.navbar {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 2rem;
    background-color: #fff7f0;
    border: 1px solid #d9bfa3;
    padding: 1rem;
    width: 220px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.navbar.active {
    display: flex;
}

.navbar a {
    text-decoration: none;
    color: #4b2e2e;
    padding: 0.5rem;
    transition: background 0.3s ease;
}

.navbar a:hover {
    background-color: #e8d6c3;
    border-radius: 5px;
}

/* BODY */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

main .content {
    max-width: 800px;
    width: 100%;
    text-align: center;
    background-color: #ffffff;
    padding: 2rem;
    margin: 3rem 1rem;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

main .content-index {
    max-width: 800px;
    width: 100%;
    text-align: center;
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

main .content h1 {
    margin-bottom: 1.5rem;
}

main .content h4 {
    text-align:justify;
    margin: 1rem 0;
}

main .content p {
    text-align:justify;
    margin-bottom: 1rem;
    font-size: medium;
    
}

main .content ul {
    list-style-type: circle;
    list-style-position: inside;
    padding: 0;
    text-align: left;
}

main .content li {
    text-align: left;
    margin: 0.5rem 0;
    border-radius: 8px;
}

main .content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1rem 0;
}

.img_index {
    max-width: 34%;
    height: auto;
    border-radius: 12px;
    margin: 3rem 0;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.img_pc {
    max-width: 25%;
    height: auto;
    border-radius: 12px;
    margin: 1rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

#img-k{
    margin: 2rem 0 0 0;
}

.container-1-1 {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 3rem;
    background: linear-gradient(to bottom, #fcd5a5, #FDE3C4);
}

.container-1-1-1 {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 3rem;
    background: linear-gradient(to bottom, #fcd5a5, #FDE3C4);
}

.container-1-1-2 {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 3rem;
    background: linear-gradient(to bottom, #fcd5a5, #FDE3C4);
}

.container-1-2 {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 3rem;
    background: linear-gradient(to bottom, #FDE3C4, #fcd5a5);
}

.container-1-2-2 {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    padding: 3rem;
    background: linear-gradient(to bottom, #FDE3C4, #fcd5a5);
}

.container-1-2-2 img{
    max-height: 40rem;
    margin: 0 8rem;
    align-self: flex-start;
}

.container-2 {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 20rem;
    height: 25rem;
    margin: 0 3rem;
    text-align: center;
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    transition: box-shadow 0.3s ease;
}

.container-2:hover {
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    transition: box-shadow 0.3s ease;
}

.container-2 img {
    max-width: 90%;
    height: 12rem;
    margin: 1rem 0;
    border-radius: 12px;
}

.img-rovid-szoveg{
    max-width: 90%;
    height: 12rem;
    margin: 1.5rem 0;
    border-radius: 12px;
}

.name {
    font-weight: bold;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.link {
    width: 7rem;
    height: 2.5rem;
    margin-top: 1rem;
    background-color: #ffd1a9;
    color: #4b2e2e;
    font-weight: bold;
    border-radius: 10px;
    box-shadow: 0 0 7px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.link:hover {
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    transform: scale(1.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* FOOTER */
footer {
    background-color: #EED9C4;
    padding: 2rem 1rem;
    color: #4b2e2e;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 1rem;
    text-align: center;
}

footer div {
    padding: 0.5rem;
}

footer .mobile {
    display: none;
}


footer .mobile div .data {
    padding: 0.2rem;
}

@media (max-width: 1000px) {
    .main {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    main .content {
        width: 90%;
    }

    .img_pc {
        max-width: 25%;
        height: auto;
        border-radius: 12px;
        margin: 1rem;
        display: none;
    }

    .img_index {
        display: none;
    }

    .container-1-1 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, auto);
        gap : 3rem;
        padding: 1.5rem;
    }

    .container-1-2 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, auto);
        gap: 3rem;
        padding: 1.5rem;
    }

    footer .pc{
        display: none;
    }

    footer .mobile {
        display: block;
    }
}

@media (max-width: 650px) {
    .container-1-1 {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1rem 1rem;
    }

    .container-1-1-1 {
        padding: 1rem 1rem;
    }

    .container-1-2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1rem 1rem;
    }

    .container-1-2-2 {
        padding: 3rem 1rem;
    }
    
    footer {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(8, 0.5rem);
    }

    
}
