/* ===================== ALAP TÉMA - ZÖLDES FEKETE, LÁGY SÖTÉT ===================== */
:root {
    /* Háttér / felületek */
    --bg-body: #020712;
    --bg-surface: #030910;
    --bg-soft: #050d14;
    --bg-softer: #071018;

    /* Szegélyek */
    --border-subtle: #0b151f;
    --border-strong: #111827;

    /* Akcentusok - zöldes tónus */
    --accent: #22c55e;
    --accent-alt: #4ade80;
    --accent-soft: rgba(34,197,94,0.22);

    /* Állapot színek */
    --danger: #fb7185;
    --warning: #facc15;
    --success: #22c55e;

    /* Szöveg */
    --text-main: #e4f7ec;
    --text-soft: #c6d3cd;
    --text-muted: white;

    /* Lekerekítések */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;

    /* Árnyékok */
    --shadow-soft: 0 18px 40px rgba(0,0,0,0.7);
    --shadow-chip: 0 10px 24px rgba(6,14,12,0.85);

    /* Animációk */
    --transition-fast: 0.18s ease-out;
    --transition-med: 0.28s ease-out;
}

/* ===================== GLOBÁLIS ALAP ===================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;

    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 10% 0%, rgba(34,197,94,0.12), transparent 55%),
        radial-gradient(circle at 90% 100%, rgba(16,185,129,0.12), transparent 55%),
        linear-gradient(160deg,#020712 0%,#020712 45%,#020712 100%);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar {
    width: 0;
}

/* Linkek */
a {
    color: var(--accent-alt);
    text-decoration: none;
}
a:hover {
    color: #bbf7d0;
}

/* ===================== NAVBAR ===================== */

