/* ==========================================================================
   1. GOOGLE FONTS IMPORT (KÖTELEZŐEN AZ ELSŐ SORBAN!)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@1,800&display=swap');

/* ALAPOK - Vagány, dőlt, modern Montserrat betűtípus */
html, body { 
    background-color: #000000 !important; 
    color: #00BFFF !important; 
    margin: 0; padding: 0; 
    scroll-behavior: smooth;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    font-style: italic !important;
    overflow-x: hidden;
}

/* VÁLTAKOZÓ SZEKCIÓ SZÍNEK */
.section:nth-of-type(odd) { background-color: #000000 !important; }
.section:nth-of-type(even) { background-color: #020221 !important; }

.section { 
    padding: 5px 5px; 
    min-height: 60vh; width: 100%; box-sizing: border-box; 
}
.container { max-width: 1100px; margin: 0 auto; }

.section-title { 
    text-align: center; margin-bottom: 50px; font-size: 2.5rem; 
    text-transform: uppercase; color: #00e5ff; font-style: italic;
}

/* --- 2. HEADER (FIXÁLT ÉS BALRA-JOBBRA ZÁRT) --- */
.lm-header {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 80px;
    padding: 0 5% !important;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(0, 229, 255, 0.2);
}

.logo {
    display: flex;
    align-items: center;
    margin: 0 !important;
}

.logo img {
    height: 55px;
    width: auto;
}

/* ASZTALI MENÜ */
.lm-nav {
    display: flex;
    gap: 25px;
}

.lm-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: 0.3s;
}

.lm-nav a:hover {
    color: #00e5ff;
}

/* MOBIL HAMBURGER IKON */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 10001;
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #00e5ff;
    border-radius: 3px;
    transition: 0.3s;
}

/* 3. HERO SZEKCIÓ ASZTALI NÉZET - JAVÍTOTT, SZÖVEGVÁLTÓS VERZIÓ */
.hero { 
    height: 85vh;
    position: relative; 
    overflow: hidden; 
    margin-top: 1px !important; 
    background-color: #000000;
    padding: 0 !important;
}

.slide { 
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background-size: cover; 
    background-position: center; 
    opacity: 0;
    transition: opacity 1s; 
    filter: brightness(0.9) saturate(1);
    
    /* MEGOLDÁS: A flexbox-ot ide tesszük át, így a dia önmagán belül igazítja középre a szöveget! */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box;
}
.slide.active { opacity: 1; }

.hero-content { 
    position: relative; 
    z-index: 10; 
    text-align: center; 
    padding: 0 20px; 
    margin: 0 !important; /* Kivesszük a 100px-es hibás margót, ami lefelé tolta az egészet */
    width: 100%;
    max-width: 900px;
	}

/* A H1 margóinak fixálása, hogy semmi ne tolódjon el fentről */
.hero-content h1 { 
    font-size: 4rem; 
    font-style: italic; 
    font-weight: 800; 
    line-height: 1.1; 
    text-transform: uppercase; 
    margin-top: 0 !important; /* Letiltjuk a böngésző saját kitoló margóját */
    margin-bottom: 20px !important;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.color2 { color: #00e5ff; }

.hero-sub {
    color: #ffffff;
    font-size: 1.1rem;
    margin-top: 10px;
    margin-bottom: 25px;
    font-weight: 400;
    font-style: italic;
    text-shadow: 
        1px  1px 0 #000, -1px -1px 0 #000,  
        1px -1px 0 #000, -1px  1px 0 #000,
        1px  0px 0 #000, -1px  0px 0 #000,
        0px  1px 0 #000,  0px -1px 0 #000;
}

.hero-btn { 
    display: inline-block; 
    padding: 18px 45px; 
    background: #00e5ff; 
    color: #000; 
    text-decoration: none; 
    margin-top: 20px;
    font-weight: 900; 
    border-radius: 50px; 
    transition: 0.3s;
    font-style: normal !important;
}
.hero-btn:hover { background: #00BFFF; color: #fff; transform: scale(1.05); }

.hero-prev, .hero-next {
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%);
    background: rgba(0,229,255,0.1); 
    border: 1px solid #00e5ff; 
    color: #00e5ff;
    padding: 15px; 
    cursor: pointer; 
    z-index: 100;
}
.hero-prev { left: 20px; } 
.hero-next { right: 20px; }

/* 4. SZOLGÁLTATÁSOK */
.grid-layout { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 25px; 
}

.card-box { 
    position: relative; 
    height: 320px; 
    border: 1px solid #00e5ff; 
    border-radius: 15px; 
    background: #000; 
    overflow: hidden; 
}

.service-img-container img { 
    width: 100%; height: 100%; object-fit: cover; display: block;
}

.service-text { 
    position: absolute; bottom: 0; left: 0; width: 100%; 
    background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.4) 70%, transparent 100%);
    padding: 20px; text-align: center; box-sizing: border-box;
}

