/* ==========================================================================
   AutóMentő Pro — Globális stíluslap
   ========================================================================== */

:root {
    --bg-primary: #111111;
    --bg-secondary: #1d1d1d;
    --bg-card: #202020;
    --bg-card-hover: #262626;
    --text-primary: #ffffff;
    --text-muted: #b3b3b3;
    --text-dim: #888888;
    --accent: #ff5722;
    --accent-light: #ff8a50;
    --accent-dark: #d84315;
    --border-color: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(29, 29, 29, 0.55);
    --glass-border: rgba(255, 255, 255, 0.12);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(255, 87, 34, 0.35);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* --- Reset --- */
* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --- Loading Screen --- */
#loading-screen {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--bg-primary);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loading-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-truck { display: flex; flex-direction: column; align-items: center; gap: 16px; animation: pulse-loader 1.4s ease-in-out infinite; }
.loader-text { font-family: var(--font-heading); font-weight: 700; letter-spacing: 1px; color: var(--accent); }
@keyframes pulse-loader { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.08); opacity: 0.7; } }

/* --- Buttons --- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 15px 32px; border-radius: 50px; font-weight: 600; font-size: 0.95rem;
    transition: all var(--transition); white-space: nowrap; border: 2px solid transparent;
}
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.25); color: var(--text-primary); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-light); transform: translateY(-3px); }
.btn-call { background: rgba(255,255,255,0.06); color: var(--text-primary); border-color: var(--border-color); }
.btn-call:hover { background: var(--accent); border-color: var(--accent); }
.btn-block { width: 100%; }

/* --- Navbar --- */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 18px 0; transition: all var(--transition);
    background: transparent;
}
.navbar.scrolled {
    background: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    padding: 12px 0; box-shadow: 0 4px 20px rgba(0,0,0,0.35);
    border-bottom: 1px solid var(--border-color);
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 800; font-size: 1.3rem; }
.brand-mark { font-size: 1.5rem; }
.nav-links { display: flex; gap: 18px; }
.nav-links a { font-weight: 500; font-size: 0.95rem; color: var(--text-muted); position: relative; padding: 6px 0; transition: color var(--transition); white-space: nowrap; }
.nav-links a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--accent); transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.hamburger { display: none; flex-direction: column; gap: 5px; width: 30px; z-index: 1100; }
.hamburger span { display: block; height: 2px; width: 100%; background: #fff; border-radius: 2px; transition: all var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 1050;
    opacity: 0; visibility: hidden; transition: all var(--transition);
}
.mobile-nav-overlay.show { opacity: 1; visibility: visible; }
.mobile-nav {
    position: fixed; top: 0; right: -320px; width: 300px; height: 100vh;
    background: var(--bg-secondary); z-index: 1090; padding: 100px 32px 32px;
    display: flex; flex-direction: column; gap: 24px; transition: right var(--transition);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
}
.mobile-nav.open { right: 0; }
.mobile-nav a { font-size: 1.1rem; font-weight: 600; color: var(--text-primary); }

/* --- Hero --- */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    overflow: hidden; padding-top: 80px;
}
.hero-video-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background:
        linear-gradient(100deg, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.86) 28%, rgba(10,10,10,0.55) 52%, rgba(10,10,10,0.18) 75%, rgba(10,10,10,0.4) 100%),
        linear-gradient(180deg, rgba(17,17,17,0.35) 0%, rgba(17,17,17,0.1) 30%, rgba(17,17,17,0.8) 100%);
}
.hero-content { position: relative; z-index: 2; width: 100%; }
.hero-glass {
    max-width: 640px; padding: 0 0 0 28px; position: relative;
    animation: fadeUp 1s ease both;
}
.hero-glass::before {
    content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px;
    background: linear-gradient(180deg, var(--accent), var(--accent-dark));
    border-radius: 3px;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px;
    border-radius: 50px; background: rgba(255,87,34,0.18); color: var(--accent-light);
    font-weight: 600; font-size: 0.85rem; margin-bottom: 20px; border: 1px solid rgba(255,87,34,0.35);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #4caf50; animation: blink 1.5s infinite; }
.hero-title { font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: 20px; text-shadow: 0 4px 24px rgba(0,0,0,0.7); }
.hero-title span { color: var(--accent); }
.hero-subtitle { font-size: clamp(1rem, 2vw, 1.3rem); color: var(--text-muted); margin-bottom: 36px; max-width: 560px; text-shadow: 0 2px 14px rgba(0,0,0,0.8); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero-scroll-indicator {
    position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2;
    color: var(--text-muted); animation: bounce 2s infinite;
}
@keyframes bounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 10px); } }