.navbar {
    position: sticky;
    top: 0.75rem;
    z-index: 30;

    /* üveges, zöldes háttér */
    background: radial-gradient(circle at 0% 0%, rgba(34,197,94,0.22), transparent 55%),
                rgba(8, 28, 20, 0.92);
    border-radius: 18px;
    border: 1px solid rgba(16, 185, 129, 0.28);
    backdrop-filter: blur(14px);

    max-width: min(1120px, 100% - 1.5rem);
    margin: 0 auto;
    padding-block: 0.35rem;

    box-shadow:
        0 18px 40px rgba(0,0,0,0.75),
        0 0 0 1px rgba(0,0,0,0.45);

    transition:
        background 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

/* nav tartalom a kapszula fölött */
.navbar > .container,
.navbar > .container-fluid,
.navbar .navbar-brand,
.navbar .navbar-nav,
.navbar .navbar-toggler {
    position: relative;
    z-index: 1;
}

/* Brand - logó + név */
.navbar-brand {
    font-size: 0.92rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.navbar-brand-logo {
    width: 30px;
    height: 30px;
    border-radius: 35%;
    overflow: hidden;
    background: radial-gradient(circle at 20% 20%, rgba(240,253,244,0.35), transparent 55%);
    border: 1px solid rgba(22,101,52,0.7);
    box-shadow:
        0 0 0 1px rgba(21,128,61,0.45),
        0 10px 26px rgba(2,6,23,0.9);
}

.navbar-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Menü linkek - kapszula gombok */
.navbar-nav {
    gap: 0.3rem;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: var(--text-soft) !important;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.45rem 0.95rem !important;
    border-radius: 999px;
    position: relative;

    background: transparent;
    transition:
        background 0.2s ease-out,
        color 0.2s ease-out,
        transform 0.2s ease-out,
        box-shadow 0.2s ease-out;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 18%;
    right: 18%;
    bottom: 0.18rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        rgba(34,197,94,0),
        rgba(34,197,94,0.9),
        rgba(34,197,94,0)
    );
    opacity: 0;
    transform: translateY(3px);
    transition:
        opacity 0.2s ease-out,
        transform 0.2s ease-out;
}

.nav-link:hover {
    background: rgba(4, 33, 23, 0.85);
    color: #ecfdf5 !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(16,185,129,0.35);
}

.nav-link:hover::after,
.nav-link.active::after {
    opacity: 1;
    transform: translateY(0);
}

.nav-link.active {
    background: rgba(22,163,74,0.22);
    color: #bbf7d0 !important;
    box-shadow: 0 10px 22px rgba(22,163,74,0.45);
}

/* Hamburger gomb - kis zöld keretes kapszula */
.navbar-toggler {
    border-radius: 999px;
    background: rgba(2, 17, 12, 0.96);
    border: 1px solid rgba(21,128,61,0.85);
    padding: 0.25rem 0.7rem;
}

.navbar-toggler-icon {
    background-image: none;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    position: relative;
    background-color: #bbf7d0;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background-color: #bbf7d0;
}

.navbar-toggler-icon::before {
    top: -5px;
}

.navbar-toggler-icon::after {
    top: 5px;
}

/* NAVBAR + MENÜ 1190-TŐL LÁPULJON ÖSSZE */
@media (max-width: 1190px) {
    .navbar {
        top: 0;
        border-radius: 0 0 18px 18px;
        max-width: 100%;
        margin-inline: 0;
        border-left: 0;
        border-right: 0;
        box-shadow:
            0 12px 30px rgba(0,0,0,0.75);
    }

    .navbar-collapse {
        background: rgba(3, 15, 11, 0.97);
        border-radius: 0 0 18px 18px;
        border-top: 1px solid rgba(16,185,129,0.25);
        margin-top: 0.45rem;
        padding: 0.4rem 0.35rem 0.6rem;
    }

    .navbar-nav {
        padding-block: 0.25rem;
    }

    .nav-link {
        width: 100%;
        justify-content: flex-start;
        padding-inline: 0.85rem !important;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand span {
        font-size: 0.78rem;
        letter-spacing: 0.12em;
    }
}

/* ===================== HERO ===================== */

.hero {
    min-height: 100vh;
    position: relative;
    padding-top: 4.7rem;
    display: flex;
    align-items: center;
    overflow: hidden;
    top: -100px;
}

.hero-bottom {
    border-bottom: solid 60px rgba(13, 37, 21, 0.445);
    width: 100%;
}

@keyframes gradientPulse {
    0% {
        filter: brightness(1) saturate(1) contrast(1);
    }

    12% {
        filter: brightness(1.06) saturate(1.06) contrast(1.03);
    }

    25% {
        filter: brightness(1.14) saturate(1.12) contrast(1.06);
    }

    37% {
        filter: brightness(1.20) saturate(1.22) contrast(1.08);
    }

    50% {
        filter: brightness(1.24) saturate(1.28) contrast(1.10);
    }

    63% {
        filter: brightness(1.20) saturate(1.22) contrast(1.08);
    }

    75% {
        filter: brightness(1.14) saturate(1.12) contrast(1.06);
    }

    88% {
        filter: brightness(1.06) saturate(1.06) contrast(1.03);
    }

    100% {
        filter: brightness(1) saturate(1) contrast(1);
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 15%, rgba(34,197,94,0.20), transparent 55%),
        radial-gradient(circle at 80% 85%, rgba(16,185,129,0.18), transparent 55%);
    opacity: 0.26;
    pointer-events: none;
    animation: gradientPulse 8s ease-in-out infinite;
}

.hero-inner {
    position: relative;
    z-index: 1;
    padding-top: 2.1rem;
    padding-bottom: 3rem;
}

/* Fő kártya */
.hero-main-card {
    background:
        radial-gradient(circle at 0% 0%, rgba(34,197,94,0.12), transparent 55%),
        linear-gradient(150deg,var(--bg-surface),#020b10);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    padding: 1.7rem 1.9rem 1.9rem;
    position: relative;
}

/* Hero header blokkok */
.hero-header {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 1.1rem;
}

.hero-heading-small {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
    padding: 0.25rem 0.9rem;
    border-radius: 999px;
    background: rgba(3,10,10,0.96);
    border: 1px solid var(--border-subtle);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.hero-heading-small::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: radial-gradient(circle,var(--accent),var(--accent-alt));
}

.hero-title {
    font-size: clamp(2.0rem, 3.5vw, 2.8rem);
    margin: 0.2rem 0 0.4rem;
    font-weight: 800;
    line-height: 1.1;
}
.hero-title span {
    background: linear-gradient(120deg,#22c55e,#4ade80,#a3e635);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-tagline {
    font-size: 1rem;
    color: var(--text-soft);
    max-width: 620px;
}

/* Chip címkék */
.hero-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 1.1rem 0 1.3rem;
}

.pill {
    font-size: 0.82rem;
    text-transform: none;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-soft);
    color: var(--text-soft);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: var(--shadow-chip);
}

.pill-accent {
    border-color: rgba(34,197,94,0.9);
    background: linear-gradient(135deg, rgba(34,197,94,0.24), var(--bg-soft));
    color: #eafff3;
}

/* Hero gombok */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.35rem;
}

.btn-hero-primary {
    border-radius: 999px;
    padding: 0.72rem 1.8rem;
    border: 0;
    background: linear-gradient(120deg,var(--accent),var(--accent-alt));
    color: #01130a;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;

    transition:
        transform var(--transition-fast),
        filter var(--transition-fast),
        box-shadow var(--transition-fast);
}

.btn-hero-primary:hover {
    transform: translateY(-1px);
    filter: brightness(0.76);
    box-shadow: 0 0 16px rgba(22,163,74,0.95);
}

.btn-hero-ghost {
    border-radius: 999px;
    padding: 0.72rem 1.5rem;
    border: 1px solid var(--border-strong);
    background: rgba(3,10,10,0.96);
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.9rem;
    transition:
        background var(--transition-fast),
        border-color var(--transition-fast),
        transform var(--transition-fast);
}
.btn-hero-ghost:hover {
    background: var(--bg-soft);
    border-color: var(--accent-soft);
    transform: translateY(-1px);
}

/* Meta info */
.hero-meta-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.hero-meta {
    padding: 0.6rem 0.85rem;
    border-radius: 12px;
    background: var(--bg-soft);
    border: 1px solid var(--border-subtle);
    width: 100%;
    text-align: center;
}

.hero-meta-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
}