.service-text h3 { margin: 0; color: #00e5ff; font-style: italic; text-transform: uppercase; }
.service-text p { margin: 5px 0 0; color: #fff; font-size: 0.9rem; font-weight: normal; }

/* 5. ÁRAK TÁBLÁZAT */
.price-table-wrapper { max-width: 850px; margin: 0 auto; overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; background: #050505; border: 1px solid #00e5ff; border-radius: 15px; overflow: hidden; }
.price-table th { background: #00e5ff; color: #000; padding: 15px; text-align: left; }
.price-table td { padding: 15px; border-bottom: 1px solid #111; color: #fff; }
.service-price { text-align: right; color: #00e5ff; font-weight: bold; }

/* 6. REFERENCIA SLIDER */
.ref-slider-wrapper { position: relative; width: 100%; margin-top: 30px; }
.ref-slider-container { overflow: hidden; width: 100%; }
.ref-track { display: flex; gap: 20px; transition: transform 0.5s ease-in-out; }
.ref-card { min-width: calc(33.333% - 14px); max-width: calc(33.333% - 14px); }
.ref-card img { width: 100%; height: 280px; object-fit: cover; border: 1px solid #00e5ff; border-radius: 15px; }

.ref-prev, .ref-next {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7); border: 1px solid #00e5ff; color: #00e5ff;
    width: 45px; height: 45px; border-radius: 50%; cursor: pointer; z-index: 10;
    display: flex; align-items: center; justify-content: center;
}
.ref-prev { left: -20px; } .ref-next { right: -20px; }

/* 7. TECHNOLÓGIA / GYIK */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid #00e5ff; margin-bottom: 10px; border-radius: 10px; background: #050505; }
.faq-question { padding: 20px; cursor: pointer; display: flex; justify-content: space-between; font-weight: bold; }
.faq-answer { 
    padding: 0 20px; max-height: 0; overflow: hidden; transition: 0.3s; 
    text-align: justify; line-height: 1.6;
	color: #ffffff !important;
}
.faq-item.active .faq-answer { padding: 20px; max-height: 500px; border-top: 1px solid #111; }

.tech-table-wrapper { margin-top: 50px; overflow-x: auto; }
.comparison-table { width: 100%; border-collapse: collapse; background: #050505; color: #fff; }
.comparison-table th, .comparison-table td { padding: 15px; border: 1px solid #222; text-align: left; }
.comparison-table .highlight { background: rgba(0, 229, 255, 0.05); color: #00e5ff; font-weight: bold; }

/* 8. MODERN KAPCSOLAT KÁRTYÁK */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background: linear-gradient(145deg, #0a0a0a, #111);
    border: 1px solid #00e5ff;
    border-radius: 30px;
    padding: 20px 25px;
    text-align: center;
    transition: 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 130px;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.2);
    background: #0d0d0d;
}

.contact-icon {
    width: 40px;
    height: 40px;
    color: #00e5ff;
    margin-bottom: 10px;
}

.contact-card h3 {
    text-transform: uppercase;
    font-style: italic;
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #fff;
}

.contact-link a {
    color: #00e5ff;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: bold;
}

.sub-text {
    font-size: 0.9rem;
    color: #888;
    margin-top: 10px;
}

.region-highlight {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #222;
    width: 100%;
}

.region-highlight span {
    font-size: 0.8rem;
    color: #00e5ff;
    display: block;
    margin-bottom: 8px;
}

.region-highlight ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.region-highlight li {
    background: rgba(0, 229, 255, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #fff;
}

.lm-footer { padding: 50px; text-align: center; background: #050505; border-top: 1px solid #111; }
.social-icons img { width: 35px; height: 35px; margin: 0 10px; }

/* FOOTER LINK STÍLUS */
.footer-link {
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 600;
    transition: 0.3s ease;
}

.footer-link:hover {
    color: #00e5ff !important;
}

/* SÜTI TÁJÉKOZTATÓ */
#cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background: rgba(5, 5, 5, 0.95);
    border: 1px solid #00e5ff;
    border-radius: 15px;
    padding: 20px;
    z-index: 10002;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

#cookie-banner p {
    color: #fff;
    font-size: 0.85rem;
    margin-bottom: 15px;
    line-height: 1.4;
    font-family: sans-serif;
}

#cookie-banner .cookie-btn {
    background: #00e5ff;
    color: #000;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

#cookie-banner .cookie-btn:hover {
    background: #fff;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    #cookie-banner {
        width: 95%;
        bottom: 10px;
        padding: 15px;
    }
}

/* ==========================================================================
   9. FINOMHANGOLT MOBIL NÉZET SZABÁLYAI (768px ALATT)
   ========================================================================== */
@media (max-width: 768px) {
    /* ATOMBIZTOS REZONZÍV FIX FEJLÉC */
    .lm-header { 
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 70px !important; 
        padding: 0 20px !important; 
        background: #000000 !important;
        border-bottom: 1px solid #00e5ff !important;
        z-index: 9999 !important;
    }
    .logo img { height: 40px !important; width: auto !important; }
    
    .menu-toggle { display: flex !important; }

    /* BEÚSZÓ MENÜ STÍLUSA MOBILON */
    .lm-nav {
        position: fixed;
        top: 0;
        right: -100%; 
        width: 80%;
        height: 100vh;
        background: #050505;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 35px;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 10000;
        box-shadow: -10px 0 30px rgba(0,0,0,0.8);
    }
    .lm-nav.active { right: 0; }
    .lm-nav a { font-size: 1.4rem; width: 100%; text-align: center; font-style: normal !important; }

    /* HERO DOBOZ FIXÁLÁSA: GAP ELLENI VÉDELEMMEL */
    .hero { 
        margin-top: 0 !important; /* Erőszakkal feltoljuk a kijelző tetejére, így a GAP = 0 */
        height: 60vh !important; /* Szép, tágas magasság mobilon */
        min-height: 420px !important; /* Megakadályozza az összenyomódást PC Dev Tools-on is */
        padding: 0 !important;
    }

    /* CSÚSZDÁK (SLIDE-OK) MOZGATÁSA: KAPCSOLJUK LE A ZOOMOT, MARADJ A BAL SZÉLEN! */
    .slide {
        background-size: auto 100% !important; /* Fix magasság, nincs eltorzított zoom */
        background-repeat: no-repeat !important;
        background-position: 37% center !important; /* TE biztosan bent maradsz, az autó meg levágódik jobbra */
    }

    /* SZÖVEG ÉS GOMB POZÍCIONÁLÁSA */
    .hero-content { 
        position: absolute !important; 
        z-index: 10; 
        text-align: center !important; 
        padding: 0 15px !important; 
        margin: 0 !important; /* Kiszedjük az asztali zavaró margót */
        width: 95% !important;
        box-sizing: border-box !important;
        
        /* ITT TUDOD FEL-LE MOZGATNI AZ EGÉSZ BLOKKOT:
           Ha lejjebb akarod: 60% vagy 65%. Ha fentebb: 50% vagy 45% */
        top: 55% !important; 
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
    }

    .hero-content h1 { 
        font-size: 1.8rem !important; 
        line-height: 1.2 !important;
        margin-bottom: 12px !important;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 1) !important;
    }
    
    .hero-sub {
        font-size: 0.85rem !important;
        margin-top: 0 !important;
        margin-bottom: 20px !important;
        line-height: 1.4 !important;
        display: block !important;
        text-shadow: 1px 1px 5px rgba(0, 0, 0, 1) !important;
    }

    .hero-btn {
        padding: 12px 28px !important;
        font-size: 0.85rem !important;
        margin-top: 5px !important;
        display: inline-block !important;
        font-style: normal !important;
    }
    
    /* TOVÁBBI ELEMEK RESZPONZÍV IGAZÍTÁSA */
    .grid-layout, .contact-grid { grid-template-columns: 1fr !important; gap: 15px !important; }
    .section { min-height: auto !important; padding: 40px 15px !important; }
    .section-title { font-size: 1.8rem !important; margin-bottom: 30px; }
    .contact-card { min-height: auto !important; padding: 25px 15px !important; }
    .contact-link a { font-size: 1.1rem !important; }
    
    .ref-card { min-width: 100%; max-width: 100%; }
    .ref-prev { left: 5px; }
    .ref-next { right: 5px; }
}