/* ------------------------------
   GLOBAL
--------------------------------*/
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #0c0c0f;
    color: #e5e5e5;
    margin: 0;
}

a {
    color: #4da3ff;
    text-decoration: none;
    transition: 0.2s;
}

a:hover {
    color: #82c3ff;
}

/* ------------------------------
   HEADER – SIMWORLD
--------------------------------*/
header {
    background: #11131a;
    padding: 25px;
    border-bottom: 3px solid #1f6feb;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

header h1 {
    margin: 0 0 10px 0;
    font-size: 34px;
    color: #1f6feb;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ------------------------------
   NAVIGATION – KÖZÉPRE
--------------------------------*/
nav {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 15px;
}

nav a {
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 600;
    color: #d0d0d0;
}

nav a:hover {
    background: #1f6feb;
    color: #fff;
    box-shadow: 0 3px 10px rgba(31,110,235,0.4);
}

/* ------------------------------
   LAYOUT – BAL / JOBB
--------------------------------*/
.layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 25px;
    padding: 25px;
}

/* ------------------------------
   SIDEBAR – KOMPAKT
--------------------------------*/
.left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ------------------------------
   RIGHT CONTENT
--------------------------------*/
.right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ------------------------------
   CARD – ALAP KÁRTYA
--------------------------------*/
.card {
    background: #161821;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #1f2633;
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}

.card h2, .card h3, .card h4 {
    margin-top: 0;
    color: #4da3ff;
}

/* ------------------------------
   RSS BLOKK – KESKENY
--------------------------------*/
.rss-block {
    background: #161821;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #1f6feb;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    font-size: 14px;
}

/* ------------------------------
   GALÉRIA – KICSI THUMBNAIL
--------------------------------*/
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.gallery-item {
    background: #161821;
    padding: 10px;
    border-radius: 10px;
    border-left: 4px solid #4da3ff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    text-align: center;
}

.gallery-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    cursor: pointer;
    transition: 0.2s;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* ------------------------------
   LIGHTBOX – NAGY KÉP MEGJELENÍTÉS
--------------------------------*/
#lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* ------------------------------
   FOOTER
--------------------------------*/
footer {
    background: #11131a;
    padding: 20px;
    text-align: center;
    border-top: 3px solid #1f6feb;
    color: #888;
    margin-top: 30px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.4);
}
/* LETÖLTÉSEK GRID – mint a galéria */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

/* Alap doboz */
.download-box {
    background: #161821;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    text-align: center;
}

/* Fájl – kék margó */
.download-box.file {
    border-left: 4px solid #1f6feb;
}

/* Mappa – piros margó */
.download-box.folder {
    border-left: 4px solid #ff3b3b;
}

.download-box h3 {
    margin: 0 0 10px 0;
    color: #4da3ff;
    font-size: 16px;
    word-break: break-all;
}

.download-link {
    background: #1f6feb;
    padding: 8px 12px;
    border-radius: 6px;
    color: #fff;
    font-weight: 600;
    display: inline-block;
    transition: 0.2s;
}

.download-link:hover {
    background: #4da3ff;
    box-shadow: 0 3px 10px rgba(31,110,235,0.4);
}
.tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
}

.track-box {
    background: #161821;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #00c853;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.track-img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.track-record {
    margin-top: 10px;
    padding: 10px;
    background: #1e1f29;
    border-left: 4px solid #ff9800;
    border-radius: 6px;
    color: #ddd;
}

.track-desc {
    margin-top: 10px;
    color: #aaa;
    font-style: italic;
}
.latest-project {
    display: block;
    background: #161821;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #1f6feb;
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
    color: #e5e5e5;
    text-decoration: none;
    transition: 0.25s;
}

.latest-project:hover {
    background: #1e1f29;
    transform: translateY(-4px);
}

.latest-content h4 {
    margin: 0 0 10px 0;
    font-size: 1.4rem;
    color: #4da3ff;
}

.latest-content p {
    margin: 0 0 15px 0;
    font-size: 0.95rem;
    color: #cfcfcf;
}

.btn-latest {
    display: inline-block;
    background: #1f6feb;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #fff;
    font-weight: 600;
    transition: 0.2s;
}

.latest-project:hover .btn-latest {
    background: #4da3ff;
    box-shadow: 0 3px 10px rgba(31,110,235,0.4);
}
/* ------------------------------
   HOME – FŐOLDAL KIEGÉSZÍTÉSEK
--------------------------------*/

/* Főoldali kép */
.home-image {
    width: 100%;
    border-radius: 10px;
    margin-top: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.4);
}

/* YouTube videó – reszponzív */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 arány */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.4);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Legújabb projekt blokk */
.latest-project {
    display: block;
    background: #161821;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #1f6feb;
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
    color: #e5e5e5;
    text-decoration: none;
    transition: 0.25s;
}

.latest-project:hover {
    background: #1e1f29;
    transform: translateY(-4px);
}

.latest-content h4 {
    margin: 0 0 10px 0;
    font-size: 1.4rem;
    color: #4da3ff;
}

.latest-content p {
    margin: 0 0 15px 0;
    font-size: 0.95rem;
    color: #cfcfcf;
}

.btn-latest {
    display: inline-block;
    background: #1f6feb;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #fff;
    font-weight: 600;
    transition: 0.2s;
}

.latest-project:hover .btn-latest {
    background: #4da3ff;
    box-shadow: 0 3px 10px rgba(31,110,235,0.4);
}

/* Kiemelt projektek grid */
.featured-projects {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
}

.project-card {
    display: block;
    background: #161821;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #00c853;
    text-decoration: none;
    color: #fff;
    transition: 0.2s;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.project-card:hover {
    background: #1e1f29;
    transform: translateY(-3px);
}

.project-card h4 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    color: #4da3ff;
}

.project-card p {
    margin: 0;
    color: #aaa;
    font-size: 0.9rem;
}
