body {
    background-color: #f8fafc;
    margin: 0;
    color: #1e293b;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;


}

section {
    padding: 100px 0;

}

section h2 {
    margin-bottom: 40px;
}

.header {
    width: 100%;
    height: 60px;
    background: #0f172a;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    padding: 0 20px;
    box-sizing: border-box;
}

.header .logo {
    display: none;

}

/*
.header .logo img{
    height:30px;
    width:auto;
}*/
aside {
    display: flex;
    flex-direction: column;
    width: 240px;
    height: 100vh;
    background-color: #0f172a;
    position: fixed;
    top: 0;
    left: 0;
    padding: 30px 20px;
    box-sizing: border-box;
    color: #ffffff;
    z-index: 100000;
    transform:none;
    

}
aside.active{
    transform:translateX(0);
}
aside a {
    color: #e2e8f0;
    text-decoration: none;
    transition: 0.3s ease;

}

aside a:hover {
    color: #d4af37;
    padding-left: 6px;
}

main {
    margin-left: 240px;
    padding: 40px;
    margin-top: 60px;


}

.logo img {
    max-width: 140px;
    height: auto;

}

.menu-toggle {
    display: none;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 60px 0;

}

nav li {
    margin-bottom: 18px;
}

.sidebar-contact {
    margin-top: auto;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.sidebar-contact a {
    color: #cbd5e1;
}

.sidebar-theme {
    position: none;
    top: 20px;
    right: 20px;
    background: none;
}

#hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
}

.hero-text {
    max-width: 500px;

}


.hero-text h1 {
    font-size: 64px;
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -1.5px;
}

.hero-note {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 12px;
}


.hero-text p {
    font-size: 18px;
    color: #64748b;
}

.hero-image {
    position: relative;


}

.hero-image img {
    width: 650px;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    display: inline-block;
    margin-top: 40px;
    padding: 16px 28px;
    font-size: 15px;
    background-color: #0f172a;
    color: #ffffff;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s ease;
}

.btn-primary:hover {
    background-color: #d4af37;
    color: #0f172a;
}

#projektek {
    margin-top: 120px;
    padding: 100px 0;
    background: #f7f9fc;
    position: relative;
    overflow: hidden;
}

#projektek::before {
    content: "";
    position: absolute;

    width: 700px;
    height: 700px;

    background: radial-gradient(circle, rgba(15, 31, 56, 0.08) 0%, transparent 70%);

    top: -200px;
    right: -200px;

    pointer-events: none;
}

#projektek h2 {
    font-family: "Playfair Display", serif;
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -0.5px;
    position: relative;

    color: #0f1b2d;
    margin-bottom: 40px;
}

.project-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto;
}
#egyeb .card h3{
    color:#94a3b8
}





.card h3 {
    margin-top: 16px;
    font-size: 22px;
   
   

}

.card {
    padding: 0;
    border-radius: 16px;
    background: none;
    box-shadow: none;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);

}

.card img {
    width: 100%;
    display: block;
    border-radius: 16px;
}


.card a {
    text-decoration: none;
    color: inherit;
    display: block;

}

#egyeb .card img {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 0 auto;
}

#egyeb .card {
    background: #0f172a;
    padding: 40px;
    border-radius: 18px;
}

#egyeb .card p {
    margin-top: 20px;
}

#rolam {
    padding: 20px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.02);
}

#rolam h2 {
    font-family: "Playfair Display", serif;
    font-size: 36px;
    margin-bottom: 16px;
    color: #0f1b2d;
}

#rolam p {
    font-size: 18px;
    line-height: 1.75;
    color: #475569;
    margin-bottom: 24px;
}

#kapcsolat {
    margin-top: 120px;
    border-radius: 18px;
    padding-bottom: 80px;
    position: relative;


}

#kapcsolat::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.06) 0%, transparent 70%);

    bottom: -200px;
    right: -150px;

    pointer-events: none;

}

#kapcsolat a {
    color: #0f1f38;
    text-decoration: none;
    font-weight: 500;
}

#kapcsolat a:hover {
    color: #d4af37;
}

.contact-container {
    max-width: 700px;
    background: #f4f7fb;
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.06);

}

.contact-container:hover {
    transform: translateY(-4px);
    transition: 0.3s ease;
}

#kapcsolat h2 {
    font-family: "Playfair Display", serif;
    font-size: 42px;
    margin-bottom: 30px;
}

.contact-container h3 {
    font-size: 24px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 6px;
}

.contact-container h3+p {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e2e8f0;
}

.contact-container p {
    font-size: 17px;
    color: #475569;
}

.contact-links {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #0f1f38;
    font-weight: 500;
    transition: 0.2s;
}

.contact-links a:hover {
    color: #d4af37;
    transform: translateX(4px);
}