/* --- Page hero (belső oldalak) --- */
.page-hero {
    position: relative; padding: 180px 0 90px; text-align: center;
    background: linear-gradient(160deg, var(--bg-secondary), var(--bg-primary));
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}
.page-hero::before {
    content: ''; position: absolute; top: -50%; right: -10%; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,87,34,0.15) 0%, transparent 70%); z-index: 0;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.page-hero p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.breadcrumb { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--accent-light); }

/* --- Sections generic --- */
section { padding: 100px 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-tag {
    display: inline-block; color: var(--accent); font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; font-size: 0.8rem; margin-bottom: 14px;
}
.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 16px; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; }
.bg-alt { background: var(--bg-secondary); }

/* --- Reveal animation --- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Cards grid: services --- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
    background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md);
    padding: 36px 30px; transition: all var(--transition); position: relative; overflow: hidden;
}
.card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
}
.card:hover { transform: translateY(-8px); background: var(--bg-card-hover); box-shadow: var(--shadow-md); border-color: rgba(255,87,34,0.25); }
.card:hover::before { transform: scaleX(1); }
.card-icon {
    width: 64px; height: 64px; border-radius: var(--radius-sm); display: flex; align-items: center;
    justify-content: center; background: rgba(255,87,34,0.12); color: var(--accent); margin-bottom: 22px;
    font-size: 1.8rem; transition: all var(--transition);
}
.card:hover .card-icon { background: var(--accent); color: #fff; transform: rotate(-6deg) scale(1.05); }
.card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.card p { color: var(--text-muted); font-size: 0.95rem; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--accent-light); font-weight: 600; font-size: 0.9rem; }

.check-list { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.check-list li { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--text-muted); }
.check-list li i { color: var(--accent); font-size: 0.8rem; }

.services-preview-footer { text-align: center; margin-top: 50px; }

/* --- Why choose us --- */
.why-us-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.why-item { text-align: center; padding: 20px; }
.why-icon {
    width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 20px; display: flex;
    align-items: center; justify-content: center; font-size: 2rem;
    background: linear-gradient(135deg, rgba(255,87,34,0.18), rgba(255,87,34,0.05));
    border: 1px solid rgba(255,87,34,0.25); color: var(--accent-light);
}
.why-item h3 { font-size: 1.1rem; margin-bottom: 10px; }
.why-item p { color: var(--text-muted); font-size: 0.9rem; }

/* --- Counters --- */
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.counter-item .counter-num {
    font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--accent);
    display: flex; align-items: center; justify-content: center; gap: 4px;
}
.counter-item p { color: var(--text-muted); margin-top: 8px; font-weight: 500; }

