/* --- ALAPVETŐ BEÁLLÍTÁSOK (HOGY NE ESSEN SZÉT) --- */
*,
html {
    scroll-behavior: smooth;
    box-sizing: border-box;
}

body {
    margin: 0;
    overflow-x: hidden;
    width: 100%;
    font-family: 'Kanit', sans-serif;
    padding-top: 110px; /* Navbar magassága */
}

/* CÍMEK (AOS-hez és régi struktúrához) */
.title {
    font-size: 2.5rem;
    font-family: 'Archivo Black', sans-serif;
    margin-bottom: 20px;
}

.sub-title {
    font-size: 1em;
    color: gray;
}

/* TÜSKÉK (SPIKES) - Ezeket hiányoltad a vizuális elválasztáshoz */
.spikes,
.spikes2 {
    position: relative;
    height: 15px;
    width: 100%;
    z-index: 10;
}

.spikes {
    background: #f4f4f4;
}
.spikes::after {
    content: '';
    position: absolute;
    right: 0;
    left: 0;
    top: 100%;
    display: block;
    height: 15px;
    background-size: 15px 100%;
    background-image: linear-gradient(135deg, #f4f4f4 25%, transparent 25%), linear-gradient(225deg, #f4f4f4 25%, transparent 25%);
}

.spikes2 {
    background: #fff;
}
.spikes2::after {
    content: '';
    position: absolute;
    right: 0;
    left: 0;
    top: 100%;
    display: block;
    height: 15px;
    background-size: 15px 100%;
    background-image: linear-gradient(135deg, #fff 25%, transparent 25%), linear-gradient(225deg, #fff 25%, transparent 25%);
}

/* --- 1. MODERN NAVBAR (.vb- rendszer) --- */
.vb-main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}
.vb-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 110px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}
.vb-logo img {
    height: 85px;
    filter: invert(1);
}
.vb-nav-links {
    display: flex;
    list-style: none;
    gap: 15px;
    margin: 0;
    padding: 0;
}
.vb-nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 18px;
    padding: 10px 15px;
    transition: 0.3s;
    position: relative;
}
.vb-nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: #000;
    transition: 0.3s;
    transform: translateX(-50%);
}
.vb-nav-links a:hover::after {
    width: 80%;
}

/* --- 2. INTRO SZAKASZ --- */
.main-intro {
    padding: 80px 0;
    background: #fff;
    padding-top: 150px;
}
.intro-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 40px;
    flex-wrap: wrap;
}
.intro-image,
.intro-content {
    flex: 1;
    min-width: 300px;
}
.floating-image {
    width: 100%;
    max-width: 480px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(15px 15px 12px rgba(0, 0, 0, 0.2));
}
.highlight-text {
    border-left: 5px solid #333;
    background: #f9f9f9;
    padding: 20px;
    margin-top: 25px;
    font-style: italic;
}

/* --- 3. FUNKCIÓ KÁRTYÁK --- */
.vb-features-section {
    padding: 80px 20px;
    background: #f4f4f4;
    text-align: center;
}
.vb-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.vb-feature-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    border-bottom: 4px solid transparent; /* Alapból ott a helye, de nem látszik */
}
.vb-feature-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid #333;
}
.vb-feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
}

/* --- 4. SZOLGÁLTATÁSOK --- */
.vb-services-section {
    padding: 80px 0;
    background: #fff;
}
.vb-info-card {
    background: #fdfdfd;
    padding: 40px;
    border-radius: 15px;
    border-left: 6px solid #333;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}
.vb-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}
.vb-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #eee;
}

/* --- 5. STATISZTIKÁK --- */
.stats-section {
    padding: 80px 0;
    background: #f4f4f4;
    text-align: center;
}
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.stat-card {
    background: white;
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}
.stat-card h2 {
    font-size: 3rem;
    margin: 10px 0;
}

