* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
}

a { color: inherit; text-decoration: none; }

/* Nav */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: #1a1a2e;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo { font-size: 1.3rem; font-weight: 700; }

.nav-menu { display: flex; list-style: none; gap: 1.5rem; }
.nav-menu a { color: #fff; transition: color .2s; }
.nav-menu a:hover { color: #f5a623; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero {
    background: linear-gradient(rgba(26,26,46,.8), rgba(26,26,46,.8)), url('images/hero.jpg') center/cover;
    color: #fff;
    padding: 6rem 2rem;
    text-align: center;
}

.hero h1 { font-size: 2.5rem; margin-bottom: 1rem; }
.hero p { max-width: 600px; margin: 0 auto 2rem; font-size: 1.1rem; opacity: .9; }

.btn {
    display: inline-block;
    background: #f5a623;
    color: #1a1a2e;
    padding: .8rem 2rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform .2s, background .2s;
    margin: .3rem;
}
.btn:hover { background: #e6951a; transform: scale(1.05); }
.btn-email { background: #fff; color: #1a1a2e; border: 2px solid #f5a623; }
.btn-email:hover { background: #f5a623; }

/* Sections */
section { padding: 4rem 2rem; }
h2 { text-align: center; font-size: 2rem; margin-bottom: .5rem; }
.section-desc { text-align: center; color: #666; margin-bottom: 2rem; }

/* Grid & Cards */
.szolgaltatasok, .korzetek { background: #f8f9fa; }
.miert-engem { background: #fff; }

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 2rem auto 0;
}
.card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    transition: transform .2s, box-shadow .2s;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,.12);
}
.card h3 { margin-bottom: .5rem; }

.miert-engem .card { background: #f8f9fa; }

/* Galéria */
.galeria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}
.galeria-item { text-align: center; }
.galeria-item:hover .placeholder-img { transform: scale(1.03); }
.placeholder-img {
    background: #ddd;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #666;
    font-size: .9rem;
    margin-bottom: .5rem;
    transition: transform .2s;
}

/* Körzetek */
.korzeetek-lista {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 2rem auto 0;
}
.kozpont, .agglomeracio { text-align: center; }
.agglomeracio ul { list-style: none; columns: 2; text-align: left; margin-top: .5rem; }
.agglomeracio li { padding: .2rem 0; }

/* Kapcsolat */
.elerhetosegek {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 2rem auto 0;
}
.elerhetoseg-item {
    text-align: center;
    flex: 1;
    min-width: 200px;
}
.elerhetoseg-item h3 { margin-bottom: .5rem; }
.elerhetoseg-item a { color: #f5a623; font-weight: 600; font-size: 1.1rem; }
.elerhetoseg-item a:hover { text-decoration: underline; }

/* Footer */
footer {
    background: #1a1a2e;
    color: #aaa;
    text-align: center;
    padding: 1.5rem;
}

/* Fix phone button (mobile only) */
.fix-phone {
    display: none;
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    font-size: 1.5rem;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,.3);
    z-index: 99;
    transition: transform .2s;
}
.fix-phone:hover { transform: scale(1.1); }

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    width: 44px;
    height: 44px;
    background: #1a1a2e;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s, transform .2s;
    z-index: 99;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: scale(1.1); }

/* Mobile */
@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1a1a2e;
        flex-direction: column;
        padding: 1rem 2rem;
        gap: 1rem;
        display: none;
    }
    .nav-menu.open { display: flex; }
    .hero { padding: 4rem 1.5rem; }
    .hero h1 { font-size: 1.8rem; }
    .agglomeracio ul { columns: 1; }
    .fix-phone { display: flex; }
}