/* --- CTA banda --- */
.cta-banner {
    background: linear-gradient(120deg, var(--accent-dark), var(--accent));
    border-radius: var(--radius-lg); padding: 60px; text-align: center; position: relative; overflow: hidden;
}
.cta-banner h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 16px; }
.cta-banner p { opacity: 0.9; margin-bottom: 28px; }
.cta-banner .btn-outline { border-color: rgba(255,255,255,0.6); color: #fff; }
.cta-banner .btn-outline:hover { background: #fff; color: var(--accent-dark); }
.cta-banner .btn-primary { background: #111; }

/* --- Gallery --- */
.gallery-grid { columns: 4 260px; column-gap: 20px; }
.gallery-item {
    break-inside: avoid; margin-bottom: 20px; border-radius: var(--radius-md); overflow: hidden;
    position: relative; cursor: pointer; border: 1px solid var(--border-color);
}
.gallery-item img { width: 100%; height: auto; display: block; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
    content: '\f00e'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: #fff;
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; background: rgba(0,0,0,0.4); opacity: 0; transition: opacity var(--transition);
}
.gallery-item:hover::after { opacity: 1; }
.gallery-empty { text-align: center; padding: 60px 20px; color: var(--text-muted); }

/* Lightbox */
.lightbox {
    position: fixed; inset: 0; z-index: 2000; background: rgba(10,10,10,0.95);
    display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden;
    transition: all 0.3s ease; padding: 40px;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius-sm); box-shadow: 0 20px 60px rgba(0,0,0,0.6); }
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute; background: rgba(255,255,255,0.08); border: 1px solid var(--border-color);
    color: #fff; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-size: 1.3rem; transition: all var(--transition);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--accent); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* --- Forms --- */
.form-wrap {
    background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-lg);
    padding: 48px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.9rem; font-weight: 600; color: var(--text-muted); }
.form-group label .req { color: var(--accent); }
.form-control {
    background: rgba(255,255,255,0.05); border: 1px solid var(--border-color); border-radius: var(--radius-sm);
    padding: 14px 16px; color: var(--text-primary); font-size: 0.95rem; transition: all var(--transition); width: 100%;
}
.form-control:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,0.08); box-shadow: 0 0 0 3px rgba(255,87,34,0.15); }
textarea.form-control { resize: vertical; min-height: 110px; }
.form-hint { font-size: 0.78rem; color: var(--text-dim); }
.radio-group { display: flex; gap: 20px; }
.radio-option { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.radio-option input { accent-color: var(--accent); width: 18px; height: 18px; }
.file-drop {
    border: 2px dashed var(--border-color); border-radius: var(--radius-sm); padding: 24px; text-align: center;
    color: var(--text-muted); cursor: pointer; transition: all var(--transition); font-size: 0.9rem;
}
.file-drop:hover, .file-drop.dragover { border-color: var(--accent); color: var(--accent-light); background: rgba(255,87,34,0.05); }
.file-drop-filename { display: none; align-items: center; justify-content: center; gap: 6px; margin-top: 8px; color: var(--accent-light); font-size: 0.85rem; font-weight: 600; }
.file-drop-filename.has-file { display: flex; }

.alert { padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 24px; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.alert-success { background: rgba(76,175,80,0.12); border: 1px solid rgba(76,175,80,0.35); color: #81c784; }
.alert-error { background: rgba(244,67,54,0.12); border: 1px solid rgba(244,67,54,0.35); color: #e57373; }

/* --- Ár kalkulátor --- */
.calc-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: start; }
.calc-result {
    position: sticky; top: 100px; background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); padding: 36px; text-align: center; box-shadow: var(--shadow-md);
}
.calc-result-label { color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 0.8rem; }
.calc-result-price { font-family: var(--font-heading); font-size: 2.6rem; font-weight: 800; color: var(--accent); margin: 10px 0 4px; }
.calc-result-range { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 20px; }
.calc-breakdown { text-align: left; margin-bottom: 24px; display: flex; flex-direction: column; gap: 8px; }
.calc-breakdown li { font-size: 0.85rem; color: var(--text-muted); padding-bottom: 8px; border-bottom: 1px dashed var(--border-color); }
.calc-disclaimer { margin-top: 18px; font-size: 0.78rem; color: var(--text-dim); display: flex; gap: 8px; align-items: flex-start; text-align: left; }

.calc-result-price.pulse { animation: calcPulse 0.5s ease; }
@keyframes calcPulse {
    0% { text-shadow: 0 0 0 rgba(255,87,34,0); }
    30% { transform: scale(1.06); text-shadow: 0 0 24px rgba(255,87,34,0.55); }
    100% { transform: scale(1); text-shadow: 0 0 0 rgba(255,87,34,0); }
}

.calc-tabs { display: flex; gap: 10px; margin-bottom: 26px; }
.calc-tab {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border-color);
    background: rgba(255,255,255,0.04); color: var(--text-muted); font-weight: 600; font-size: 0.9rem;
    cursor: pointer; transition: all var(--transition);
}
.calc-tab:hover { color: var(--text-primary); border-color: var(--accent); }
.calc-tab.active { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; border-color: transparent; box-shadow: var(--shadow-sm); }

.autocomplete-wrap { position: relative; }
.autocomplete-list {
    position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20;
    background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md); max-height: 220px; overflow-y: auto; display: none;
}
.autocomplete-list.open { display: block; }
.autocomplete-list li { padding: 11px 16px; font-size: 0.85rem; color: var(--text-muted); cursor: pointer; border-bottom: 1px solid var(--border-color); }
.autocomplete-list li:last-child { border-bottom: none; }
.autocomplete-list li:hover { background: rgba(255,87,34,0.1); color: var(--text-primary); }

