/* --- 1. ALAPBEÁLLÍTÁSOK ÉS RESET --- */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Megakadályozza a vízszintes kilógást */
}

body {
    display: flex;
    flex-direction: column;
    background-color: #1a1a1a; /* Mélyszürke háttér */
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    min-height: 100vh;
}

/* --- 2. NAVIGÁCIÓS SÁV (STICKY NAVBAR) --- */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: rgba(255, 230, 0, 0.95); /* Kleithron sárga, enyhe áttetszőséggel */
    backdrop-filter: blur(10px); /* Modern üveghatás */
    z-index: 1000;
    padding: 12px 0;
    border-bottom: 2px solid #000000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

/* A Logó "Matrica" effektusa */
.nav-logo img {
    height: 42px; 
    width: auto;
    background-color: #000000; /* Fekete matrica alap */
    border-radius: 25px;       /* Lekerekített forma */
    padding: 6px 16px;         /* Itt kapja meg a logó a fehér/fekete keretet */
    display: block;
}

.login-btn {
    background-color: #000000; 
    color: #ffffff;
    border: none;
    padding: 10px 22px;
    font-weight: 700;
    border-radius: 25px;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.login-btn:hover {
    background-color: #323232;
    transform: translateY(-2px);
}

/* --- 3. FŐ TARTALOM (HERO SECTION) --- */
.container { 
    
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: calc(80vh - 70px); /* Függőlegesen középre igazítja a tartalmat */
    flex: 1;
}

h1 {
    margin-bottom: 0;
}

p { 
    font-weight: 300; 
    font-size: 1.1rem; 
    letter-spacing: 3px; 
    text-transform: uppercase; 
    margin-top: 0px;
    opacity: 0.6; 
}

/* --- 4. FOOTER --- */
footer {
    width: 100%;
    padding: 40px 0 20px 0;
    font-size: 0.8rem;
    opacity: 0.4;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- 5. MOBIL NÉZET (JAVÍTÁSOK) --- */
@media only screen and (max-width: 768px) {
    
    /* Itt javítottuk: div helyett .container, így a navbar tapad a tetejére! */
    .container {
        width: 95%; 
        margin: 40px auto 0 auto; /* Csak annyi hely, hogy ne legyen túl közel a navbarhoz */
        min-height: auto;
    }

    h1 {
        font-size: 2.5rem;
    }

    /* Csak a fő tartalomban lévő képeket méretezi át */
    .container img {
        width: auto;    
        height: 70%;
    }

    .nav-container {
        padding: 0 15px;
    }

    .nav-logo img {
        height: 32px; /* Mobilon kecsesebb logó */
        padding: 5px 12px;
    }

    .login-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .hero-logo img {
        width: 100%;
        max-width: 500px; /* Asztali gépen ekkora lesz a nagy logó */
        height: auto;
        margin-bottom: 20px;
    }
}