/* ============================================================
   JÁMBOR SZERVIZ — egyedi sötét/tech stílus
   ============================================================ */
:root {
    --bg: #09090b;
    --surface: #121214;
    --surface-2: #18181b;
    --primary: #ff6b1a;
    --primary-hover: #e55a0f;
    --text: #f8fafc;
    --text-muted: #a1a1aa;
    --border: #27272a;
}
* { box-sizing: border-box; }
html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}
::selection { background: var(--primary); color: #000; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 {
    font-family: "Outfit", "Inter", sans-serif;
    letter-spacing: -0.02em;
    margin: 0;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section {
    padding: 90px 0;
    border-top: 1px solid #0e0e10;
    position: relative;
}
.eyebrow {
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.title-xl {
    font-size: clamp(34px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -0.04em;
}
.title-lg {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
}
.muted { color: var(--text-muted); }
.accent { color: var(--primary); }

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 40;
    transition: background 0.25s ease, border-bottom 0.25s ease;
    border-bottom: 1px solid transparent;
}
.site-header.scrolled {
    background: rgba(9, 9, 11, 0.82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(39, 39, 42, 0.7);
}
.site-header .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img {
    height: 44px; width: 44px;
    border-radius: 50%;
    background: #fff;
    object-fit: contain;
    padding: 3px;
}
.brand .name { font-weight: 900; letter-spacing: -0.02em; font-family: "Outfit", sans-serif; }
.brand .sub { font-size: 10px; letter-spacing: 0.35em; color: var(--text-muted); margin-top: -2px; }

.nav { display: flex; gap: 32px; align-items: center; }
.nav a {
    font-size: 14px;
    color: #d4d4d8;
    transition: color 0.15s ease;
}
.nav a:hover { color: var(--primary); }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid transparent;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 0 0 rgba(255, 107, 26, 0.4);
}
.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 0 30px rgba(255, 107, 26, 0.35);
    transform: translateY(-1px);
}
.btn-secondary {
    background: var(--surface);
    color: #fff;
    border-color: var(--border);
}
.btn-secondary:hover { background: var(--surface-2); border-color: var(--primary); }
.btn-block { width: 100%; justify-content: center; padding: 16px; }

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 110px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 107, 26, 0.10), transparent 50%),
        radial-gradient(ellipse 60% 40% at 90% 110%, rgba(255, 107, 26, 0.06), transparent 50%);
    pointer-events: none;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.5;
    pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 56px;
    align-items: center;
}
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border: 1px solid var(--border);
    background: rgba(24, 24, 27, 0.6);
    border-radius: 999px;
    margin-bottom: 28px;
    font-size: 11px;
    letter-spacing: 0.25em;
    color: #d4d4d8;
    text-transform: uppercase;
}
.pill .dot {
    width: 8px; height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-ring 2.2s ease-out infinite;
}
@keyframes pulse-ring {
    0%   { box-shadow: 0 0 0 0 rgba(255, 107, 26, 0.45); }
    70%  { box-shadow: 0 0 0 14px rgba(255, 107, 26, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 26, 0); }
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.hero-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 44px;
    max-width: 600px;
}
.hero-badge {
    padding: 16px;
    border: 1px solid #27272a;
    background: rgba(24, 24, 27, 0.4);
}
.hero-badge svg { color: var(--primary); margin-bottom: 8px; }
.hero-badge span {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: #e4e4e7;
}

