/* css/style.css - VÉGLEGES STÍLUSOK */
html { overflow-y: scroll; scrollbar-gutter: stable; scroll-behavior: smooth; }

:root { 
    --primary: #003366; 
    --secondary: #0088a8; 
    --accent-text: #b86b00; 
    --accent-bg: #ff9900;   
    --dark: #1a1a1a; 
    --light: #f8f9fa; 
    --white: #ffffff; 
    --success: #28a745; 
    --pdf-red: #e74c3c; 
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, sans-serif; }
body { background-color: var(--light); color: var(--dark); line-height: 1.6; }

/* NAVIGÁCIÓ */
nav { background: var(--primary); color: var(--white); padding: 1rem 5%; position: sticky; top: 0; z-index: 1000; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 2px 10px rgba(0,0,0,0.3); flex-wrap: wrap; }
.logo { font-size: 1.4rem; font-weight: bold; border-left: 4px solid var(--secondary); padding-left: 10px; }
.nav-links { display: flex; list-style: none; align-items: center; }
.nav-links li { margin-left: 20px; }
.nav-links a { color: var(--white); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: var(--secondary); }

.market-link { border: 1px solid var(--secondary); padding: 5px 10px; border-radius: 4px; background: rgba(0, 136, 168, 0.15); }
.market-link:hover { background: var(--secondary) !important; color: white !important; }