.hero-meta-value {
    font-size: 1rem;
    font-weight: 600;
}

/* Jobb oldali hero panel */
.hero-side-panel {
    height: 100%;
}

.hero-side-box {
    background: var(--bg-softer);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    padding: 1.3rem 1.4rem 1.5rem;
    position: relative;
}

.hero-side-box::before {
    content: "";
    position: absolute;
    top: -40px;
    left: -30px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34,197,94,0.25), transparent 60%);
    opacity: 0.4;
    pointer-events: none;
}

.hero-side-banner {
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 0.9rem;
    border: 1px solid var(--border-subtle);
}

.hero-side-banner img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.06);
}

.hero-side-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.hero-side-text {
    font-size: 0.93rem;
    color: var(--text-soft);
}

/* ===================== SZEKCIÓK ===================== */

main {
    padding-top: 0.5rem;
}

section {
    position: relative;
    z-index: 1;
}

.section-head {
    margin-bottom: 1.5rem;
}

.section-label {
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent-alt);
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.section-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.section-sub {
    font-size: 0.96rem;
    color: var(--text-soft);
    max-width: 760px;
}

/* ===================== KÁRTYÁK / BLOKKOK ===================== */

.card-block {
    background: var(--bg-soft);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    padding: 1.25rem 1.3rem 1.35rem;
    position: relative;
}

