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%;
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

h2 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.4px;
    color: #1e88e5;
    text-align: center;
}

h3 {
    font-size: 22px;
    margin-top: 28px;
    color: #176bd8;
    margin: 0 0 0 0;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.service-card {
    background: rgba(255,255,255,0.04);
    border-radius: 16px;
    padding: 24px;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
}

.card_p {
    margin: 2px 0 2px 0;
}

p {
    text-align: justify;
}

.page-center {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-text p {
    line-height: 1.75;
    font-size: 16.5px;
    color: rgba(255,255,255,0.85);
}

.about-text p + p {
    margin-top: 18px;
}

.highlight {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}


/* nagyobb overlay box */
.overlay-box {
    background: linear-gradient(
        180deg,
        rgba(44,44,44,0.75),
        rgba(24,24,24,0.85)
    );
    box-shadow: 0 40px 80px rgba(0,0,0,0.55);
    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;
}

.list {
    margin: 0 0 0 30px;
}

.works {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.work-card {
    text-decoration: none;
    color: #ffffff;
    background: rgba(255,255,255,0.04);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.45);
}

.work-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.work-card p {
    padding: 14px;
    text-align: center;
    font-weight: 600;
    color: #1e88e5;
}

/* mobil */
@media (max-width: 900px) {
    .works {
        grid-template-columns: 1fr;
    }
}

html {
    scroll-behavior: smooth;
}

[id] {
    scroll-margin-top: 100px;
}

/* 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;
}

.footer-tel {
    color: #1e88e5;
    font-size: 18px;
    text-decoration: none;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.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;
    }
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .fo_kep {
        max-height: 45vh;
    }
}

@media (max-width: 768px) {
    .overlay-box {
        padding: 20px;
        gap: 32px;
        margin-top: 40px;
    }
}