.dropdown { position: relative; display: inline-block; margin-left: 20px; border-left: 1px solid #444; padding-left: 20px; }
.dropbtn { background-color: transparent; color: white; padding: 5px 10px; font-size: 0.8rem; border: 1px solid var(--secondary); border-radius: 4px; cursor: pointer; font-weight: bold; min-width: 60px; }
.dropdown-content { display: none; position: absolute; right: 0; top: 100%; background-color: #ffffff; min-width: 160px; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); z-index: 1001; border-radius: 4px; max-height: 400px; overflow-y: auto; }
.dropdown-content a { color: #333; padding: 10px 15px; text-decoration: none; display: block; font-size: 0.75rem; border-bottom: 1px solid #eee; text-align: left; }
.dropdown-content a:hover { background-color: var(--light); color: var(--secondary); }
.dropdown:hover .dropdown-content { display: block; }
.active-lang { background-color: #eee; font-weight: bold; color: var(--secondary) !important; }

.lang-hu, .lang-en, .lang-es, .lang-de, .lang-fr, .lang-it, .lang-cz, .lang-pl, .lang-ro, .lang-ru, .lang-tr, .lang-sk, .lang-sv, .lang-no, .lang-fi, .lang-nl, .lang-dk, .lang-pt { display: none; }

/* HERO & GENERAL */
.hero { background: linear-gradient(rgba(0,51,102,0.85), rgba(0,51,102,0.85)), url('../images/hero-bg.avif'); background-size: cover; background-position: center; height: 40vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: var(--white); padding: 0 10%; }
.hero h1 { font-size: 2.2rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 1px; }
.hero p { font-size: 1.1rem; max-width: 900px; color: #d1d1d1; }

.container { max-width: 1200px; margin: 60px auto; padding: 0 20px; }
.section-title { text-align: center; margin-bottom: 40px; position: relative; padding-bottom: 15px; color: var(--primary); }
.section-title::after { content: ''; width: 60px; height: 4px; background: var(--secondary); position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin-bottom: 60px; }
.service-card { background: var(--white); padding: 30px; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border-top: 4px solid var(--secondary); transition: transform 0.3s; }
.service-card:hover { transform: translateY(-5px); }
.service-card h3 { color: var(--primary); margin-bottom: 15px; }

/* PROJEKTEK */
.project-list { list-style: none; display: grid; grid-template-columns: 1fr; gap: 15px; }
.project-item { background: var(--white); padding: 20px; border-radius: 6px; border-left: 5px solid var(--secondary); display: flex; justify-content: space-between; align-items: center; box-shadow: 0 2px 5px rgba(0,0,0,0.05); flex-wrap: wrap; gap: 15px; }
.project-info { flex: 1; min-width: 250px; display: flex; align-items: center; }

.prototype-tag { background: var(--accent-bg); color: #000; padding: 2px 8px; border-radius: 4px; font-size: 0.65rem; font-weight: bold; text-transform: uppercase; margin-right: 15px; min-width: 90px; text-align: center; display: inline-block; }

.button-group { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.details-btn { cursor: pointer; background: var(--secondary); color: white; padding: 8px 18px; border-radius: 4px; font-size: 0.8rem; font-weight: bold; border: none; transition: 0.3s; text-decoration: none; white-space: nowrap; }
.details-btn:hover { background: var(--primary); }

.pdf-group { display: flex; align-items: center; gap: 5px; background: #eee; padding: 3px; border-radius: 4px; border: 1px solid #ddd; }
.pdf-select { font-size: 0.75rem; padding: 4px; border: 1px solid #ccc; border-radius: 3px; background: white; cursor: pointer; max-width: 60px; }
.pdf-go-btn { cursor: pointer; background: var(--pdf-red); color: white; border: none; padding: 4px 8px; border-radius: 3px; font-size: 0.9rem; transition: 0.3s; }
.pdf-go-btn:hover { background: #c0392b; }

/* --- SZOFTVER SZEKCIÓ & GALÉRIA --- */
.software-wrapper {
    background: linear-gradient(180deg, #ffffff 0%, #f4f8fb 100%);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    overflow: hidden;
    margin-bottom: 60px;
    border: 1px solid #eef2f5;
}

.software-hero { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 0; min-height: 500px; }
.soft-content { flex: 1; min-width: 320px; padding: 50px; z-index: 2; }
.soft-visual {
    flex: 1.3; min-width: 350px; height: 100%; background: #eef2f5; 
    display: flex; align-items: center; justify-content: center; padding: 40px; position: relative;
    background-image: radial-gradient(#cbd4e3 1.5px, transparent 1.5px); background-size: 24px 24px;
}

.main-window {
    background: #1e1e1e; border-radius: 8px; box-shadow: -20px 30px 60px rgba(0,0,0,0.3);
    overflow: hidden; border: 1px solid #444; transition: transform 0.4s ease; width: 100%; max-width: 700px;
}
.main-window:hover { transform: scale(1.02) translateY(-5px); }

.window-header { background: #2d2d2d; padding: 8px 12px; border-bottom: 1px solid #444; display: flex; gap: 6px; align-items: center; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #ff5f56; } .yellow { background: #ffbd2e; } .green { background: #27c93f; }
.win-title { color: #888; font-family: monospace; font-size: 0.8rem; margin-left: 10px; }

.app-img { width: 100%; height: auto; display: block; }

/* GALÉRIA RÉSZ */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: #e0e6ed; border-top: 1px solid #e0e6ed; }
.feature-card { background: #fff; padding: 30px; display: flex; align-items: flex-start; gap: 20px; transition: 0.3s; }
.feature-card:hover { background: #fcfdfe; }
.feat-img-box { flex: 1; max-width: 250px; border-radius: 6px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.1); border: 1px solid #eee; }
.feat-text { flex: 1.2; }
.feat-text h4 { color: var(--primary); margin-bottom: 8px; }
.feat-text p { font-size: 0.9rem; color: #666; }

/* LEBEGŐ CÍMKÉK */
.tag-float {
    position: absolute; background: var(--accent-bg); color: #000;
    padding: 6px 14px; border-radius: 20px; font-size: 0.8rem; font-weight: bold;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); z-index: 10;
}
.tf-1 { top: 30px; right: 30px; }
.tf-2 { bottom: 30px; left: 30px; background: #28a745; color: white; }

.pdf-selector-container { margin-top: 20px; padding-top: 15px; border-top: 1px solid #eee; }
.verification-info { margin-top: 20px; padding: 15px; background: #fff; border: 1px solid #eee; border-radius: 8px; font-size: 0.85rem; display: flex; align-items: center; gap: 15px; }
.hash-code { font-family: 'Consolas', monospace; background: #f0f0f0; padding: 2px 5px; border-radius: 3px; font-size: 0.72rem; color: #222; word-break: break-all; }

/* LIGHTBOX */
.img-clickable { cursor: zoom-in; transition: transform 0.2s; }
.img-clickable:hover { transform: scale(1.02); opacity: 0.95; }
#imageModal { display: none; position: fixed; z-index: 3000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.9); align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; }
#imageModal.show { display: flex; opacity: 1; }
.modal-img { max-width: 95%; max-height: 95vh; border-radius: 4px; box-shadow: 0 0 20px rgba(0,0,0,0.5); transform: scale(0.9); transition: transform 0.3s; }
#imageModal.show .modal-img { transform: scale(1); }
.close-img { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 40px; font-weight: bold; cursor: pointer; transition: 0.3s; z-index: 3001; }
.close-img:hover { color: var(--accent-bg); }

/* MODAL */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.7); align-items: center; justify-content: center; }
.modal-content { background-color: var(--white); padding: 20px; border-radius: 12px; max-width: 1100px; width: 95%; height: 85vh; display: flex; flex-direction: column; position: relative; }
#projectFrame { width: 100%; flex-grow: 1; border: 1px solid #ddd; margin-top: 10px; }

footer { background: var(--primary); color: #ccc; text-align: center; padding: 30px; margin-top: 60px; font-size: 0.9rem; }
#jumpToBottom { position: fixed; bottom: 20px; right: 20px; background: var(--accent-text); color: white; padding: 10px; border-radius: 50px; cursor: pointer; z-index: 999; font-size: 0.7rem; font-weight: bold; display: none; }

@media screen and (max-width: 900px) {
    nav { flex-direction: column; padding: 1rem; justify-content: center; }
    .logo { width: 100%; text-align: center; margin-bottom: 1rem; border-left: none; border-bottom: 2px solid var(--secondary); padding-bottom: 5px; }
    .nav-links { flex-wrap: wrap; justify-content: center; width: 100%; margin-bottom: 1rem; }
    .nav-links li { margin: 5px 10px; }
    .dropdown { margin: 0; margin-top: 5px; border-left: none; width: 100%; text-align: center; }
    .dropdown-content { left: 50%; transform: translateX(-50%); }
    .hero { height: auto; padding: 60px 20px; }
    .hero h1 { font-size: 1.8rem; }
    .software-hero { flex-direction: column-reverse; }
    .soft-visual { width: 100%; padding: 20px; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-card { flex-direction: column; }
    .feat-img-box { max-width: 100%; }
}