.card-block::before {
    content: "";
    position: absolute;
    top: 14px;
    bottom: 14px;
    left: 0;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg,var(--accent),var(--accent-alt));
    opacity: 0.85;
}

.card-block h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.card-block p,
.card-block li {
    font-size: 0.95rem;
    color: var(--text-soft);
}

/* ===================== IDŐVONAL ===================== */

.timeline-simple {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 0.4rem;
}

.timeline-row {
    padding: 0.55rem 0.8rem;
    border-radius: 14px;
    background: var(--bg-softer);
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
}

.timeline-year {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent);
    padding: 0.12rem 0.9rem;
    border-radius: 999px;
    background: rgba(3,10,10,0.96);
    border: 1px solid var(--border-strong);
}

.timeline-text {
    font-size: 0.93rem;
    color: var(--text-soft);
    flex: 1 1 180px;
}

/* ===================== KABALA / MASCOT ===================== */

.mascot-card {
    background: var(--bg-soft);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    padding: 1.1rem 1.2rem;
    height: 100%;
}

.mascot-card h3 {
    font-size: 1.02rem;
    margin-bottom: 0.45rem;
}

.mascot-card p,
.mascot-card li {
    font-size: 0.93rem;
    color: var(--text-soft);
}

/* ===================== STATISZTIKÁK ===================== */

.stat-note {
    font-size: 0.84rem;
    color: var(--text-muted);
    font-style: italic;
}

.stat-slice {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-lg);
    background: var(--bg-soft);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
}

.stat-slice-number {
    font-size: 1.8rem;
    font-weight: 800;
    min-width: 5rem;
    background: linear-gradient(120deg,var(--accent),var(--accent-alt));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-slice-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-muted);
}

.stat-slice-text {
    font-size: 0.94rem;
    color: var(--text-soft);
}

/* ===================== SÖTÉT ACCORDION ===================== */

.accordion-dark .accordion-item {
    background: var(--bg-soft);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    margin-bottom: 0.7rem;
    overflow: hidden;
}

.accordion-dark .accordion-button {
    background: var(--bg-soft);
    color: var(--text-main);
    font-size: 0.95rem;
}

.accordion-dark .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(34,197,94,0.16), var(--bg-soft));
    color: var(--text-main);
    box-shadow: inset 0 -1px 0 #020712;
}

.accordion-dark .accordion-body {
    background: #020712;
    color: var(--text-soft);
    font-size: 0.93rem;
}

/* ===================== GALÉRIA ===================== */

.gallery-box {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
}

.gallery-box img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.05);
    transition: transform 0.30s ease-out, filter 0.30s ease-out;
}

.gallery-box:hover img {
    transform: scale(1.03);
    filter: saturate(1.15) contrast(1.08) brightness(1.04);
}

/* ===================== REVEAL ANIMÁCIÓ ===================== */

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.42s ease-out, transform 0.42s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================== LÁBLÉC ===================== */

footer {
    border-top: 1px solid var(--border-subtle);
    background: #020712;
    color: var(--text-soft);
    font-size: 0.84rem;
}

/* ===================== RESZPONZÍV ===================== */

/* 1190 ALATT MÓDOSULJON A HERO + NAVBAR DEKOR */
@media (max-width: 1190px) {
    .hero-inner {
        padding-top: 2rem;
    }
    .hero-main-card {
        margin-bottom: 1.2rem;
    }
    .hero-side-box {
        margin-top: 0.4rem;
    }
    .navbar::before {
        left: 0.5rem;
        right: 0.5rem;
    }
    .navbar::after {
        left: 1rem;
        right: 1rem;
    }
}

@media (max-width: 767.98px) {
    .hero-inner {
        padding-top: 1.8rem;
    }
    .hero-main-card {
        padding: 1.3rem 1.25rem 1.5rem;
    }
    .hero-side-banner img {
        height: 110px;
    }
    .timeline-row {
        border-radius: 14px;
    }
}
