html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(to bottom, #6db96d, #4e9e4e);
    font-size: 18px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: #1f2d1f;
}

/* NAV */

nav {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;

    flex-wrap: nowrap;          /* ❗ ne törjön több sorba */
    overflow-x: auto;           /* ha nagyon kicsi a kijelző */
    white-space: nowrap;

    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);

    padding: 15px 30px;
    border-radius: 60px;
    border: 1px solid rgba(255,255,255,0.3);

    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: 0.3s;
    flex-shrink: 0;   /* ❗ ne nyomódjanak össze csúnyán */
}

nav a:hover {
    color: #d4ffd4;
}

.elerhetosegek {
    display: flex;
    gap: 10px;
}

.elerhetosegek img {
    width: 50px;
}


/* HERO */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    padding: 120px 40px 60px 40px;
    max-width: 1200px;
    margin: auto;
}

.markanev {
    font-size: 20px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #144214;
    margin-bottom: 10px;
}


.szoveg h2 {
    font-size: 42px;
    margin-bottom: 25px;
}

.szoveg p {
    margin-bottom: 25px;
    line-height: 1.6;
}

.szoveg a {
    display: inline-block;
    margin-right: 15px;
    margin-top: 10px;
    padding: 12px 25px;
    border-radius: 30px;
    background-color: #1f5f1f;
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.szoveg a:hover {
    background-color: #144214;
}

.kep img {
    max-width: 100%;               /* ➜ mobil javítás */
    height: auto;                  /* ➜ mobil javítás */
    border-radius: 25px;
    box-shadow: 0 25px 40px rgba(0,0,0,0.25);
}

/* GYIK */

.gyk {
    padding: 100px 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

.gyk-box {
    padding: 35px;
    border-radius: 25px;
    box-shadow: 0 20px 35px rgba(0,0,0,0.08);
    transition: 0.4s;
}

.gyk-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 50px rgba(0,0,0,0.15);
}

.gyk-box h2 {
    color: #2e6b2e;
    margin-bottom: 15px;
    font-size: 22px;
}

.gyk-box p {
    line-height: 1.6;
}

/* GALÉRIA */

.galeria {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px 20px;
    max-width: 650px;
    margin: 0 auto;
}

.galeria img {
    width: 100%;                  /* ➜ levesszük a fix 500px-et */
    max-width: 500px;             /* desktopon marad az arány */
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    transition: 0.3s;
    padding-top: 15px;
}

.galeria img:hover {
    transform: scale(1.05);
}

/* FOOTER */

.footer {
    background-color: #1f2d1f;
    
    color: #fff;
    padding: 40px 20px 20px 20px;
    font-size: 16px;
    text-align: center; 
}

.footer a {
    color: #a8d5a8;
    text-decoration: none;
    transition: 0.3s;
}

.footer h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.footer p {
    margin: 5px 0;
}

.footer-bottom {
    margin-top: 20px;
    font-size: 14px;
    color: #a8d5a8;
}

.arak{
    display: block;
    width: fit-content;
    margin: 40px auto;
    text-align: center;
    padding: 20px 20px;
    border: 1px solid gray;
    background-color: #6db96d;
    border-radius: 20px;
}

.arak a{
    text-decoration: none;
}

.smsdoboz {
    width: fit-content;          
    margin: 20px auto;           
    border: 5px solid gainsboro;
    background-color: gainsboro;
    padding: 10px 20px;
    text-align: center;          
    border-radius: 10px;
}


.infok a{
    font-size: 10px;
    gap: 5px;
    color: gray;
}
/* RESZPONZÍV */

@media (max-width: 900px) {

    .hero {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .gyk {
        grid-template-columns: 1fr;
        padding: 60px 20px;
    }

    .galeria {
        grid-template-columns: 1fr;
    }

    .galeria img {
        height: 400px;
    }

    nav {
        gap: 15px;
        padding: 10px 15px;
        width: 95%;
        top: 15px;
    }

    nav a {
        font-size: 14px;
    }

    .elerhetosegek img {
        width: 35px;
    }

    .szoveg h1 {
        font-size: 28px;
    }

    .szoveg h2 {
        font-size: 26px;
    }
}