.logo-card {
    background: #fff;
    border-radius: 40px;
    padding: 50px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    position: relative;
}
.logo-card-wrap { position: relative; }
.logo-card-wrap::before {
    content: "";
    position: absolute;
    inset: -16px;
    background: radial-gradient(circle, rgba(255, 107, 26, 0.3), transparent 70%);
    filter: blur(40px);
    z-index: -1;
}
.logo-card-tag {
    position: absolute;
    bottom: -18px;
    right: -18px;
    background: var(--primary);
    color: #000;
    padding: 14px 20px;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.logo-card-tag small {
    font-size: 10px;
    letter-spacing: 0.2em;
    opacity: 0.7;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
}

/* ===== Services ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
    background: var(--bg);
    padding: 36px;
    transition: background 0.2s ease;
    display: flex;
    flex-direction: column;
}
.service-card:hover { background: rgba(24, 24, 27, 0.4); }
.service-card .icon-wrap {
    width: 56px; height: 56px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 36px;
    transition: all 0.2s ease;
}
.service-card:hover .icon-wrap { border-color: rgba(255, 107, 26, 0.6); background: rgba(255, 107, 26, 0.08); }
.service-card .icon-wrap svg { color: var(--primary); }
.service-card .num { font-family: ui-monospace, monospace; font-size: 12px; color: #52525b; float: right; }
.service-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: 14px; line-height: 1.65; margin: 0 0 28px; }
.service-card .more {
    margin-top: auto;
    color: var(--primary);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}
.service-card.highlight {
    background: var(--primary);
    color: #000;
}
.service-card.highlight .eyebrow,
.service-card.highlight p { color: rgba(0, 0, 0, 0.7); }
.service-card.highlight h3 { color: #000; }
.service-card.highlight .more { color: #000; font-weight: 800; }

/* ===== Pricelist ===== */
.filters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--border);
    background: rgba(24, 24, 27, 0.4);
    margin-bottom: 24px;
}
@media (max-width: 900px) { .filters { grid-template-columns: 1fr; } }

