﻿/* =========================================================
   Peter Beltmaker – közös stílusok (minden oldal)
   ========================================================= */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background-color: #141414;
    color: #d6d6d6;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    line-height: 1.7;
}

a {
    color: inherit;
}

/* ---------- Navigáció ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    gap: 32px;
    padding: 16px 24px;
    background: rgba(147, 69, 1, 0.57);

    background: rgba(100, 100, 100, 0.57);
    
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid #222;
    align-items: center;
}

    .nav a {
        text-decoration: none;
        font-size: 14px;
        font-weight: 400;
        letter-spacing: 0.08em;
        color: #9a9a9a;
        transition: color 0.2s;
    }

        .nav a:hover {
            color: #ffffff;
        }

        .nav a.active {
            color: #ff8c42;
        }

/* ---------- Lenyíló menü ---------- */
.dropdown {
    position: relative;
    display: flex;
    align-items: center;
}
    /* láthatatlan híd, hogy az egér ne „essen le” a menüről */
    .dropdown::after {
        content: "";
        position: absolute;
        left: -20px;
        right: -20px;
        top: 100%;
        height: 16px;
    }

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0;
    font-family: inherit;
    line-height: inherit;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: #9a9a9a;
    background: none;
    border: 0;
    cursor: pointer;
    transition: color 0.2s;
}

    .dropdown-toggle::after {
        content: "";
        border-style: solid;
        border-width: 5px 4px 0 4px;
        border-color: currentColor transparent transparent transparent;
        transition: transform 0.2s;
    }

.dropdown:hover .dropdown-toggle,
.dropdown:focus-within .dropdown-toggle {
    color: #ff8c42;
}

    .dropdown:hover .dropdown-toggle::after,
    .dropdown:focus-within .dropdown-toggle::after {
        transform: rotate(180deg);
    }

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 20;
    min-width: 260px;
    max-width: min(360px, 90vw);
    max-height: 60vh;
    overflow-y: auto;
    padding: 8px;
    background: #1b1b1b;
    border: 1px solid #2e2e2e;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 14px);
}

.nav .dropdown-menu a {
    display: block;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 14px;
    letter-spacing: 0;
    color: #c8c8c8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background 0.2s, color 0.2s;
}

    .nav .dropdown-menu a:hover,
    .nav .dropdown-menu a.current {
        background: #262626;
        color: #ff8c42;
    }

    .nav .dropdown-menu a.all {
        margin-bottom: 6px;
        padding-bottom: 12px;
        border-bottom: 1px solid #2a2a2a;
        border-radius: 8px 8px 0 0;
        font-size: 12px;
        font-weight: 500;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: #8a8a8a;
    }

/* ---------- Lábléc ---------- */
.footer {
    margin-top: 80px;
    padding: 32px 24px;
    border-top: 1px solid #222;
    text-align: center;
    font-size: 17px;
    color: #6a6a6a;
    background-color:#0e0e0e
}

.visits {
    margin-top: 18px;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ff8c42;
}

.visits-num {
    display: block;
    margin-bottom: 4px;
    font-size: clamp(30px, 6vw, 44px);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: 0;
    color: #d9d9d9;
    font-variant-numeric: tabular-nums;
}
/* ---------- Mobilnézet ---------- */
@media (max-width: 600px) {
    .nav {
        gap: 20px;
        padding-right: 64px;
    }

    .lang {
        right: 12px;
    }
}





/* ---------- Nyelvválasztó ---------- */
.lang {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
}
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 6px;
    background: transparent;
    border: 1px solid #3A3A3A;
    border-radius: 6px;
    cursor: pointer;
}

    .lang-toggle:hover,
    .lang.open .lang-toggle {
        border-color: #DE5D00;
    }

    .lang-toggle::after {
        content: "";
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 5px solid #b5b5b5;
    }

.lang img {
    display: block;
    width: 22px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
}

.lang-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 20;
    min-width: 170px;
    padding: 6px;
    background: #1b1b1b;
    border: 1px solid #2e2e2e;
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
    display: none;
}

.lang.open .lang-menu {
    display: block;
}

.nav .lang-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 14px;
    color: #b5b5b5;
    text-decoration: none;
    white-space: nowrap;
}

    .nav .lang-menu a:hover {
        background: #262626;
        color: #fff;
    }

    .nav .lang-menu a.active {
        color: #d2691e;
    }

/* A Google saját sávjának és buborékjainak elrejtése */
iframe.skiptranslate,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame {
    display: none !important;
}

body {
    top: 0 !important;
}

.goog-text-highlight {
    background: none !important;
    box-shadow: none !important;
}