/* Google Fonts importálása */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

/* ======================================== */
/* === ALAP BEÁLLÍTÁSOK ÉS VÁLTOZÓK (CYBERPUNK) === */
/* ======================================== */
:root {
    --cyber-cyan: #00f2ea;
    --cyber-magenta: #ff00ff;
    --cyber-dark-bg: #0a0a14;
    --cyber-lighter-bg: #1c1c24;
    --text-color: #f0f0f0;
    
    --header-height-mobile: 60px;
    --nav-height-mobile: 65px;
    --header-height-desktop: 56px;
}

/* ======================================== */
/* === ÁLTALÁNOS TARTALMI ELEMEK STÍLUSA === */
/* ======================================== */
.lead.text-muted,
.text-muted {
    color: rgba(0, 242, 234, 0.6) !important; 
    font-weight: 300;
}

.text-center.mb-5 {
    position: relative;
    padding-bottom: 2rem;
    margin-bottom: 2rem !important;
}
.text-center.mb-5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(0, 242, 234, 0.2);
}
.fooldal-anim-container + .text-center.mb-5::after {
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    max-width: 400px;
}

/* RAGADÓS (STICKY) FOOTER BEÁLLÍTÁSOK */
html { 
    height: 100%; 
}
body { 
    font-family: 'Roboto', sans-serif; 
    background-color: var(--cyber-dark-bg); 
    color: var(--text-color); 
    padding-top: var(--header-height-mobile); 
    padding-bottom: var(--nav-height-mobile); 
    min-height: 100%; 
    display: flex; 
    flex-direction: column; 
}
main { 
    background-color: var(--cyber-lighter-bg); 
    border-top: 1px solid var(--cyber-cyan); 
    border-bottom: 1px solid var(--cyber-cyan); 
    flex-grow: 1; 
}