.input {
    width: 100%;
    padding: 12px 14px;
    background: #0f0f11;
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 14px;
    border-radius: 4px;
    font-family: inherit;
}
.input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 26, 0.15);
}
.input::placeholder { color: #52525b; }

.results-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.pricelist {
    border: 1px solid var(--border);
    overflow-x: auto;
}
.pricelist-head {
    display: grid;
    grid-template-columns: 1.4fr 2.4fr 1.6fr 0.8fr 1fr;
    gap: 16px;
    padding: 16px 22px;
    background: rgba(24, 24, 27, 0.6);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 700;
    border-bottom: 1px solid var(--border);
}
.pricelist-row {
    display: grid;
    grid-template-columns: 1.4fr 2.4fr 1.6fr 0.8fr 1fr;
    gap: 16px;
    padding: 16px 22px;
    border-bottom: 1px solid #0e0e10;
    font-size: 14px;
    transition: background 0.15s ease;
}
.pricelist-row:hover { background: rgba(24, 24, 27, 0.4); }
.pricelist-row .small { font-size: 11px; text-transform: uppercase; color: #52525b; letter-spacing: 0.1em; font-weight: 700; }
.pricelist-row .model { font-weight: 700; color: #fff; }
.pricelist-row .name { font-weight: 600; color: #e4e4e7; }
.pricelist-row .desc { font-size: 12px; color: #71717a; margin-top: 4px; white-space: pre-wrap; }
.pricelist-row .cat { color: var(--text-muted); }
.pricelist-row .ido { font-size: 12px; color: #71717a; }
.pricelist-row .ar {
    text-align: right;
}
.price-tag {
    display: inline-block;
    background: rgba(255, 107, 26, 0.1);
    color: var(--primary);
    border: 1px solid rgba(255, 107, 26, 0.3);
    padding: 4px 10px;
    font-weight: 700;
    font-size: 13px;
}
@media (max-width: 900px) {
    .pricelist-head { display: none; }
    .pricelist-row { grid-template-columns: 1fr; gap: 6px; padding: 16px; }
    .pricelist-row .ar { text-align: left; }
}

.pager {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
}
.pager a, .pager span {
    padding: 8px 16px;
    font-size: 14px;
    border: 1px solid var(--border);
    color: #d4d4d8;
}
.pager a:hover { border-color: var(--primary); color: var(--primary); }
.pager .current { color: var(--text-muted); border-color: transparent; }
.pager .disabled { opacity: 0.3; pointer-events: none; }

/* ===== Booking form ===== */
.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 56px;
}
@media (max-width: 900px) { .booking-grid { grid-template-columns: 1fr; } }
.booking-info { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.info-line {
    padding: 16px;
    border: 1px solid var(--border);
    background: rgba(24, 24, 27, 0.4);
    display: flex;
    gap: 12px;
}
.info-line svg { color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.info-line strong { color: #fff; display: block; font-size: 14px; }
.info-line small { color: var(--text-muted); font-size: 12px; }

.booking-form {
    border: 1px solid var(--border);
    background: rgba(24, 24, 27, 0.4);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.field label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 8px;
}
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .row-2 { grid-template-columns: 1fr; } }

.checkbox-row { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: #d4d4d8; }
.checkbox-row input { width: 18px; height: 18px; accent-color: var(--primary); cursor: pointer; }

.alert {
    padding: 14px 18px;
    border: 1px solid;
    font-size: 14px;
    margin-bottom: 12px;
}
.alert-error { border-color: #7f1d1d; background: rgba(127, 29, 29, 0.15); color: #fecaca; }
.alert-success { border-color: rgba(255, 107, 26, 0.4); background: rgba(255, 107, 26, 0.1); color: #ffd9c2; }

/* ===== Contact ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
    background: var(--bg);
    padding: 36px;
    transition: background 0.2s ease;
}
.contact-card:hover { background: rgba(24, 24, 27, 0.4); }
.contact-card svg { color: var(--primary); margin-bottom: 22px; }
.contact-card .label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 6px;
}
.contact-card .value {
    font-size: 28px;
    font-weight: 900;
    font-family: "Outfit", sans-serif;
    letter-spacing: -0.02em;
}
.contact-card .sub { color: var(--text-muted); font-size: 14px; margin-top: 6px; }
.contact-card.wa svg { color: #25d366; }
.contact-card.wa:hover .value { color: #25d366; }
.contact-card.phone:hover .value { color: var(--primary); }
.contact-banner {
    grid-column: 1 / -1;
    background: var(--primary);
    color: #000;
    padding: 32px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
}
.contact-banner h3 { font-size: 26px; font-weight: 900; line-height: 1.1; }
.contact-banner small { font-size: 11px; text-transform: uppercase; letter-spacing: 0.3em; opacity: 0.7; font-weight: 700; }
.contact-banner .btn { background: #000; color: #fff; }
.contact-banner .btn:hover { background: #1a1a1a; transform: translateY(-1px); }
@media (max-width: 700px) { .contact-banner { grid-template-columns: 1fr; } }

/* ===== Footer ===== */
.site-footer {
    border-top: 1px solid #0e0e10;
    padding: 60px 0 30px;
    background: #06060a;
    color: var(--text-muted);
    font-size: 14px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 32px;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand { color: #fff; }
.site-footer .copyright {
    margin-top: 40px; padding-top: 24px;
    border-top: 1px solid #18181b;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
    font-size: 12px; color: #52525b; letter-spacing: 0.15em; text-transform: uppercase;
}

/* ===== Floating buttons ===== */
.fab {
    position: fixed;
    right: 22px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease;
    z-index: 50;
    color: #fff;
}
.fab:hover { transform: scale(1.1); }
.fab.wa { bottom: 22px; background: #25d366; }
.fab.phone { bottom: 92px; background: var(--primary); animation: pulse-ring 2.2s ease-out infinite; }

/* ===== Admin ===== */
.admin-wrap { min-height: 100vh; background: var(--bg); }
.admin-header {
    position: sticky; top: 0; z-index: 30;
    border-bottom: 1px solid #18181b;
    background: rgba(9, 9, 11, 0.85);
    backdrop-filter: blur(14px);
}
.admin-header .inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
}
.admin-tabs {
    display: flex; gap: 4px; border-bottom: 1px solid #18181b; margin-bottom: 32px;
}
.admin-tabs a {
    padding: 14px 22px; font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.15em; color: #52525b;
}
.admin-tabs a.active { color: var(--primary); border-bottom: 2px solid var(--primary); }
.admin-tabs a:hover { color: #d4d4d8; }

.admin-table { width: 100%; border-collapse: collapse; border: 1px solid var(--border); font-size: 14px; }
.admin-table th {
    text-align: left; padding: 12px 16px;
    background: rgba(24, 24, 27, 0.6); color: var(--text-muted);
    font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700;
    border-bottom: 1px solid var(--border);
}
.admin-table td {
    padding: 14px 16px; border-bottom: 1px solid #0e0e10;
}
.admin-table tr:hover td { background: rgba(24, 24, 27, 0.4); }
.admin-table a, .admin-table button {
    background: transparent; border: 1px solid var(--border);
    padding: 6px 10px; font-size: 12px; color: #d4d4d8; cursor: pointer;
    margin-right: 4px;
}
.admin-table a:hover { border-color: var(--primary); color: var(--primary); }
.admin-table button.danger:hover { border-color: #ef4444; color: #ef4444; }

.booking-card {
    border: 1px solid var(--border);
    background: rgba(24, 24, 27, 0.4);
    padding: 22px;
    margin-bottom: 16px;
}
.booking-card-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.booking-card-meta { font-size: 12px; color: var(--text-muted); }
.booking-grid-info {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; font-size: 14px; color: #d4d4d8;
}
.badge {
    display: inline-block; padding: 4px 10px; font-size: 11px;
    text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700;
}
.badge-orange { background: rgba(255, 107, 26, 0.1); color: var(--primary); border: 1px solid rgba(255, 107, 26, 0.3); }

/* ===== Misc ===== */
.center { text-align: center; }
.mt-4 { margin-top: 16px; } .mt-8 { margin-top: 32px; }
.hidden { display: none !important; }

/* ===== Mobil nézet finomhangolása (Header) ===== */
/* ===== Mobil nézet: Logó felül, menü alatta ===== */
/* ===== Hamburger gomb alapállapot (Asztali nézetben rejtve) ===== */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 50;
}
.menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background-color: var(--text);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* ===== Kinyitható Mobil menü (700px szélesség alatt) ===== */
/* ===== Hamburger gomb alapállapot (Bombabiztos verzió) ===== */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between; /* Egyenletesen elosztja a 3 vonalat */
    width: 32px;
    height: 22px; /* Fix magasság, hogy ne folyjon szét */
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0;
    cursor: pointer;
    z-index: 50;
    box-shadow: none !important;
}

.menu-toggle span {
    display: block !important;
    width: 100% !important;
    height: 3px !important;
    background-color: var(--text) !important;
    border-radius: 2px !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* ===== Kinyitható Mobil menü (700px szélesség alatt) ===== */
@media (max-width: 700px) {
    /* Szöveg elrejtése a logó mellől */
    .brand div {
        display: none;
    }

    /* Gomb megjelenítése mobilon */
    .menu-toggle {
        display: flex;
    }

    /* A menüsor átalakítása fentről legördülő panellé */
    .site-header .nav {
        position: absolute;
        top: 72px; /* Pontosan a header alá igazítva */
        left: 0;
        right: 0;
        background: rgba(9, 9, 11, 0.98); /* Sötét háttér */
        backdrop-filter: blur(14px);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 30px 24px;
        gap: 24px;
        
        /* Alaphelyzetben rejtett */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-15px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
    }

    /* Kinyitott állapot */
    .site-header .nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    /* Menüpontok stílusa mobilon */
    .site-header .nav a {
        font-size: 16px;
        font-weight: 600;
        width: 100%;
        text-align: center;
        padding: 8px 0;
        display: block;
    }

    /* Hamburger gomb animációja X alakra nyitott állapotban */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9.5px) rotate(45deg);
        background-color: var(--primary) !important;
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9.5px) rotate(-45deg);
        background-color: var(--primary) !important;
    }
}