/* --- 6. KAPCSOLAT --- */
.contact-section {
    padding: 80px 20px;
    background: #f9f9f9;
}
.contact-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}
.modern-form {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.modern-form input,
.modern-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}
.submit-btn {
    width: 100%;
    padding: 15px;
    background: #333;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

/* --- 7. GALÉRIA RÁCS --- */
.modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.modern-grid img {
    width: 100%;
    height: auto; /* Engedi a képnek a saját arányát használni */
    aspect-ratio: 1 / 1; /* Opcionális: kényszerített négyzet arány */
    object-fit: cover;
    border-radius: 8px;
}

/* --- 8. FOOTER --- */
.vb-footer-section {
    background: #222;
    color: #fff;
    padding: 60px 0 0 0;
}
.vb-footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px;
}
.vb-footer-links {
    list-style: none;
    padding: 0;
}
.vb-footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: 0.3s;
}
.vb-footer-links a:hover {
    color: #fff;
}
.vb-sub-footer {
    background: #1a1a1a;
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 14px;
}

/* MOBIL KEZELÉS */
.vb-menu-toggle {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: #333;
}

@media (max-width: 850px) {
    .vb-menu-toggle {
        display: block;
    }
    .vb-nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 20px;
    }
    .vb-nav-links.vb-active {
        display: flex;
    }
    .intro-container {
        flex-direction: column;
        text-align: center;
    }
}

/* --- STATISZTIKAI IKONOK JAVÍTÁSA --- */
.stat-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px; /* Egységes magasság az ikonoknak */
}

.stat-icon img {
    height: 100%; /* Kitölti a rendelkezésre álló magasságot */
    width: auto; /* Megtartja az arányokat */
    max-width: 60px;
    object-fit: contain;
}

.stat-card h2 {
    font-size: 2.5rem;
    font-family: 'Archivo Black', sans-serif;
    margin: 10px 0;
    color: #222;
}

.stat-card p {
    font-size: 1rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* --- MODERN KAPCSOLAT SZEKCIÓ --- */
.vb-contact-section {
    padding: 100px 0;
    background-color: #f8f9fa;
    overflow: hidden;
}

.vb-contact-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
    padding: 0 20px;
    align-items: center;
}

.vb-contact-info,
.vb-contact-form-wrapper {
    flex: 1;
    min-width: 320px;
}

/* Bal oldal stílusa */
.vb-section-title {
    font-size: 2.8rem;
    font-family: 'Archivo Black', sans-serif;
    margin-bottom: 25px;
    color: #222;
}

.vb-features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.vb-features-list li {
    font-size: 1.1rem;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #444;
}

.vb-features-list i {
    color: #333; /* Komolyabb, sötét ikonok */
    font-size: 1.3rem;
}

.vb-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #222;
}

.vb-contact-link {
    display: block;
    font-size: 1.2rem;
    color: #333;
    text-decoration: none;
    margin-bottom: 12px;
    transition: 0.3s;
    font-weight: 600;
}

.vb-contact-link:hover {
    color: #000;
    transform: translateX(5px);
}

/* Űrlap kártya stílusa */
.vb-modern-form {
    background: #fff;
    padding: 45px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-top: 5px solid #222;
}

.vb-input-group {
    margin-bottom: 20px;
}

.vb-modern-form input,
.vb-modern-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Kanit', sans-serif;
    outline: none;
    background-color: #fafafa;
    transition: 0.3s;
}

.vb-modern-form input:focus,
.vb-modern-form textarea:focus {
    border-color: #222;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.vb-modern-form textarea {
    height: 140px;
    resize: none;
}

.vb-submit-btn {
    width: 100%;
    padding: 16px;
    background: #222;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vb-submit-btn:hover {
    background: #000;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Mobilos nézet */
@media (max-width: 768px) {
    .vb-contact-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .vb-features-list li {
        justify-content: center;
    }
    .vb-modern-form {
        padding: 30px 20px;
    }
    .vb-section-title {
        font-size: 2.2rem;
    }
}

/* --- LÁBLÉC TELJES DESIGN --- */
.vb-footer-section {
    background-color: #222; /* Sötét háttér */
    color: #fff;
    padding: 60px 0 0 0;
    font-family: 'Kanit', sans-serif;
}

.vb-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    /* Automatikus elrendezés: mobilon 1, asztalin 4 oszlop */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding: 0 20px 40px 20px;
}

