body {
    background-color: #121212;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

* {
    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%;
}

.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;
}

.cookie-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 16px;
}

.cookie-desc {
    font-size: 14px;
    color: #aaa;
    margin-top: -8px;
    margin-bottom: 12px;
}

/* kapcsoló alap */
.switch {
    position: relative;
    width: 46px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* háttér */
.slider {
    position: absolute;
    inset: 0;
    background-color: #555;
    border-radius: 999px;
    transition: background-color 0.3s ease;
}

/* pöcök */
.slider::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    top: 3px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

/* BE állapot */
.switch input:checked + .slider {
    background-color: #1e88e5;
}

.switch input:checked + .slider::before {
    transform: translateX(20px);
}

/* letiltott */
.switch input:disabled + .slider {
    opacity: 0.5;
    cursor: not-allowed;
}

button {
    margin-top: 24px;
    padding: 12px 24px;
    border-radius: 999px;
    border: none;
    background: #1e88e5;
    color: #111;
    font-size: 15px;
    cursor: pointer;
}

/* footer */

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* felső email */
.footer-to {
    margin-bottom: 8px;
}

.footer-email {
    color: #1e88e5;
    font-size: 18px;
    text-decoration: none;
    margin: 10px 0 0 0;
}

/* arany csík */
.footer-divider {
    height: 1px;
    background: #1e88e5;
    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 #1e88e5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #176bd8;
    text-decoration: none;
}

@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);
}

.site-footer {
    margin-top: auto;
}