.calc-swap-row { grid-column: 1 / -1; display: flex; justify-content: center; margin: -8px 0; }
.calc-swap-btn {
    width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border-color);
    background: rgba(255,255,255,0.05); color: var(--text-muted); cursor: pointer; transition: all var(--transition);
    display: flex; align-items: center; justify-content: center;
}
.calc-swap-btn:hover { color: #fff; background: var(--accent); border-color: transparent; transform: rotate(180deg); }

.calc-distance-info {
    display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 12px 16px;
    border-radius: var(--radius-sm); background: rgba(255,255,255,0.04); border: 1px solid var(--border-color);
    font-size: 0.85rem; color: var(--text-muted); transition: all var(--transition);
}
.calc-distance-info[data-state="success"] { border-color: rgba(76,175,80,0.35); color: #81c784; background: rgba(76,175,80,0.08); }
.calc-distance-info[data-state="error"] { border-color: rgba(244,67,54,0.35); color: #e57373; background: rgba(244,67,54,0.08); }
.calc-distance-info[data-state="loading"] { border-color: rgba(255,87,34,0.35); color: var(--accent-light); }

.calc-route-map { height: 0; border-radius: var(--radius-sm); overflow: hidden; transition: height var(--transition); margin-top: 0; }
.calc-route-map.visible { height: 220px; margin-top: 14px; }

.radio-group.wrap { flex-wrap: wrap; gap: 14px 24px; }

#calcRequestBtn.disabled { opacity: 0.5; pointer-events: none; }

/* --- Contact --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info-card {
    background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md);
    padding: 30px; display: flex; gap: 18px; align-items: flex-start; margin-bottom: 20px; transition: all var(--transition);
}
.contact-info-card:hover { border-color: rgba(255,87,34,0.3); transform: translateX(6px); }
.contact-info-card .card-icon { margin-bottom: 0; flex-shrink: 0; width: 52px; height: 52px; font-size: 1.4rem; }
.contact-info-card h4 { margin-bottom: 6px; }
.contact-info-card p, .contact-info-card a { color: var(--text-muted); font-size: 0.95rem; }
.contact-info-card a:not(.btn) { display: block; }
.contact-info-card a:not(.btn) + a:not(.btn) { margin-top: 4px; }
.map-wrap { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-color); height: 100%; min-height: 420px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(0.3) invert(0.92) contrast(0.9); }
.hours-list { list-style: none; }
.hours-list li { display: flex; justify-content: space-between; padding: 6px 0; font-size: 0.9rem; color: var(--text-muted); border-bottom: 1px dashed var(--border-color); }
.hours-list li:last-child { border-bottom: none; }
.hours-list span:last-child { color: var(--text-primary); font-weight: 600; }

/* --- Statikus/jogi oldal tartalom (page.php) --- */
.static-page-content { color: var(--text-muted); font-size: 1rem; line-height: 1.8; }
.static-page-content h2, .static-page-content h3 { color: var(--text-primary); margin: 32px 0 14px; }
.static-page-content h2:first-child, .static-page-content h3:first-child { margin-top: 0; }
.static-page-content p { margin-bottom: 16px; }
.static-page-content ul, .static-page-content ol { margin: 0 0 16px 20px; }
.static-page-content li { margin-bottom: 8px; }
.static-page-content a { color: var(--accent-light); text-decoration: underline; }
.static-page-content strong { color: var(--text-primary); }

/* --- Footer --- */
.site-footer { background: var(--bg-secondary); border-top: 1px solid var(--border-color); padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer-col h4 { margin-bottom: 20px; font-size: 1.05rem; }
.footer-col a, .footer-col span { display: block; color: var(--text-muted); margin-bottom: 12px; font-size: 0.92rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--accent-light); }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin: 16px 0 20px; max-width: 320px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border-color); padding: 22px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { color: var(--text-dim); font-size: 0.85rem; }
.footer-admin-link a:hover { color: var(--accent-light); }
.footer-legal-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-legal-links a { color: var(--text-dim); }
.footer-legal-links a:hover { color: var(--accent-light); }

/* --- Scroll top button --- */
#scrollTopBtn {
    position: fixed; bottom: 28px; right: 28px; width: 50px; height: 50px; border-radius: 50%;
    background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: all var(--transition); z-index: 900;
}
#scrollTopBtn.show { opacity: 1; visibility: visible; transform: translateY(0); }
#scrollTopBtn:hover { background: var(--accent-dark); transform: translateY(-4px); }

/* --- Cookie banner --- */
.cookie-banner {
    position: fixed; bottom: 20px; left: 20px; right: 20px; max-width: 520px; z-index: 1500;
    background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md);
    padding: 22px; box-shadow: var(--shadow-md); transform: translateY(150%); transition: transform 0.5s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 14px; }

