/* Közös alap: sötét háttér, álló háttérívek a sarkokban, fejléc (logó + menü). */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100;200;300;400&display=swap');

:root {
    --bg: #0c0709;
    --text: #f6efe9;
    --muted: rgba(246, 239, 233, 0.62);
    --faint: rgba(246, 239, 233, 0.38);
    --red: #ff3b30;
    --red-soft: rgba(255, 59, 48, 0.55);
    --header-h: 84px;
    --footer-h: 72px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    min-height: 100%;
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    font-weight: 200;
    -webkit-font-smoothing: antialiased;
}

/* a háttér csak a body-n van (a böngésző a teljes vászonra kiterjeszti), így a mögé tett
   háttérívek (z-index: -1) látszanak */
body {
    background:
        radial-gradient(ellipse 70% 55% at 50% 38%, rgba(70, 12, 20, 0.35), rgba(0, 0, 0, 0) 70%),
        var(--bg);
}

a { color: inherit; text-decoration: none; }

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

:focus-visible {
    outline: 1px solid var(--red-soft);
    outline-offset: 4px;
}

/* ---------- Álló, halvány háttérívek a két alsó sarokban ---------- */

.bg-arcs {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.bg-arcs span {
    position: absolute;
    border-radius: 50%;
    /* izzó perem, befelé elhalványuló kitöltés */
    background: radial-gradient(circle closest-side,
        rgba(0, 0, 0, 0) 66%,
        rgba(120, 10, 22, 0.05) 84%,
        rgba(190, 26, 36, 0.11) 97%,
        rgba(255, 70, 60, 0.20) 99.3%,
        rgba(0, 0, 0, 0) 100%);
}

/* bal alsó sarok: egy nagy ív, alatta egy kisebb "domb" */
.bg-arcs .a1 { width: 130vh; height: 130vh; left: -84vh; bottom: -88vh; }
.bg-arcs .a2 { width: 95vh;  height: 95vh;  left: -22vh; bottom: -81vh; opacity: 0.8; }
/* jobb alsó sarok: egy piros és egy halvány krémszínű ív */
.bg-arcs .a3 { width: 121vh; height: 121vh; right: -91vh; bottom: -72vh; }
.bg-arcs .a4 { width: 140vh; height: 140vh; right: -88vh; bottom: -107vh; opacity: 0.8;
    background: radial-gradient(circle closest-side,
        rgba(0, 0, 0, 0) 68%,
        rgba(140, 40, 40, 0.05) 86%,
        rgba(255, 190, 160, 0.09) 98%,
        rgba(255, 210, 190, 0.16) 99.4%,
        rgba(0, 0, 0, 0) 100%); }

/* álló képernyőn (telefon) a szélességhez igazítjuk az íveket, különben túl magasra nőnének */
@media (max-aspect-ratio: 1/1) {
    .bg-arcs .a1 { width: 130vw; height: 130vw; left: -84vw; bottom: -88vw; }
    .bg-arcs .a2 { width: 95vw;  height: 95vw;  left: -22vw; bottom: -81vw; }
    .bg-arcs .a3 { width: 121vw; height: 121vw; right: -91vw; bottom: -72vw; }
    .bg-arcs .a4 { width: 140vw; height: 140vw; right: -88vw; bottom: -107vw; }
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 5vw;
    z-index: 10;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    justify-self: start;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.brand:hover { opacity: 1; }

.brand img {
    height: 34px;
    width: 34px;
}

.brand span {
    font-size: 0.78rem;
    font-weight: 300;
    letter-spacing: 0.42em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    gap: 4.5vw;
}

.site-nav a {
    position: relative;
    font-size: 0.98rem;
    font-weight: 300;
    letter-spacing: 0.04em;
    color: var(--muted);
    padding: 8px 2px 14px;
    transition: color 0.3s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--text); }

.site-nav a[aria-current="page"]::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 34px;
    height: 2px;
    transform: translateX(-50%);
    background: var(--red);
    box-shadow: 0 0 10px rgba(255, 59, 48, 0.7);
}

@media (max-width: 720px) {
    :root { --header-h: 64px; --footer-h: 60px; }
    .site-header { grid-template-columns: auto 1fr; padding: 0 5vw; }
    .site-nav { justify-self: end; gap: 7vw; }
    .site-nav a { font-size: 0.9rem; }
    .brand span { display: none; }
    .brand img { height: 28px; width: 28px; }
}
