body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background: #f4f4f4;
    color: #333;
}

/* Header */
header {
    text-align: center;
    padding: 60px 20px 40px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* Logo */
.logo {
    width: 140px;
    margin-bottom: 20px;
}

@media (max-width: 600px) {
    .logo {
        width: 110px;
    }
}

h1 {
    font-size: 48px;
    margin: 0;
    font-weight: 700;
}

.subtitle {
    font-size: 20px;
    margin-top: 10px;
    font-weight: 300;
    color: #555;
}

/* Cards Section */
.cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 40px 20px;
    flex-wrap: wrap;
}

.card {
    background: #fff;
    border-radius: 14px;
    padding: 30px;
    max-width: 350px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.card h2 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
}

.card p {
    color: #666;
    line-height: 1.5;
    font-size: 15px;
}

/* Hidden card (autós rész) */
.card.hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 600px) {

    h1 {
        font-size: 36px;
    }

    .cards {
        flex-direction: column;
        align-items: center;
        padding: 20px 20px; /* több oldalsó tér mobilon */
    }

    .card {
        width: 100%;
        max-width: 380px;
        margin: 0 0 20px 0;      /* egységes margó */
        padding: 25px 20px;       /* plusz tér váltakozó magasság helyett */
        box-sizing: border-box;   /* fontos mobilon */
    }
}


/* ---- NAVIGATION (modern hamburger + overlay + slide-in + desktop ok) ---- */

/* Checkbox – láthatatlan, de működik, és nem fog kattintani */
#nav-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    z-index: -1; /* legyen legalul */
}

/* NAVBAR alap */
.navbar {
    height: 60px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 2000;
}

/* Brand */
.nav-brand {
    font-size: 22px;
    font-weight: 700;
    color: #333;
}

/* Alapértelmezett menü desktopon */
.nav-menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-menu li a {
    text-decoration: none;
    font-weight: 500;
    color: #333;
}

/* Hamburger ikon */
.nav-icon {
    display: none;
    width: 30px;
    height: 22px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;

    position: relative;
    z-index: 9999; /* A hamburger legyen MINDEN felett */
}

.nav-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background: #00a651;
    border-radius: 2px;
    transition: 0.3s ease;
}

/* ☰ → ✕ animáció */
#nav-toggle:checked + .nav-icon span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

#nav-toggle:checked + .nav-icon span:nth-child(2) {
    opacity: 0;
}

#nav-toggle:checked + .nav-icon span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ---------------- MOBILE NAV ---------------- */
@media (max-width: 700px) {

    /* hamburger ikon megjelenik */
    .nav-icon {
        display: flex;
    }

    /* klasszikus menü eltűnik */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -240px; /* eltolva, rejtve */
        width: 220px;
        height: 100vh;
        background: #fff;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        flex-direction: column;
        padding: 80px 20px;
        gap: 20px;

        opacity: 0;
        transition: 0.3s ease;
        z-index: 5000; /* overlay fölött */
    }

    /* menü beúszik */
    #nav-toggle:checked ~ .nav-menu {
        right: 0;
        opacity: 1;
    }

    /* overlay háttér */
    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        opacity: 0;
        pointer-events: none;
        transition: 0.3s ease;
        z-index: 4000; /* hamburger alatt, de menü alatt */
    }

    #nav-toggle:checked ~ .nav-overlay {
        opacity: 1;
        pointer-events: auto;
    }
}

/* ---------------- DESKTOP NAV ---------------- */
@media (min-width: 701px) {

    .nav-icon {
        display: none; /* desktopon nincs hamburger */
    }

    .nav-menu {
        position: static;
        flex-direction: row;
        padding: 0;
        margin: 0;
        opacity: 1;
        box-shadow: none;
        background: none;
        height: auto;
        right: unset;
        z-index: auto;
    }

    .nav-overlay {
        display: none;
    }
}


/* NAVBAR */
/* .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 12px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-brand {
    font-size: 22px;
    font-weight: 700;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-menu li a {
    text-decoration: none;
    font-weight: 500;
    color: #333;
}

/* Mobil hamburger */
/* #nav-toggle {
    display: none;
}

.nav-icon {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

@media (max-width: 700px) {

    .nav-menu {
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background: white;
        width: 180px;
        padding: 15px 10px;
        border-radius: 6px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        display: none;
    }

    #nav-toggle:checked + .nav-icon + .nav-menu {
        display: flex;
    }

    .nav-icon {
        display: block;
    }
} */

/* Footer */
footer {
    background: #fff;
    padding: 40px 20px;
    text-align: center;
    margin-top: 40px;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.06);
}

footer h3 {
    margin-top: 0;
    font-size: 24px;
}

.footer-social {
    margin: 15px 0;
}

