/* Alapbeállítások */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: #0d0d0d;
    color: #f0f0f0;
    line-height: 1.6;
}

/* Navigáció */
nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    background: #111;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

nav a {
    color: #00ffff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #ff00cc;
}

header {
    position: relative;
    height: 50vh;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 1;
}

header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    animation: backgroundChange 15s infinite;
    filter: blur(5px);
    z-index: -1;
}


@keyframes backgroundChange {
    0% {
        background-image: url('kepek/header-bg.jpg');
    }

    33% {
        background-image: url('kepek/header2-bg.jpg');
    }

    66% {
        background-image: url('kepek/header3-bg.jpg');
    }

    100% {
        background-image: url('kepek/header-bg.jpg');
    }
}

#references {
    background: #0d0d0d;
    color: #fff;
    padding: 4rem 2rem;
    text-align: center;
}

.reference-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 2rem;
}

.reference-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.reference-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(255, 255, 255, 0.4);
}

#remixes {
    background: #0d0d0d;
    color: #fff;
    padding: 4rem 2rem;
    text-align: center;
}

.remix-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.remix-item {
    background: #1c1c1c;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    width: 300px;
}

.remix-item p {
    margin-bottom: 1rem;
    font-weight: bold;
    color: #0ff;
    font-size: 1.2rem;
}

.remix-item audio {
    width: 100%;
    outline: none;
}


header h1 {
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 10px #00ffff, 0 0 20px #ff00cc;
}


header p {
    font-size: 1.2rem;
    color: #00ffff;
    text-shadow:
        0 0 5px #00ffff,
        0 0 10px #00ffff,
        0 0 20px #ff00cc,
        0 0 30px #ff00cc;
    animation: pulseGlow 2s infinite alternate;
}

header h1,
header p {
    position: relative;
    z-index: 1;
    /* hogy ne takarja el a blur */
    text-shadow:
        0 0 5px rgba(0, 255, 255, 0.7),
        0 0 10px rgba(255, 0, 204, 0.7);
}

section {
    padding: 3rem 2rem;
    max-width: 1000px;
    margin: auto;
}

section h2 {
    font-size: 2rem;
    color: #00ffff;
    margin-bottom: 1rem;
    border-bottom: 2px solid #ff00cc;
    display: inline-block;
}

.social-links a {
    color: #00ffff;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #ff00cc;
}

.reference-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.reference-gallery img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.reference-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #00ffffaa;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.contact-form input,
.contact-form textarea,
.contact-form button {
    padding: 0.75rem;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
}

.contact-form input,
.contact-form textarea {
    background: #1a1a1a;
    color: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid #00ffff;
}

.contact-form button {
    background: #00ffff;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #ff00cc;
}

/* Remix szekció */
.remix-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

audio {
    width: 100%;
}

footer {
    background: #111;
    color: #ccc;
    padding: 2rem;
    text-align: center;
    border-top: 2px solid #ff00cc;
}

footer a {
    color: #00ffff;
    text-decoration: none;
}

footer a:hover {
    color: #ff00cc;
}

.modal {
    display: none;
    /* Alapértelmezett rejtés */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    overflow: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Modal láthatóvá válás animációja */
.modal.show {
    display: block;
    opacity: 1;
}

/* Modal tartalom */
.modal-content {
    position: relative;
    margin: 10% auto;
    padding: 20px;
    background: linear-gradient(135deg, #121212, #1a1a1a);
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    /* Maximális szélesség */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Bezáró gomb stílusa */
.close-btn {
    position: absolute;
    top: 10px;
    right: 25px;
    color: #aaa;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
}

/* Kép megjelenítése */
.modal-image-container {
    text-align: center;
}

#modalImage {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

#modalImage:hover {
    transform: scale(1.05);
}

/* Navigációs gombok */
.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 30px;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.modal-nav:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

#prev {
    left: 10px;
}

#next {
    right: 10px;
}

#countdown {
    background: #0d0d0d;
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem auto;
    max-width: 800px;
}

#timer {
    font-size: 1.5rem;
    color: #ff00cc;
    margin-top: 1rem;
}

#visitorCounter-container {
    margin-top: 2rem;
    color: #ccc;
}

#visitor-count {
    font-size: 2rem;
    font-weight: bold;
    color: #00ffff;
}

@media screen and (max-width: 768px) {
    nav {
        flex-wrap: wrap;
        gap: 10px;
    }

    header h1 {
        font-size: 2rem;
    }

    section h2 {
        font-size: 1.5rem;
    }
}

#about {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 1rem;
    color: #f0f0f0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

#about h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #0ff;
    text-align: center;
}

#about p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

#about ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
    font-size: 1.1rem;
}

#about ul li {
    margin-bottom: 0.6rem;
}

#about ul li strong {
    color: #0ff;
}

#about ul li a {
    color: #f0f0f0;
    text-decoration: none;
    margin-left: 0.3rem;
}

#about ul li a:hover {
    text-decoration: underline;
}

#about .social-links {
    margin: 2rem 0 1.5rem;
    text-align: center;
}

#about .social-links a {
    margin: 0 0.6rem;
    font-size: 1.8rem;
    color: #0ff;
    transition: color 0.3s ease, transform 0.3s ease;
}

#about .social-links a:hover {
    color: #0ff;
    transform: scale(1.2);
}