/* --- Floating call button (mobile) --- */
.floating-call {
    display: none; position: fixed; bottom: 20px; left: 20px; z-index: 900; width: 54px; height: 54px;
    border-radius: 50%; background: var(--accent); align-items: center; justify-content: center;
    box-shadow: var(--shadow-glow); animation: pulse-call 2s infinite;
}
@keyframes pulse-call { 0% { box-shadow: 0 0 0 0 rgba(255,87,34,0.5); } 70% { box-shadow: 0 0 0 16px rgba(255,87,34,0); } 100% { box-shadow: 0 0 0 0 rgba(255,87,34,0); } }

/* ==========================================================================
   Admin
   ========================================================================== */
.admin-body { background: var(--bg-primary); min-height: 100vh; }
.admin-login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.admin-login-card {
    width: 100%; max-width: 400px; background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow-md);
}
.admin-login-card h1 { text-align: center; font-size: 1.4rem; margin-bottom: 6px; }
.admin-login-card .sub { text-align: center; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 30px; }

.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 260px; background: var(--bg-secondary); border-right: 1px solid var(--border-color);
    padding: 28px 20px; display: flex; flex-direction: column; gap: 6px; position: fixed; top: 0; bottom: 0; left: 0;
}
.admin-sidebar .brand { margin-bottom: 30px; font-size: 1.15rem; }
.admin-nav-link {
    display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--radius-sm);
    color: var(--text-muted); font-weight: 500; transition: all var(--transition);
}
.admin-nav-link i { width: 18px; text-align: center; font-size: 0.95rem; }
.admin-nav-link:hover { background: rgba(255,255,255,0.05); color: #fff; }
.admin-nav-link.active { background: rgba(255,87,34,0.14); color: var(--accent-light); }
.admin-main { flex: 1; margin-left: 260px; padding: 36px 40px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; flex-wrap: wrap; gap: 16px; }
.admin-sidebar-toggle { display: none; }
.admin-topbar h1 { font-size: 1.6rem; }
.admin-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.stat-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 26px; display: flex; align-items: center; gap: 18px; }
.stat-card .card-icon { margin-bottom: 0; }
.stat-card .stat-num { font-size: 1.8rem; font-weight: 800; font-family: var(--font-heading); }
.stat-card .stat-label { color: var(--text-muted); font-size: 0.85rem; }