/* ======================================== */
/* === CYBERPUNK STÍLUSJEGYEK === */
/* ======================================== */
h1, h2, h3, .text-primary { text-transform: uppercase; color: var(--cyber-cyan); text-shadow: 0 0 5px var(--cyber-cyan), 0 0 10px var(--cyber-cyan), 0 0 20px var(--cyber-magenta); }
h4, h5 { text-transform: uppercase; color: var(--cyber-cyan); text-shadow: 0 0 3px var(--cyber-cyan), 0 0 8px rgba(0, 242, 234, 0.5); }
.btn-primary { background-color: var(--cyber-cyan); border-color: var(--cyber-cyan); color: var(--cyber-dark-bg) !important; font-weight: bold; text-transform: uppercase; border-radius: 0; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); transition: all 0.2s ease-in-out; box-shadow: 0 0 10px var(--cyber-cyan); }
.btn-primary:hover { background-color: var(--cyber-magenta); border-color: var(--cyber-magenta); color: var(--text-color) !important; transform: translateY(-3px); box-shadow: 0 0 20px var(--cyber-magenta); }
.btn-outline-primary { color: var(--cyber-cyan); border: 1px solid var(--cyber-cyan); border-radius: 0; text-transform: uppercase; }
.btn-outline-primary:hover { color: #000; background-color: var(--cyber-cyan); border-color: var(--cyber-cyan); box-shadow: 0 0 15px var(--cyber-cyan); }

/* ======================================== */
/* === FEJLÉC ÉS LÁBLÉC === */
/* ======================================== */
.mobile-header, .desktop-footer, .mobile-nav { border-color: var(--cyber-cyan) !important; }
.mobile-header { background-color: rgba(10, 10, 20, 0.8); backdrop-filter: blur(8px); height: var(--header-height-mobile); display: flex; justify-content: space-between; align-items: center; padding: 0 1rem; border-bottom: 1px solid; }
.mobile-header-icons { display: flex; align-items: center; }
.mobile-header .header-icon { font-size: 1.8rem; color: var(--text-color); text-decoration: none; transition: color 0.2s ease; }
.mobile-header .header-icon + .header-icon { margin-left: 1.25rem; }
.mobile-header .header-icon:hover { color: var(--cyber-cyan); }
.desktop-footer { 
    padding: 1.5rem 0; 
    background-color: var(--cyber-dark-bg); 
    border-top: 1px solid; 
    /* A 'position: fixed' törölve, az 'mt-auto' a HTML-ben kezeli az igazítást */
}
.desktop-footer h5 { font-size: 1.25rem; margin-top: 0; margin-bottom: 1rem; }
.mobile-nav { background-color: var(--cyber-dark-bg); height: var(--nav-height-mobile); display: flex; align-items: center; border-top: 1px solid; padding: 0 5px; }
.nav-item-mobile { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; color: #aaa; transition: color 0.2s ease; padding: 5px 2px; text-align: center; }
.nav-item-mobile i { font-size: 1.4rem; margin-bottom: 5px; height: 1.5rem; display: flex; align-items: center; }
.nav-item-mobile span { font-size: 12px; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-item-mobile:hover, .nav-item-mobile.active { color: var(--cyber-cyan); }
.desktop-footer a { text-decoration: none; transition: color 0.2s ease-in-out; }
.desktop-footer a:hover { color: var(--cyber-cyan) !important; }
.desktop-footer .row > [class*="col-"] p { margin-bottom: 0.75rem; line-height: 1.6; }
.desktop-footer .row > [class*="col-"] p:last-of-type { margin-bottom: 0; }
.offcanvas { background-color: var(--cyber-dark-bg); border-right: 1px solid var(--cyber-cyan); --bs-offcanvas-width: 200px; }
.offcanvas .offcanvas-header { padding: 0.75rem 1rem; }
.offcanvas .offcanvas-title { color: var(--cyber-cyan); text-shadow: 0 0 3px var(--cyber-cyan); font-size: 1rem; font-weight: 700; text-transform: uppercase; }
.offcanvas .border-secondary { border-color: rgba(255, 255, 255, 0.15) !important; }
.offcanvas .list-group-item-action { background-color: transparent !important; color: #aaa !important; transition: all 0.2s ease; padding: 0.5rem 1.25rem !important; font-weight: 400; text-transform: none; letter-spacing: normal; border-left: 2px solid transparent !important; font-size: 0.85rem; }
.offcanvas .list-group-item-action:hover, .offcanvas .list-group-item-action:focus { background-color: rgba(0, 242, 234, 0.05) !important; color: var(--text-color) !important; border-left-color: var(--cyber-cyan) !important; padding-left: calc(1.25rem - 2px) !important; }

/* ======================================== */
/* === HERO / BANNER ANIMÁCIÓ === */
/* ======================================== */
#hero-animation { height: 50vh; min-height: 400px; background-color: var(--cyber-dark-bg); overflow: hidden; color: var(--text-color); border-bottom: 1px solid var(--cyber-cyan); position: relative; display: flex; align-items: center; justify-content: center; }
#hero-animation::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: repeating-linear-gradient( 0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) 1px, transparent 1px, transparent 4px ); pointer-events: none; }
.hero-content { position: relative; z-index: 2; padding: 1rem; }
.hero-static-text { font-size: 1.5rem; color: #aaa; letter-spacing: 2px; text-transform: uppercase; text-shadow: none; }
.hero-animated-text { font-size: 4rem; font-weight: 700; margin-top: 1rem; height: 10rem; display: flex; align-items: center; justify-content: center; }
#animated-word .char { display: inline-block; transition: all 0.1s ease-in-out; }

/* ======================================== */
/* === SZOLGÁLTATÁS ÉS REFERENCIA KÁRTYÁK STÍLUSAI === */
/* ======================================== */
.service-card, .card.bg-dark { padding: 1.5rem; border: 1px solid #333; transition: all 0.3s ease; height: 100%; display: flex; flex-direction: column; background-color: transparent !important; }
.service-card:hover, .card.bg-dark:hover { border-color: var(--cyber-magenta); background-color: rgba(159, 0, 255, 0.05) !important; transform: translateY(-5px); }
.service-card .btn, .card.bg-dark .btn { margin-top: auto; }
.service-card h4, .service-card h5.card-title { color: var(--cyber-cyan); text-shadow: 0 0 3px var(--cyber-cyan), 0 0 8px rgba(0, 242, 234, 0.5); }

/* ======================================== */
/* === JS ANIMÁCIÓK ÁLTALÁNOS ÉS ÚJ STÍLUSAI === */
/* ======================================== */
.service-row .col-md-4 { display: flex; justify-content: center; align-items: center; }
.service-animation-container { width: 100%; aspect-ratio: 16 / 9; margin: 0 auto 1.5rem auto; display: flex; align-items: center; justify-content: center; }
.fooldal-anim-container .service-animation-container { max-width: 200px; aspect-ratio: 1 / 1; }
.service-animation-container > * { width: 100%; height: 100%; border-radius: 0; border: 1px solid var(--cyber-cyan); }
.service-animation-container > .border-magenta { border-color: var(--cyber-magenta); }
#programming-animation, #programming-animation-szolg, #programming-animation-kisokos { background-color: var(--cyber-dark-bg); color: var(--cyber-cyan); font-family: 'Courier New', Courier, monospace; font-size: 0.8rem; padding: 0.5rem; overflow-y: hidden; margin: 0; white-space: pre-wrap; }
.ai-concept-animation, .content-gen-animation { position: relative; overflow: hidden; padding: 1rem; }
.ai-concept-animation { background-color: rgba(0, 242, 234, 0.05); }
.content-gen-animation { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px; }
.concept-word { position: absolute; color: var(--cyber-cyan); font-weight: bold; font-size: 1.2rem; text-transform: uppercase; text-shadow: 0 0 5px var(--cyber-cyan); opacity: 0; animation: ai-fade-glow infinite; }
.concept-word.magenta { color: var(--cyber-magenta); text-shadow: 0 0 5px var(--cyber-magenta); }
.content-word { background-color: var(--cyber-cyan); color: var(--cyber-dark-bg); padding: 2px 6px; font-size: 0.9rem; font-weight: bold; text-transform: uppercase; opacity: 0; transform: translateY(10px); animation: fadeInWord 0.5s forwards; }

/* ======================================== */
/* === ALOLDAL SPECIFIKUS === */
/* ======================================== */
.service-row { border-bottom: 1px solid rgba(0, 242, 234, 0.2); }
.service-row > .col-md-4, .service-row > .col-md-8 { padding-top: 1rem; }
.service-row > .col-md-8 > h3:first-child { margin-top: 0; }
.contact-card { padding: 2rem; border: 1px solid #333; background-color: var(--cyber-dark-bg); transition: all 0.3s ease; }
.contact-card:hover { border-color: var(--cyber-magenta); }
.contact-card .form-control, .contact-card .form-select { background-color: var(--cyber-lighter-bg); border-color: #444; color: var(--text-color); }
.contact-card .form-control:focus, .contact-card .form-select:focus { background-color: var(--cyber-lighter-bg); border-color: var(--cyber-cyan); color: var(--text-color); box-shadow: 0 0 10px rgba(0, 242, 234, 0.5); }
.contact-card .form-select { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2300f2ea' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }
.contact-card legend { color: var(--cyber-cyan); text-shadow: 0 0 3px var(--cyber-cyan); }
.contact-card p { margin-bottom: 1rem; line-height: 1.6; }
.message-animation-container { position: relative; flex-grow: 1; min-height: 250px; margin-top: auto; display: flex; justify-content: center; align-items: center; overflow: hidden; }
.envelope { width: 240px; height: 150px; border: 4px solid var(--cyber-cyan); position: relative; box-shadow: 0 0 20px var(--cyber-cyan); }
.envelope::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-top: 75px solid transparent; border-left: 120px solid var(--cyber-dark-bg); border-right: 120px solid var(--cyber-dark-bg); }
.packet { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 30px; height: 30px; background: var(--cyber-magenta); box-shadow: 0 0 15px var(--cyber-magenta), 0 0 30px var(--cyber-magenta); opacity: 0; animation: send-packet-extralarge 4s infinite ease-out; }
.packet:nth-child(2) { animation-delay: 1s; }
.packet:nth-child(3) { animation-delay: 2s; }
.target-flash { position: absolute; top: 40%; right: 30px; width: 70px; height: 70px; border-radius: 50%; background-color: var(--cyber-cyan); transform: translate(50%, -50%) scale(0); opacity: 0; animation: target-flash-anim-extralarge 4s infinite ease-out; }
.target-flash { animation-delay: 0.5s; }

/* ======================================== */
/* === NAVIGÁCIÓ SPECIFIKUS JAVÍTÁSOK === */
/* ======================================== */
.navbar-brand { color: var(--cyber-cyan); text-shadow: 0 0 3px var(--cyber-cyan), 0 0 8px var(--cyber-magenta); font-weight: 700; transition: all 0.3s ease; font-size: 1.4rem; }
.navbar-brand:hover { color: var(--cyber-magenta); text-shadow: 0 0 5px var(--cyber-magenta), 0 0 10px var(--cyber-cyan); }
@media (min-width: 992px) { .navbar-brand { font-size: 1.6rem; } .navbar-expand-lg .navbar-nav .nav-link { padding-right: 0.7rem; padding-left: 0.7rem; } .nav-link { color: #aaa; text-transform: uppercase; font-weight: 700; letter-spacing: 1px; position: relative; transition: color 0.3s ease; } .nav-link::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 0; height: 2px; background: var(--cyber-cyan); transition: width 0.3s ease; } .nav-link:hover, .nav-link.active { color: var(--text-color); } .nav-link:hover::after, .nav-link.active::after { width: 80%; } .nav-link.btn::after { display: none; } }

/* ======================================== */
/* === MOBILNÉZETI JAVÍTÁSOK (RESPONSIVE) === */
/* ======================================== */
@media (max-width: 991.98px) { .hero-animated-text { font-size: 3rem; height: 8rem; } .hero-static-text { font-size: 1.2rem; } #hero-animation .btn { margin-top: 2rem !important; } }
@media (max-width: 767.98px) { .hero-animated-text { font-size: 2.2rem; height: 6.5rem; line-height: 1.2; } .hero-static-text { font-size: 1rem; } .service-row > .col-md-4, .service-row > .col-md-8 { padding-top: 0; } }
@media (max-width: 400px) { .hero-animated-text { font-size: 1.8rem; } }

/* ======================================== */
/* === DESKTOP NÉZET (TÖRÉSPONT) === */
/* ======================================== */
@media (min-width: 992px) {
    body {
        padding-top: var(--header-height-desktop);
        padding-bottom: 0; /* Mivel a footer már nem fix, nem kell alsó padding */
    }
}

/* ======================================== */
/* === KEYFRAME ANIMÁCIÓK === */
/* ======================================== */
@keyframes flow { from { stroke-dashoffset: 8; } to { stroke-dashoffset: 0; } }
@keyframes fadeInWord { to { opacity: 1; transform: translateY(0); } }
@keyframes blink-red { 50% { opacity: 0.3; } }
@keyframes blink-green { 50% { opacity: 0.3; } }
@keyframes glitch-top { 2%, 64% { transform: translate(2px, -2px); } 4%, 60% { transform: translate(-2px, 2px); } 62% { transform: translate(10px, -1px) skew(-13deg); } }
@keyframes glitch-bottom { 2%, 64% { transform: translate(-2px, 0); } 4%, 60% { transform: translate(-2px, 0); } 62% { transform: translate(-22px, 5px) skew(21deg); } }
@keyframes ai-fade-glow { 0% { opacity: 0; transform: scale(0.9); } 20%, 70% { opacity: 1; transform: scale(1); text-shadow: 0 0 5px currentColor, 0 0 10px currentColor; } 100% { opacity: 0; transform: scale(1.1); } }
@keyframes send-packet-extralarge { 0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; } 10% { transform: translate(-50%, -50%) scale(1.5); opacity: 1; } 40% { transform: translate(400%, -400%) scale(0.8); opacity: 1; } 49% { transform: translate(600%, -150%) scale(0.5); opacity: 0; } 100% { opacity: 0; } }
@keyframes target-flash-anim-extralarge { 49% { transform: translate(50%, -50%) scale(0); opacity: 0.5; } 50% { transform: translate(50%, -50%) scale(2.2); opacity: 1; } 55% { transform: translate(50%, -50%) scale(1); opacity: 0; } }