.footer-social img {
    width: 34px;
    margin: 0 10px;
    opacity: 0.9;
    transition: opacity 0.2s;
	display: inline-block;
    vertical-align: middle;
}

.footer-social img:hover {
    opacity: 1;
}

footer p {
    margin: 8px 0;
    color: #444;
}

footer a {
    color: #333;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

footer .copyright {
    margin-top: 20px;
    font-size: 13px;
    color: #777;
}

/* UP gomb – TELJESEN átlátszó konténer */
.up-btn{
  position: fixed;
  right: 20px; bottom: 20px;
  width: auto; height: auto;
  padding: 0; margin: 0;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  display: inline-flex;
  align-items: center; justify-content: center;
  z-index: 3000;

  opacity: 0; pointer-events: none;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .2s ease;
}

body.scrolled .up-btn{
  opacity: 1; pointer-events: auto; transform: none;
}

.up-btn img{
  width: 40px; height: 40px;
  display: block;
  background: transparent !important;
}

@media (max-width:600px){
  .up-btn img{ width:34px; height:34px; }
}

@media (prefers-color-scheme: dark){
  .up-btn{ box-shadow: none !important; }
}

/* ---- Segítettünk blokk – végleges tiszta verzió (dark mód nélkül) ---- */

.helped-block {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.06);
    text-align: center;
    background: #fff;
}

.helped-block h4 {
    font-size: 20px;
    font-weight: 700;
    color: #00a651;     /* Logózöld */
    margin-bottom: 14px;
}

.helped-block p {
    margin: 0 0 8px;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.helped-block .heart {
    font-size: 20px;
    color: #00a651;     /* Zöld szív */
}


/* --- Szolgáltatás-kártyák GRID --- */
.services-grid {
    display: grid;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 600px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- Kártya dizájn (ikon nélkül) --- */
.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.10);
    text-align: center;
    transition: transform 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Cím */
.service-card h2 {
    font-size: 20px;
    color: #00a651;   /* Segítősarok zöld */
    margin-bottom: 10px;
    font-weight: 700;
}

/* Leírás */
.service-card p {
    font-size: 15px;
    color: #444;
    line-height: 1.5;
}

/* Aloldalak egységes header-e */
/* Egységes aloldali header – ugyanaz, mint az index hangulata */
.subpage-header {
    text-align: center;
    padding: 60px 20px 40px; /* ugyanaz, mint index */
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.subpage-header .logo {
    width: 140px; /* index méret */
    margin-bottom: 20px;
}

.subpage-header h1 {
    font-size: 48px;  /* index h1/h2 méret */
    margin: 0;
    font-weight: 700;
}

.subpage-header .subtitle {
    font-size: 20px;
    margin-top: 10px;
    font-weight: 300;
    color: #555;
}

/* --- PARTNEREINK BLOKK --- */
.partners-block {
    background: #fff;
    padding: 40px 20px 50px;
    margin-top: 40px;
    border-top: 1px solid rgba(0,0,0,0.06);
    text-align: center;
}

.partners-block h3 {
    font-size: 24px;
    font-weight: 700;
    color: #00a651;
    margin-bottom: 30px;
}

/* Egy partner elem – bővíthető többre is */
.partner-item {
    max-width: 500px;
    margin: 0 auto;
    padding: 25px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Logó helye */
.partner-logo img {
    width: 120px;
    margin-bottom: 15px;
}

/* Név */
.partner-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

/* Gomb */
.partner-btn {
    display: inline-block;
    margin-top: 8px;
    padding: 10px 18px;
    background: #00a651;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.2s ease;
}

.partner-btn:hover {
    background: #008f46; /* kicsit sötétebb zöld */
}

/* ---- Bemutatkozás blokk (index) ---- */

.intro-section {
    background: #fff;
    padding: 40px 20px;
    margin-top: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-top: 1px solid rgba(0,0,0,0.06);
}

.intro-section h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #00a651;
    font-size: 26px;
}

.intro-section p {
    max-width: 800px;
    margin: 0 auto 18px auto;
    line-height: 1.6;
    color: #444;
    font-size: 16px;
}

.read-more {
    text-align: center;
    margin-top: 25px;
}

.read-more-link {
    font-weight: bold;
    color: #00a651;
    text-decoration: none;
    font-size: 17px;
}

.read-more-link:hover {
    text-decoration: underline;
}

.content-section {
    background: #fff;
    padding: 40px 20px;
}

.content-section p {
    max-width: 900px;
    margin: 0 auto 20px auto;
    line-height: 1.6;
    color: #444;
    font-size: 17px;
}


/* ---- Sablonos rövid, középre igazított elválasztó vonal ---- */
hr,
.section-divider,
.content-section hr,
.intro-section hr {
    width: 120px;
    height: 1px;
    background: rgba(0,0,0,0.15);
    border: none;
    margin: 40px auto;
    border-radius: 2px;
}