.vb-footer-column {
    display: flex;
    flex-direction: column;
}

.vb-footer-logo {
    max-height: 70px;
    width: auto;

    margin-bottom: 15px;
    object-fit: contain;
    display: block;
}

.vb-company-name {
    font-weight: bold;
    font-size: 1.1rem;
    color: #fff;
    margin: 0;
    text-align: center;
}

.vb-footer-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
    font-family: 'Archivo Black', sans-serif;
}

/* Kis dekorációs vonal a címek alatt */
.vb-footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: #555;
}

.vb-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vb-footer-links li {
    margin-bottom: 12px;
    padding: 0;
}

.vb-footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.95rem;
}

.vb-footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.vb-social-icons {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.vb-social-icons a {
    color: #fff;
    font-size: 22px;
    transition:
        transform 0.3s,
        color 0.3s;
}

.vb-social-icons a:hover {
    transform: translateY(-5px);
    color: #bbb;
}

.vb-footer-info {
    font-size: 0.9rem;
    color: #eeeeee;
    margin-top: 5px;
}

/* Alsó fekete sáv */
.vb-sub-footer {
    background: #1a1a1a;
    text-align: center;
    padding: 20px;
    font-size: 0.85rem;
    color: #ffffff;
    border-top: 1px solid #333;
}

/* Mobilos igazítás középre */
@media (max-width: 768px) {
    .vb-footer-container {
        text-align: center;
    }
    .vb-footer-column {
        align-items: center;
    }
    .vb-footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .vb-social-icons {
        justify-content: center;
    }
}

/* --- SZOLGÁLTATÁSOK TARTALOM IGAZÍTÁSA --- */
.vb-services-section {
    padding: 80px 0;
    background-color: #fff;
    width: 100%;
}

.vb-container {
    max-width: 1100px; /* Ez korlátozza a szélességet */
    margin: 0 auto; /* Ez rakja középre */
    padding: 0 20px; /* Mobilon ne érjen ki a szélére */
}

.vb-main-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-family: 'Archivo Black', sans-serif;
}

.vb-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.vb-info-card {
    background: #fdfdfd;
    padding: 35px;
    border-radius: 15px;
    border-left: 6px solid #333;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
    width: 100%; /* Kitölti a container szélességét */
}

.vb-info-card:hover {
    transform: translateX(10px);
}

/* --- SZUPER-MODERN LEBEGŐ NAVIGÁCIÓ (vbm-) --- */
.vbm-floating-header {
    position: fixed;
    top: 25px; /* Lebegés a tetejétől */
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10000;
    pointer-events: none; /* Hogy a széleken is lehessen kattintani a háttérre */
}

.vbm-nav-pill {
    pointer-events: auto; /* A menü maga kattintható */
    background: rgba(255, 255, 255, 0.75); /* Üveghatás alapja */
    backdrop-filter: blur(12px); /* Elmosódott háttér */
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 100px; /* Kapszula alak */
    padding: 8px 12px 8px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 1100px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    z-index: 100000;
}

/* Logó méretezése */
.vbm-logo-link img {
    height: 45px;
    width: auto;
    filter: invert(1); /* Fekete logóból fehér (vagy fordítva a stílustól függően) */
    display: block;
    transition: transform 0.3s;
}

.vbm-logo-link:hover img {
    transform: scale(1.05);
}

/* Menüpontok listája */
.vbm-menu-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
    align-items: center;
    z-index: 100001;
}

.vbm-link {
    text-decoration: none;
    color: #222;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 15px;
    transition: 0.3s;
}

.vbm-link:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #000;
}

/* Kiemelt Ajánlatkérő Gomb */
.vbm-btn-cta {
    text-decoration: none;
    background: #111;
    color: #fff !important;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    transition: 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-left: 10px;
}

.vbm-btn-cta:hover {
    background: #ff6600; /* Vagy a logód színe */
    color: #fff !important;
    transform: translateY(-3px); /* Kicsit megemelkedik */
    box-shadow: 0 8px 20px rgba(255, 102, 0, 0.3); /* Színesebb árnyék */
}

