/* Alapvető beállítások */
html {
    scroll-behavior: smooth; /* Sima, animált görgetés a menüpontok között */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
}

/* Navigáció */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky; /* Fent marad a menü görgetés közben is */
    top: 0;
    z-index: 1000;
    padding: 20px 50px;
    background-color: #111111;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo span {
    color: #ff0000;
}

/* Középre igazított menüsor */
.nav-links {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

/* Animáció a menüsor linkjeinek (piros vonal növekedése alul) */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ff0000;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #ff0000;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Nyelvváltó gomb dizájnja */
#lang-btn {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ff0000;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

#lang-btn:hover {
    background-color: #ff0000;
    color: #ffffff;
}

/* Kiemelt (Hero) Szekció */
.hero {
    height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9)), url('https://via.placeholder.com/1920x1080/222222/ff0000?text=VR+Szimulátor+Háttér') no-repeat center center/cover;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero h1 span {
    color: #ff0000;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 30px;
    color: #cccccc;
}

.btn {
    display: inline-block;
    background-color: #ff0000;
    color: #ffffff;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: #cc0000;
    transform: scale(1.05);
}

/* Jellemzők (Features) Szekció */
.features {
    padding: 100px 20px;
    text-align: center;
}

.features h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.features-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: #111111;
    border: 1px solid #333;
    border-top: 4px solid #ff0000;
    padding: 30px;
    width: 300px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: #ff0000;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: #ff0000;
}

/* Képek és Videók (Gallery) Szekció */
.gallery {
    padding: 100px 20px;
    background-color: #0a0a0a;
    text-align: center;
}

.gallery h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.gallery-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid #222;
    transition: border-color 0.3s ease;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 360px;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    border-color: #ff0000;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Kapcsolat / CTA Szekció */
.cta {
    background-color: #ff0000;
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
}

.cta h2 {
    margin-bottom: 20px;
}

.cta .btn-dark {
    background-color: #000000;
    color: #ffffff;
    margin-top: 20px;
}

.cta .btn-dark:hover {
    background-color: #222222;
}


/* Details Szekció */
.det {
    background-color: #1d1d1d;
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
}

.det h2 {
    margin-bottom: 20px;
}

.det .btn-dark {
    background-color: #000000;
    color: #ffffff;
    margin-top: 20px;
}

.det .btn-dark:hover {
    background-color: #222222;
}


/* Lábjegyzet */
footer {
    text-align: center;
    padding: 20px;
    background-color: #111111;
    font-size: 0.9rem;
    color: #888888;
}

/* Mobil reszponzivitás a menühöz */
@media (max-width: 768px) {
    nav {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    .nav-links {
        position: static;
        transform: none;
        left: auto;
        top: auto;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
}