body {
    background-color: #121212;
    color: #ffffff;
    min-height: 100vh;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* nav sav */
.site-navbar {
    background-color: #2c2c2c;
    width: 100%;
}

.navbar-container {
    width: 100%;
    padding: 16px 20px; 

    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo img {
    height: 36px;      
    width: auto;       
    display: block;
}


.nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

/* gepes nezetu linkek */
.nav-links {
    list-style: none;
    display: flex;
    gap: 28px;
}

.nav-links a {
    display: inline-block;
    padding: 2px 0;       

    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 16px;

    transition:
        transform 0.18s cubic-bezier(0.4, 0, 0.2, 1),
        color 0.18s cubic-bezier(0.4, 0, 0.2, 1);

    will-change: transform;
}

.nav-links a:hover {
    color: #ffffff;
    transform: scale(1.08);
}

.hamburger {
    display: none;
    width: 40px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
}

.hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 13px; }
.hamburger span:nth-child(3) { top: 26px; }

.hamburger.active span:nth-child(1) {
    top: 13px;
    transform: rotate(45deg);
    background: #ffffff;
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    top: 13px;
    transform: rotate(-45deg);
    background: #ffffff;
}

.site-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* mobil menu */
.mobile-menu {
    position: absolute;
    top: 72px;
    right: 20px;
    width: 220px;
    background-color: #2c2c2c;
    border-radius: 14px;
    padding: 14px 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);

    opacity: 0;
    transform: translateY(-10px) scale(0.96);
    pointer-events: none;
    transition: all 0.25s ease;
}

.mobile-menu a {
    display: block;
    padding: 12px 22px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.mobile-menu a:hover {
    color: #ffffff;
}

.mobile-menu.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* responsive */
@media (max-width: 991px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }
}

.fo_kep {
    width: 99.99%;
}

.page-center {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* nagyobb overlay box */
.overlay-box {
    background-color: rgba(44, 44, 44, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    width: 92%;              
    max-width: 1600px;     
    
    padding: 32px 36px;
    border-radius: 20px;

    margin: 80px auto 0 auto;

    color: #ffffff;

    display: flex;
    flex-direction: column; 
    gap: 48px;
}

.index_p {
    font-size: 18px;
    line-height: 1.6;
    text-align: justify;
    margin: auto;
    margin-top: 65px;
}

/* finomitas telora*/
@media (max-width: 600px) {
    .overlay-box {
        padding: 24px 20px;
        border-radius: 16px;
        margin-top: 40px;
    }
}

.content-block {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 48px;
}

.content-block.reverse {
    flex-direction: row-reverse;
}

.content-image {
    width: 450px;
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    border: 3px solid rgba(180, 140, 50, 0.75);
    flex-shrink: 0;
}

.content-text {
    flex: 1;
}

@media (max-width: 768px) {
    .content-block,
    .content-block.reverse {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* beuszas animaciok*/

.fade-in {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* kepek beuszasi animacioja */

.fade-image {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 1.4s ease, transform 1.4s ease;
}

.fade-image.show {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) { /* mobil eseten finomitas */

    .fade-in {
        transform: translateY(20px);       /* volt 60px */
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .fade-image {
        transform: translateY(20px);       /* ne oldalról */
        transition: opacity 0.6s ease, transform 0.6s ease;
        transition-delay: 0s;              /* nincs késleltetés */
    }

}

@media (max-width: 768px) { /*layout finomitas mobilon*/
    .content-row {
        gap: 16px;
    }
}

/* MOBIL */
@media (max-width: 768px) {
    .content-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .content-row,
    .content-row-r {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

h2 {
    color: rgba(180, 140, 50, 0.75);
    margin-bottom: 12px;
}

.mission-list {
    margin: 12px 0 24px 20px; /* kontrollált távolság */
    padding: 0;
}

.mission-list li {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 6px;
}

/* Támogatók listája */

.center-logo-block {
    text-align: center;
    margin: 80px auto 60px;
}

.center-logo-block h2 {
    color: #c9a14a;
    margin-bottom: 24px;
    font-size: 28px;
    letter-spacing: 0.5px;
}

/* LOGÓ */
.center-logo,
.logo-link img {
    max-width: 320px;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* HOVER */
.logo-link img:hover,
.center-logo:hover {
    transform: scale(1.06);
    opacity: 0.95;
}

.center-p {
    color: #aaa;
}

/* MOBIL */
@media (max-width: 768px) {
    .center-logo,
    .logo-link img {
        max-width: 240px;
    }
}

/* Támogatók blokk */

.sponsors-block {
    text-align: center;
    margin: 100px auto 80px;
}

.sponsors-block h2 {
    color: #c9a14a;
    font-size: 30px;
    margin-bottom: 48px;
}

/* GRID */
.sponsors-grid {
    display: grid;
    margin: 50px;
    grid-template-columns: repeat(3, 1fr);
    gap: 200px;
    align-items: center;
}

/* EGY SZPONZOR */
.sponsor-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

/* LOGÓ */
.sponsor-item img {
    max-width: 280px;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* HOVER */
.sponsor-item img:hover {
    transform: scale(1.06);
    opacity: 0.95;
}

/* NÉV */
.sponsor-item p {
    font-size: 16px;
    color: #aaa;
}

@media (max-width: 600px) {
    .sponsors-grid {
        grid-template-columns: 1fr; /* EGYESÉVEL */
        gap: 40px;
    }

    .sponsor-item img {
        max-width: 200px; /* logók kisebbek mobilon */
    }
}

/* footer */

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* felső email */
.footer-to {
    margin-bottom: 8px;
}

.footer-email {
    color: #d6b15a;
    font-size: 18px;
    text-decoration: none;
    margin: 10px 0 0 0;
}

/* arany csík */
.footer-divider {
    height: 1px;
    background: rgba(180, 140, 50, 0.6);
    margin-bottom: 12px;
}

/* alsó sor */
.footer-bottom {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
}

/* bal */
.footer-copy {
    color: #777;
    font-size: 14px;
}

/* közép */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 18px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: #fff;
}

/* jobb */
.footer-social {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(180, 140, 50, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d6b15a;
    text-decoration: none;
}

.custom-link {
  color: #aaa;              
  text-decoration: none;
}

.custom-link:hover {
  color: white;             
}


@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .footer-icons {
        justify-content: center;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s ease, transform 1.2s ease;

}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}
