:root {
    --primary-blue: #1e3f66;
    --accent-gold: #f39c12;
    --bg-light: #f4f7f9;
    --text-dark: #333333;
    --text-muted: #666666;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Fejléc - Interaktív hálóval */
header {
    position: relative;
    overflow: hidden;
    background: #1e3f66;
    padding: 2.5rem 1rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

#network-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

header h1, header p { position: relative; z-index: 1; }
header h1 { font-size: 2rem; font-weight: 300; letter-spacing: 2px; color: white; }
header p { color: #d1e2f3; font-size: 0.9rem; margin-top: 5px; }

/* Navigáció */
nav { background-color: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; }
.nav-container { width: 100%; max-width: none; margin: 0 auto; display: flex; justify-content: center; align-items: center; flex-wrap: nowrap; gap: 0.15rem; padding: 0.5rem 1rem; overflow-x: auto; }

.nav-btn {
    background: transparent; border: none; color: var(--text-muted);
    padding: 0.8rem 0.9rem; font-size: 0.9rem; cursor: pointer;
    transition: var(--transition); position: relative; white-space: nowrap; flex: 0 0 auto;
}

/* Aláhúzás animáció */
.nav-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-btn:hover { color: var(--primary-blue); }
.nav-btn:hover::after { width: 70%; }
.nav-btn.active { color: var(--primary-blue); font-weight: 600; }
.nav-btn.active::after { width: 70%; }

/* Fő tartalom */
main { flex-grow: 1; width: 100%; max-width: 900px; margin: 2rem auto; padding: 0 1rem; }
#content-box { background-color: var(--white); padding: 2.5rem; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); min-height: 400px; transition: opacity 0.3s ease; }
.fade-out { opacity: 0; }
#content-box h2 { color: var(--primary-blue); margin-bottom: 1.5rem; border-bottom: 2px solid var(--bg-light); padding-bottom: 0.5rem; }

.page-content {
    display: none;
}

.page-content.active {
    display: block;
}

.mt-1 {
    margin-top: 1rem;
}

.section-subtitle {
    margin-top: 2.5rem;
    color: #1e3f66;
}

.contact-lead {
    color: #666;
    margin-bottom: 2rem;
}

footer { background-color: var(--primary-blue); color: rgba(255,255,255,0.7); text-align: center; padding: 1.5rem; font-size: 0.8rem; margin-top: auto; }

@media (max-width: 768px) {
    .nav-container { justify-content: flex-start; }
    .nav-btn { padding: 0.6rem 0.8rem; }
}

/* Betöltött tartalmak korábbi, megtartott stílusai */
.intro-container {
        max-width: 800px;
        margin: 0 auto;
    }
    .process-list {
        list-style: none;
        padding: 0;
        margin: 2rem 0;
    }
    .process-list li {
        background: #f9fbfd;
        border-left: 4px solid #f39c12;
        margin-bottom: 0.8rem;
        padding: 1rem 1.5rem;
        border-radius: 0 8px 8px 0;
        transition: transform 0.2s ease;
    }
    .process-list li:hover {
        transform: translateX(5px);
        background: #f0f4f8;
    }
    .highlight-box {
        background: #1e3f66;
        color: white;
        padding: 1.5rem;
        border-radius: 8px;
        margin-top: 2rem;
        text-align: center;
        font-style: italic;
    }

/* Lenyíló menük egyedi stílusformázása */
    .dropdown-section {
        margin-bottom: 1rem;
        background-color: #f9fbfd;
        border: 1px solid #e1e8ed;
        border-radius: 8px;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .dropdown-section summary {
        font-weight: 600;
        font-size: 1.1rem;
        color: #1e3f66;
        padding: 15px 20px;
        cursor: pointer;
        list-style: none; /* Alapértelmezett nyíl elrejtése */
        display: flex;
        align-items: center;
        transition: background-color 0.2s ease;
    }

    .dropdown-section summary:hover {
        background-color: #f0f4f8;
    }

    /* Egyedi, animált nyíl hozzáadása */
    .dropdown-section summary::before {
        content: "►";
        margin-right: 12px;
        font-size: 0.8rem;
        color: #f39c12;
        transition: transform 0.3s ease;
    }

    /* Ha nyitva van, a nyíl lefelé néz */
    .dropdown-section[open] summary::before {
        transform: rotate(90deg);
    }

    .dropdown-content {
        padding: 15px 20px 20px 20px;
        border-top: 1px solid #e1e8ed;
        color: #333333;
        background-color: #ffffff;
    }
    
    .instruction-text {
        font-size: 0.9rem;
        color: #666666;
        margin-bottom: 20px;
        font-style: italic;
    }

/* Kétoszlopos lista stílusa */
    .two-column-list {
        column-count: 2;
        column-gap: 2rem;
        list-style-type: none; /* Pöttyök eltüntetése, ahogy a képen is van */
        padding: 0;
        margin-bottom: 2rem;
        font-size: 0.95rem;
    }
    
    .two-column-list li {
        margin-bottom: 0.3rem;
        break-inside: avoid; /* Megakadályozza, hogy egy sor kettétörjön az oszlopok között */
    }

    /* Kiemelt információs blokk a lista alatt */
    .info-block {
        background-color: #f4f7f9;
        padding: 1.5rem;
        border-left: 4px solid #f39c12; /* Sárga/arany kiemelés a szélén */
        border-radius: 0 8px 8px 0;
        margin-top: 1.5rem;
    }

    .info-block p {
        margin-bottom: 0.8rem;
    }

    .info-block p:last-child {
        margin-bottom: 0;
    }

    /* Reszponzivitás: Mobilon 1 oszlopos legyen */
    @media (max-width: 600px) {
        .two-column-list {
            column-count: 1;
        }
    }

/* Lenyíló menük egyedi stílusformázása */
    .dropdown-section {
        margin-bottom: 1rem;
        background-color: #f9fbfd;
        border: 1px solid #e1e8ed;
        border-radius: 8px;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .dropdown-section summary {
        font-weight: 600;
        font-size: 1.1rem;
        color: #1e3f66;
        padding: 15px 20px;
        cursor: pointer;
        list-style: none; /* Alapértelmezett nyíl elrejtése */
        display: flex;
        align-items: center;
        transition: background-color 0.2s ease;
    }

    .dropdown-section summary:hover {
        background-color: #f0f4f8;
    }

    /* Egyedi, animált nyíl hozzáadása */
    .dropdown-section summary::before {
        content: "►";
        margin-right: 12px;
        font-size: 0.8rem;
        color: #f39c12;
        transition: transform 0.3s ease;
    }

    /* Ha nyitva van, a nyíl lefelé néz */
    .dropdown-section[open] summary::before {
        transform: rotate(90deg);
    }

    .dropdown-content {
        padding: 15px 20px 20px 20px;
        border-top: 1px solid #e1e8ed;
        color: #333333;
        background-color: #ffffff;
    }
    
    .instruction-text {
        font-size: 0.9rem;
        color: #666666;
        margin-bottom: 20px;
        font-style: italic;
    }

        /* Kétoszlopos lista stílusa */
    .two-column-list {
        column-count: 2;
        column-gap: 2rem;
        list-style-type: none; /* Pöttyök eltüntetése, ahogy a képen is van */
        padding: 0;
        margin-bottom: 2rem;
        font-size: 0.95rem;
    }
    
    .two-column-list li {
        margin-bottom: 0.3rem;
        break-inside: avoid; /* Megakadályozza, hogy egy sor kettétörjön az oszlopok között */
    }

    /* Kiemelt információs blokk a lista alatt */
    .info-block {
        background-color: #f4f7f9;
        padding: 1.5rem;
        border-left: 4px solid #f39c12; /* Sárga/arany kiemelés a szélén */
        border-radius: 0 8px 8px 0;
        margin-top: 1.5rem;
    }

    .info-block p {
        margin-bottom: 0.8rem;
    }

    .info-block p:last-child {
        margin-bottom: 0;
    }

    /* Reszponzivitás: Mobilon 1 oszlopos legyen */
    @media (max-width: 600px) {
        .two-column-list {
            column-count: 1;
        }
    }

    .three-column-list {
        column-count: 3;
        column-gap: 1.5rem;
        list-style-type: none;
        padding: 0;
        margin-bottom: 2rem;
        font-size: 0.95rem;
    }
    
    .three-column-list li {
        margin-bottom: 0.3rem;
        break-inside: avoid;
    }

    /* Kisebb képernyőkön (pl. tablet) 2 oszlop */
    @media (max-width: 900px) {
        .three-column-list {
            column-count: 2;
        }
    }

    /* Mobilon 1 oszlop */
    @media (max-width: 600px) {
        .three-column-list {
            column-count: 1;
        }
    }

.two-column-list {
        column-count: 2;
        column-gap: 2rem;
        list-style-type: none;
        padding: 0;
        margin-bottom: 2rem;
        font-size: 0.95rem;
    }
    
    .two-column-list li {
        margin-bottom: 0.3rem;
        break-inside: avoid;
    }

    /* Mobilon 1 oszlop */
    @media (max-width: 600px) {
        .two-column-list {
            column-count: 1;
        }
    }

/* Modern Kapcsolat szekció stílusai */
    .contact-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        margin-top: 1.5rem;
    }

    .contact-info-card {
        background: #ffffff;
        border-radius: 16px;
        padding: 2.5rem;
        box-shadow: 0 10px 30px rgba(30, 63, 102, 0.08);
        border-top: 5px solid #f39c12;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        position: relative;
        overflow: hidden;
    }

    .contact-info-card::before {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0;
        height: 100px;
        background: linear-gradient(135deg, #f9fbfd 0%, #ffffff 100%);
        z-index: 0;
        border-bottom: 1px solid #f0f4f8;
    }

    .contact-info-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(30, 63, 102, 0.12);
    }

    .company-title {
        position: relative;
        z-index: 1;
        margin-bottom: 2rem;
        text-align: center;
    }

    .company-title h3 {
        color: #1e3f66;
        font-size: 1.8rem;
        margin-bottom: 0.2rem;
        font-weight: 700;
    }

    .contact-row {
        display: flex;
        align-items: flex-start;
        margin-bottom: 1.5rem;
        position: relative;
        z-index: 1;
    }

    .contact-row:last-child {
        margin-bottom: 0;
    }

    .contact-icon {
        background: linear-gradient(135deg, #1e3f66, #2a5a8f);
        color: white;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 1.2rem;
        flex-shrink: 0;
        box-shadow: 0 4px 10px rgba(30, 63, 102, 0.2);
    }

    .contact-icon svg {
        width: 20px;
        height: 20px;
        fill: currentColor;
    }

    .contact-details h4 {
        margin: 0 0 0.3rem 0;
        color: #999;
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .contact-details p {
        margin: 0;
        color: #333;
        font-size: 1.05rem;
        line-height: 1.4;
        font-weight: 500;
    }

    .contact-details a {
        color: #1e3f66;
        text-decoration: none;
        font-weight: 600;
        transition: color 0.2s;
    }

    .contact-details a:hover {
        color: #f39c12;
    }

    .map-container {
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        height: 100%;
        min-height: 400px;
        position: relative;
        border: 2px solid #ffffff;
    }

    .map-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
        background-color: #f4f7f9;
    }
    
    /* Reszponzivitás: Mobilon egymás alá kerül a kártya és a térkép */
    @media (max-width: 850px) {
        .contact-wrapper {
            grid-template-columns: 1fr;
        }
        .map-container {
            min-height: 300px;
        }
    }

/* 404 - oldal nem található */
.not-found-card {
    text-align: center;
}

.error-code {
    color: var(--accent-gold);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1rem;
}

.not-found-card p {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.home-link {
    display: inline-block;
    margin-top: 1.5rem;
    background-color: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    padding: 0.85rem 1.4rem;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.home-link:hover,
.home-link:focus {
    background-color: #2a5a8f;
    transform: translateY(-2px);
}
