@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
    --text: #111111;
    --muted: #444444;
    --blue: #0A66C2;
    --border: #E5E5E5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Georgia, 'Times New Roman', serif;
    background: #FFFFFF;
    color: var(--text);
    line-height: 1.7;
    font-size: 18.5px;
    -webkit-font-smoothing: antialiased;
}

/* Header */
header {
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 1.55rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    font-size: 1.08rem;
    letter-spacing: 0.02em;
    color: var(--blue);
    text-decoration: none;
}

nav {
    display: flex;
    gap: 1.75rem;
    align-items: center;
}

nav a {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    position: relative;
    padding: 0.15rem 0;
    transition: color 0.2s ease;
}

nav a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--blue);
    transition: width 0.25s ease, left 0.25s ease;
}

nav a:hover {
    color: var(--text);
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
    left: 0;
}

.lang-switch {
    display: flex;
    gap: 0.25rem;
    margin-left: 0.5rem;
    font-family: 'Inter', system-ui, sans-serif;
}

.lang-btn {
    background: none;
    border: none;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--muted);
    cursor: pointer;
    padding: 0.2rem 0.45rem;
    border-radius: 4px;
    transition: color 0.15s, background 0.15s;
}

.lang-btn.active {
    color: var(--text);
    background: #F0F0F0;
}

/* Main */
main {
    max-width: 800px;
    margin: 0 auto;
    padding: 4.5rem 1.5rem 5rem;
}

h1 {
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 0.6rem;
    color: var(--blue);
}

.page-cegeknek h1,
.page-kapcsolat h1 {
    font-size: 2.4rem;
    margin-bottom: 2.5rem;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--muted);
    margin-bottom: 3.25rem;
    font-weight: 400;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text);
}

.lead {
    font-size: 1.25rem;
    line-height: 1.65;
    margin-bottom: 1.75rem;
}

.emphasis {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.65;
    margin: 2rem 0;
}

strong {
    font-weight: 700;
}

.spacer {
    height: 1.5rem;
}

.meta {
    margin-top: 3.75rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    font-size: 1.05rem;
}

.meta p {
    margin-bottom: 0.4rem;
    color: var(--muted);
}

.meta strong {
    font-weight: 700;
    color: var(--text);
}

.cta {
    margin-top: 3.75rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.contact-block {
    margin-top: 2.75rem;
}

.contact-block p {
    margin-bottom: 0.5rem;
}

.name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem !important;
}

a.link,
a.email {
    color: var(--blue);
    text-decoration: none;
    font-weight: 400;
    transition: opacity 0.15s;
}

a.email {
    font-size: 1.15rem;
}

a.link:hover,
a.email:hover {
    text-decoration: underline;
}

footer {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.8rem;
    color: #999;
}

/* Tiszta CSS alapú kétnyelvűség kezelés (elkerüli a JS villanást) */
[data-lang] {
    display: none;
}

html[lang="hu"] [data-lang="hu"] {
    display: block;
}

html[lang="en"] [data-lang="en"] {
    display: block;
}

/* Inline elemek helyes megjelenítése kétnyelvűségnél */
span[data-lang] {
    display: none;
}

html[lang="hu"] span[data-lang="hu"] {
    display: inline;
}

html[lang="en"] span[data-lang="en"] {
    display: inline;
}

/* Cookie Banner Design */
#cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #1a1a1a;
    color: #fff;
    padding: 20px;
    box-sizing: border-box;
    z-index: 9999;
    font-family: 'Inter', system-ui, sans-serif;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    border-top: 1px solid #333;
}

.cookie-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media (min-width: 600px) {
    .cookie-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.cookie-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #ddd;
}

.cookie-text a {
    color: #4dabf7;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn-accept {
    background: var(--blue);
    color: #fff;
    border: none;
    padding: 10px 18px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.85rem;
    transition: background 0.2s;
}

.cookie-btn-accept:hover {
    background: #084e96;
}

.cookie-btn-reject {
    background: #444;
    color: #fff;
    border: none;
    padding: 10px 18px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.85rem;
    transition: background 0.2s;
}

.cookie-btn-reject:hover {
    background: #555;
}

/* Mobil */
@media (max-width: 600px) {
    h1 {
        font-size: 2.1rem;
    }
    .subtitle {
        font-size: 1.1rem;
    }
    .lead {
        font-size: 1.15rem;
    }
    main {
        padding: 3.5rem 1.25rem 4rem;
    }
    nav {
        gap: 1.1rem;
    }
    nav a {
        font-size: 0.88rem;
    }
}