/* ==========================================================
   LAYOUT & SHARED COMPONENTS
   ----------------------------------------------------------
   Page-wide layout containers, section headings,
   reveal animation, header buttons.

   Removed unused: .card-panel, .site-footer
   ========================================================== */

/* ----- Fő tartalom-konténer (main wrapper) ----- */

.site-wrapper {
    max-width: var(--layout-max-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* ----- Szekció-alap (section base) ----- */

.content-section {
    padding: 20px 0 20px;
}

/* ----- Szekciócím oldalvonalakkal ----- */

.section-heading {
    display: flex;
    align-items: center;
    gap: 22px;
    justify-content: center;
    margin-bottom: 18px;
}

.section-heading::before,
.section-heading::after {
    content: "";
    height: 1px;
    -webkit-flex: 1 1 0%;
    flex: 1 1 0%;
    max-width: 620px;
    background: var(--color-primary);
    opacity: .55;
}

.section-heading h2 {
    font-family: var(--font-family-primary);
    font-weight: 600;
    font-size: clamp(22px, 3vw, 34px);
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--color-white);
    white-space: nowrap;
    text-shadow: 0 0 26px rgba(0, 168, 255, .25);
}

/* ----- Al-címke (a szekció-tartalom felett) ----- */

.section-subtitle-label {
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 4px;
}

/* ----- Szekció-bevezető (alcím a szekciócím alatt) ----- */

.section-lead {
    text-align: justify;
    font-size: 15px;
    color: #B8C4D6;
    line-height: 1.65;
    font-weight: 500;
    max-width: none;
    margin: 0 auto;
    letter-spacing: .01em;
}

.section-lead--last {
    margin-bottom: 24px;
}

.section-lead + .section-lead {
    margin-top: 0;
}

/* ----- Fejléc-gombok ----- */

.header-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-family-primary);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: .05em;
    color: var(--color-text);
    text-decoration: none;
    padding: 9px 14px;
    border: 1px solid var(--color-panel-border);
    border-radius: 9px;
    background: rgba(8, 14, 30, .5);
    transition: .25s;
}

.header-button:hover {
    color: #fff;
    border-color: rgba(0, 168, 255, .55);
    box-shadow: 0 0 18px rgba(0, 168, 255, .2);
}

.header-button svg {
    width: 14px;
    height: 14px;
}

/* ----- CV-letöltő gomb láthatósága -----
   JS toggles .active-cv on the matching button.
   Alapból mindkettő rejtett; a setLang() jeleníti meg a megfelelőt. */

.cv-download-button {
    display: none;
}

.cv-download-button.active-cv {
    display: inline-flex;
}

/* ----- Görgetésre megjelenő animáció (scroll-reveal) ----- */

.animate-on-load {
    opacity: 0;
    transform: translateY(18px);
    animation: reveal-rise .8s cubic-bezier(.2, .7, .3, 1) forwards;
}

/* Lépcsőzetes késleltetések */
.animate-delay-1 { animation-delay: .05s; }
.animate-delay-2 { animation-delay: .2s; }

@keyframes reveal-rise {
    to {
        opacity: 1;
        transform: none;
    }
}