.btn {
    margin-top: 30px;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    background: #0f172a;
    color: white;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn:hover {
    background: #d4af37;
    color: #0f172a;
}

footer {
    margin-left: 240px;
    margin-top: 120px;
    padding: 40px 50px;
    border-top: 1px solid #e2e8f0;
    font-size: 14px;
    color: #64748b;
    display: flex;
    gap: 40px;
    justify-content: center;


}

footer p:first-child::after {
    content: "•";
    margin-left: 20px;
    color: #94a3b8;
}

footer p:last-child {
    color: #475569;
    font-weight: 500;

}

#theme-toggle {
    position: absolute;
    top: 10px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #f1f5f9;

}

#theme-toggle:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: #d4af37;
}

.menu-toggle {
    display: none;
}


.theme-desktop {
    display: none;

    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;

}

body.dark {
    background: #0f172a;
    color: #e2e8f0;
}

/* HEADINGS */
body.dark h1,
body.dark h2,
body.dark h3 {
    color: #f1f5f9;
}

/* SIDEBAR */
body.dark aside {
    background: #020617;
}

/* HERO */
body.dark #hero {
    background: #0f172a;
}

/* RÓLAM */
body.dark #rolam {
    background: rgba(255, 255, 255, 0.02);
}



/* PROJEKTEK */
body.dark #projektek {
    background: #0f172a;
}

body.dark #projektek h2 {
    color: #f1f5f9;
}

/* KAPCSOLAT */
body.dark #kapcsolat {
    background: #0f172a;
}

body.dark .contact-container {
    background: #1e293b;
}

body.dark .contact-container h3 {
    color: #f1f5f9;
}

body.dark .contact-container p {
    color: #cbd5e1;
}


/* GOMB */
body.dark .btn-primary {
    background: #d4af37;
    color: #0f172a;
}

body.dark .btn-primary:hover {
    background: #b8962e;
}

body.dark #kapcsolat a {
    color: #94a3b8;
}

body.dark #rolam p {
    color: #94a3b8;
}

body.dark #rolam h2 {
    color: #f1f5f9;
}
#toast{
    position:fixed;
    bottom:20px;
    left:50%;
    transform:translateX(-50%) translateY(100px);
    background:#0f172a;
    color:#fff;
    padding:12px 20px;
    border-radius:10px;
    font-size:14px;
    opacity:0;
    transition:0.3s;
    z-index:9999;
}

#toast.show{
    opacity:1;
    transform:translateX(-50%) translateY(0);
}

@media (max-width:768px) {

    body {
        overflow-x: hidden;
    }

    #hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
        gap: 20px;
        padding-bottom: 20px;

    }

    .hero-image img {
        width: 100%;
    }



    main {
        margin-left: 0;
        padding: 20px;
    }
aside{
    position: fixed !important;
    top: 0;
    left: 0;
    width: 240px;
    height: 100vh;

    background: #0f172a;

    transform: translateX(-100%);
    transition: transform 0.3s ease;

    z-index: 99999 !important;
}

aside.active{
    transform: translateX(0);
}

    .sidebar-theme {
        display: none;
    }

    .header {
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 15px;
        overflow: visible;
        box-sizing: border-box;
        width: 100%;

    }

    .menu-toggle {
        height: 60px;
        display: block;
        font-size: 24px;
        background: none;
        border: none;
        color: #fff;
        margin-left: 0;
        flex: 0 0 auto;

    }

    .header .logo {
        display: block;
        flex: 1;
        text-align: center;



    }

    .header .logo img {
        max-width: 120px;
        height: auto;
    }

    #theme-toggle {
        display: block;
        margin: 0;
        position: static;

    }

    html,
    body {
        width: 100%;
        overflow-x: hidden;
    }

    * {
        box-sizing: border-box;
    }

    .hero-text h1 {
        font-size: 32px;
        line-height: 1.2;
    }

    .hero-text p {
        font-size: 16px;
    }
    section{
    padding:20px 0;
}
#rolam{
    padding:20px 15px;
    margin-bottom: 20px;
}

#rolam h2{
    font-size:26px;
    margin-bottom:12px;
}

#rolam p{
    font-size:15px;
    line-height:1.6;
    margin-bottom:16px;
}
.contact-container,
#egyeb .card{
    padding:25px;
    
}
.card {
    margin-bottom: 15px;
}
footer{
    margin-left:0;
    flex-direction:column;
    text-align:center;
    gap:10px;
    padding:20px;
    margin-top: 40px;
}

footer p:first-child::after{
    content:"";
}
#projektek h2,
#kapcsolat h2,
#rolam h2{
    font-size:28px;
}
#kapcsolat{
    margin-top:50px;
    padding-bottom:30px;
}
#egyeb{
   
    padding: 30px 0;
}
#projektek {
    margin-top: 20px;
    padding: 30px 0;
}
.project-grid {
    gap:20px;
}

}