.table-wrap { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; }
table { width: 100%; border-collapse: collapse; }
table th, table td { padding: 16px 18px; text-align: left; font-size: 0.9rem; border-bottom: 1px solid var(--border-color); }
table th { color: var(--text-muted); text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.5px; background: rgba(255,255,255,0.02); }
table tr:last-child td { border-bottom: none; }
table tr:hover td { background: rgba(255,255,255,0.02); }
.table-wrap { overflow-x: auto; }
.badge { display: inline-block; padding: 4px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 700; }
.badge-yes { background: rgba(76,175,80,0.15); color: #81c784; }
.badge-no { background: rgba(244,67,54,0.15); color: #e57373; }
.btn-icon { width: 34px; height: 34px; border-radius: var(--radius-sm); display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.05); transition: all var(--transition); }
.btn-icon.danger:hover { background: #e53935; color: #fff; }
.btn-icon.view:hover { background: var(--accent); color: #fff; }
.admin-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.admin-gallery-item { position: relative; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-color); aspect-ratio: 1; }
.admin-gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.admin-gallery-item .delete-overlay {
    position: absolute; inset: 0; background: rgba(0,0,0,0.55); display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity var(--transition);
}
.admin-gallery-item:hover .delete-overlay { opacity: 1; }
.upload-box { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 28px; margin-bottom: 30px; }
.settings-jump {
    display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; padding: 14px; position: sticky; top: 0; z-index: 50;
    background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: var(--radius-md);
}
.settings-jump a {
    padding: 6px 14px; border-radius: 50px; background: rgba(255,255,255,0.05); color: var(--text-muted);
    font-size: 0.82rem; font-weight: 600; transition: all var(--transition);
}
.settings-jump a:hover { background: var(--accent); color: #fff; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-backdrop.open { display: flex; }
.modal-box { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 32px; max-width: 560px; width: 100%; max-height: 85vh; overflow-y: auto; }
.modal-box h3 { margin-bottom: 18px; }
.detail-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border-color); font-size: 0.9rem; gap: 20px; }
.detail-row span:first-child { color: var(--text-muted); }
.detail-row span:last-child { text-align: right; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .why-us-grid { grid-template-columns: repeat(2, 1fr); }
    .counters { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { columns: 3 220px; }
    .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .calc-layout { grid-template-columns: 1fr; }
    .calc-result { position: static; }
}

@media (max-width: 1080px) {
    .nav-links, .nav-actions { display: none; }
    .hamburger { display: flex; }
}

@media (max-width: 860px) {
    .contact-grid { grid-template-columns: 1fr; }
    .admin-sidebar { transform: translateX(-100%); transition: transform var(--transition); z-index: 1200; }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-main { margin-left: 0; padding: 24px 20px; }
    .admin-sidebar-toggle { display: flex; }
    .floating-call { display: flex; }
}

@media (max-width: 640px) {
    section { padding: 70px 0; }
    .grid-4, .grid-3, .grid-2, .why-us-grid, .counters { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .form-wrap { padding: 28px 22px; }
    .hero-glass { padding-left: 18px; }
    .cta-banner { padding: 40px 24px; }
    .gallery-grid { columns: 2 160px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .page-hero { padding: 150px 0 60px; }
}