.vb-honey-trap {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

/* Mobil Menü Ikon */
.vbm-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    cursor: pointer;
}

.vbm-burger span {
    width: 25px;
    height: 3px;
    background: #222;
    border-radius: 5px;
}

/* Reszponzív nézet */
@media (max-width: 850px) {
    .vbm-burger {
        display: flex;
    }

    .vbm-menu-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0%;
        width: 100%;
        background: white;
        border-radius: 20px;
        padding: 20px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        gap: 15px;
    }

    .vbm-menu-list.vbm-show {
        display: flex;
    }

    .vbm-nav-pill {
        padding: 8px 15px;
    }
}

/* A kép stílusának frissítése */
.floating-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    display: block;
    margin: 0 auto;

    /* AZ ÚJ ANIMÁCIÓS SOR: */
    /* continuousFloat: az animáció neve */
    /* 6s: ennyi ideig tart egy kör (lassú és finom) */
    /* ease-in-out: lassít a mozgás elején és végén */
    /* infinite: végtelenítve fut */
    animation: continuousFloat 6s ease-in-out infinite;

    /* Opcionális: ne legyen drop-shadow a filterben, mert az animáció kezeli */
    /* filter: none; */
}

/* Folyamatos lebegő animáció meghatározása */
@keyframes continuousFloat {
    0% {
        transform: translateY(0px) rotate(0deg);
        filter: drop-shadow(15px 15px 10px rgba(0, 0, 0, 0.2));
    }
    50% {
        /* Felmegy 15 pixelt és picit elfordul */
        transform: translateY(-15px) rotate(1deg);
        /* Az árnyék is lágyabb lesz, ahogy távolodik */
        filter: drop-shadow(20px 25px 15px rgba(0, 0, 0, 0.15));
    }
    100% {
        transform: translateY(0px) rotate(0deg);
        filter: drop-shadow(15px 15px 10px rgba(0, 0, 0, 0.2));
    }
}

/* Burger gomb animáció */
.vbm-burger {
    transition: all 0.3s ease;
}

.vbm-burger span {
    transition: all 0.3s ease;
}

/* Ha nyitva van a menü (a JS adja hozzá a .vbm-open osztályt) */
.vbm-burger.vbm-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.vbm-burger.vbm-open span:nth-child(2) {
    opacity: 0; /* Középső csík eltűnik */
}

.vbm-burger.vbm-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- MENÜ OVERLAY --- */
.vbm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4); /* Félátlátszó fekete */
    backdrop-filter: blur(4px); /* Enyhe elmosódás a háttérnek */
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    z-index: 9998; /* A menü (10000) alatt, de a tartalom felett */
}

/* Amikor a menü nyitva van, az overlay láthatóvá válik */
.vbm-overlay.vbm-show {
    opacity: 1;
    visibility: visible;
}

/* Toast Üzenet Stílusa */
.vb-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #111;
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 600;
}

.vb-toast.show {
    transform: translateX(-50%) translateY(0);
}

.vb-toast.error {
    background: #e74c3c;
}

.vb-toast.success {
    background: #27ae60;
}

/* Hiba jelzése az űrlapon */
.error-border {
    border: 2px solid #e74c3c !important; /* Erős piros szín */
    background-color: #fdf2f2; /* Halvány piros háttér, hogy feltűnőbb legyen */
}

/* Finom átmenet az animációhoz */
.vb-modern-form input,
.vb-modern-form textarea {
    transition:
        border-color 0.3s ease,
        background-color 0.3s ease;
}

/* Csak a legkülső keretet korlátozzuk */
html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Itt nem bántja az árnyékokat */
}

/* Ha az AOS még mindig tágítaná az oldalt, 
   ez a globális wrapper megállítja, de hagy helyet az árnyéknak */
body {
    position: relative;
}

@media (max-width: 768px) {
    #sr-gdpr-box {
        width: 100% !important;
        bottom: 0px !important;
        right: 0px !important;
        border-radius: 0px !important;
        z-index: 2147483001;
    }

    #sr-accessibility-toggle {
        z-index: 9999998 !important;
    }
}
