body {
    background-color: #0A4C65;
    color: white;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    height: 100%;
}

.fejlec {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: black;
    padding: 10px 20px;
}

.fejlec-bal {
    display: flex;
    align-items: center;
}

.fejlec-logo {
    width: 50px;
    height: auto;
    margin-right: 10px;
}

.cegnev {
    color: white;
    font-size: 20px;
    font-weight: bold;
}

.fejlec-menu a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-size: 16px;
}

.fejlec-menu a:hover {
    text-decoration: underline;
}

nav {
    background-color: black;
    padding: 10px;
    text-align: center;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 18px;
}

nav a:hover {
    text-decoration: underline;
}

section {
    padding: 20px;
}

.hero {
    position: relative;
    background: url('hatter2.jpg') no-repeat center center/cover;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content{
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.hero a.button {
    display: inline-block;
    background-color: #e6b800;
    color: #fff;
    text-decoration: none;
    padding: 15px 30px;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.hero a.button:hover {
    background-color: #cc9c00;
}

.allas-szekcio {
    background-color: #126782;
    padding: 80px 20px;
    text-align: center;
}

.allas-container h2 {
    font-size: 32px;
    color: white;
    margin-bottom: 20px;
}

.allas-gomb {
    display: inline-block;
    padding: 15px 30px;
    background-color: #e6b800;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.allas-gomb:hover {
    background-color: #cc9c00;
}

@media screen and (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .allas-container h2 {
        font-size: 28px;
    }
}

.projekt-scroll {
    padding: 60px 20px;
    background-color: #0A4C65;
    text-align: center;
}

.projektek-cim {
    font-size: 28px;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.projektek-cim::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background-color: #e6b800;
    margin: 10px auto 0;
}

.galeria-wrapper {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.galeria-track {
    display: flex;
    gap: 20px;
    padding-bottom: 10px;
    scroll-snap-align: start;
}

.galeria-track img {
    width: 300px;
    height: auto;
    border-radius: 8px;
    flex-shrink: 0;
    scroll-snap-align: start;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.galeria-track img:hover {
    transform: scale(1.05);
}

.allasok {
    padding: 60px 20px;
    background-color: #0A4C65;
    text-align: center;
    margin-bottom: 80px;
}

.allasok.cim {
    font-size: 32px;
    margin-bottom: 40px;
}

.allasok-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 80px;
}

.allas-kartya {
    background-color: #fff;
    width: 300px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.allas-kartya:hover {
    transform: translateY(-5px);
}

.allas-kartya img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.allas-tartalom {
    padding: 20px;
    text-align: left;
    background-color: #fff;
    color: #333;
}

.allas-tartalom h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.allas-tartalom p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.allas-gomb {
    display: inline-block;
    background-color: #e6b800;
    color: #fff;
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.allas-gomb:hover {
    background-color: #cc9c00;
}

.referenciak {
    padding: 60px 20px;
    background-color: #0A4C65;
    text-align: center;
}

.referenciak h2 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #fff;
}
.referencia-kontener {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 180px;
}

.referencia-blokk {
    width: 300px;
    margin-bottom: 380px;
}

.referencia-lista {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.ref-doboz {
    background-color: #cc9c00;
    color: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 600px;
}

.ref-doboz:hover {
    transform: scale(1.05);
    background-color: #cc9c00;
}

.projekt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    padding: 40px 20px;
    justify-items: start;
    margin: 0 auto;
    max-width: 1500px;
}

.projekt-sor {
    display: flex;
    align-items: center;
    gap: 30px;
    background-color: #f2f2f2;
    padding: 20px;
    border-radius: 12px;
    width: 100%;
    box-sizing: border-box;
    flex-direction: row;
}

.projekt-kep {
    width: 240px;
    flex-shrink: 0;
    border-radius: 8px;
}

.projekt-leiras {
    color: black;
    flex: 1;
}

.projekt-leiras h3{
    margin-top: 0;
    font-size: 24px;
    color: #222;
}

.projekt-leiras p {
    margin: 8px 0;
    color: #444;
    line-height: 1.5;
}

.rolunk {
    padding: 60px 20px;
    background-color: #0A4C65;
    display: flex;
    justify-content: center;
}

.rolunk-box {
    background-color: #fff;
    padding: 30px;
    max-width: 900px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.rolunk-box h2{
    margin-top: 0;
    font-size: 28px;
    color: #222;
}

.rolunk-box p {
    line-height: 1.6;
    color: #444;
}

.oldal {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.tartalom {
    flex: 1;
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
}

.oldal.kapcsolat-oldal .tartalom {
    text-align: left;
    margin-left: 0;
    margin-right: auto;
    padding: 20px;
}

.footer {
    background-color: #111;
    color: #cc9c00;
    padding: 40px 20px 20px;
    font-size: 14px;
}

.footer.footer {
    background-color: #111;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
}

.footer-section {
    flex: 1 1 250px;
    margin: 10px;
}

.footer-section{
    color: #fff;
    margin-bottom: 15px;
}

.footer-section h4.kiemelt-cim {
    color: #cc9c00;
    font-size: 16px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
}

.footer-section ul li a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: right;
    border-top: 1px solid #444;
    padding-top: 20px;
    margin-top: 40px;
    font-size: 16px;
    color: white;
}

.funding-bar{
    position: fixed;
    bottom: 0;
    left: 0;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    align-items: left;
    z-index: 9999;
}

.funding-bar img{
    height: 90px;
    width: auto;
}

.palyazat-oldal{
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 16px;
}

.palyazat-kep{
    text-align: center;
    margin-bottom: 30px;
}

.palyazat-kep img{
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    display: block;
   
}

.palyazat-szoveg{
    font-size: 16px;
    line-height: 1.6;
}

.palyazat-szoveg ul{
    margin-bottom: 20px;
}

.palyazat-szoveg li{
    margin-bottom: 8px;
}

.palyazat-szoveg p{
    margin-bottom: 15px;
}