﻿
body {
    margin: 0;
    font-family: Arial, sans-serif;
    overflow: hidden;
}

/* GIF Container */
#gif-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.gif-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

    .gif-image.active {
        opacity: 1;
    }

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    color: white;
    z-index: 1000;
}

    header .Logo img {
        max-width: 150px;
        height: auto;
    }

nav {
    display: flex;
    gap: 15px;
}

    nav a {
        color: white;
        text-decoration: none;
        margin: 0 10px;
        font-size: 1rem;
    }

        nav a:hover {
            text-decoration: underline;
        }

/* Footer */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0,0,0,0);
    color: white;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    gap: 10px;
}
/* === SEEK BAR ÖZEL STİLİ === */
#seek-bar {
    -webkit-appearance: none;
    width: 150px;
    height: 9px;
    background: black;
    border-radius: 5px;
    cursor: pointer;
}

    /* Chrome / Safari */
    #seek-bar::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 12px;
        height: 12px;
        background: #1db954;
        border-radius: 50%;
        cursor: pointer;
        border: none;
        box-shadow: 0 0 3px rgba(0, 0, 0, 0.6);
        transition: transform 0.2s ease;
    }

    #seek-bar::-webkit-slider-thumb:hover {
            transform: scale(1.2);
    }

    /* Firefox */
    #seek-bar:-moz-range-thumb {
        width: 12px;
        height: 12px;
        background: #1db954;
        border-radius: 50%;
        border: none;
        cursor: pointer;
    }

    #seek-bar:-moz-range-track {
        background: black;
        height: 4px;
        border-radius: 5px;
    }

    /* Internet Explorer */
    #seek-bar::-ms-thumb {
        background: #1db954;
        border: none;
        border-radius: 50%;
        width: 12px;
        height: 12px;
    }

    #seek-bar::-ms-track {
        background: black;
        height: 4px;
        border-radius: 5px;
    }

/* Müzik Kontrolleri */
.music-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

    .music-controls button {
        background: rgba(255, 255, 255, 0.1);
        border: none;
        color: black;
        font-size: 20px;
        cursor: pointer;
        padding: 8px;
        border-radius: 20px;
        backdrop-filter: blur(3px);
        transition: all 0.3s ease;
    }

        /* Hover efekti */
        .music-controls button:hover {
            background: rgba(255, 255, 255, 0.1); /* Cam parlaklık */
            box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
            transform: scale(1.2); /* Hafif büyüme */
            backdrop-filter: blur(5px); /* Daha fazla blur */
            border-radius: 20px;
            background-color: /*rgba(255, 255, 255, 0.1);*/ #1db954;
        }


.time-bar {
    font-size: 0.9rem;
    color: white;
    font-family: 'Arial', sans-serif;
    min-width: 50px;
    text-align: center;

}

/* Sosyal Medya */
.social-media {
    display: flex;
    gap: 15px;
}

    .social-media a {
        color: #fff;
        font-size: 24px;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .social-media a.spotify:hover {
            color: #1db954;
        }

        .social-media a.instagram:hover {
            color: #e1306c;
        }

        .social-media a.mail:hover {
            color: #d93025;
        }

/* Copyright */
.copyright {
    font-size: 0.6rem;
    opacity: 0.7;
    font-family: Arial, sans-serif;
}

/* Sidebar */
#event-sidebar {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 250px;
    height: 300px;
    background: transparent;
    color: white;
    padding: 15px;
    border-radius: 10px 0 0 10px;
    text-align: center;
    overflow: hidden;
    z-index: 9999;
}

    #event-sidebar h2 {
        font-size: 18px;
        margin-bottom: 10px;
    }

#events-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    animation: scrollEvents 20s linear infinite;
}

.event-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 5px;
}

@keyframes scrollEvents {
    0% {
        transform: translateY(100%);
    }

    100% {
        transform: translateY(-100%);
    }
}

/* 💡 RESPONSIVE KODLAR */

@media (max-width: 1200px) {
    header {
        padding: 10px 15px;
    }

    .music-controls button {
        font-size: 22px;
    }
}

@media (max-width: 992px) {
    #event-sidebar {
        width: 220px;
        height: 270px;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        height: auto;
        align-items: center;
    }

    nav {
        flex-direction: column;
        align-items: center;
    }

    footer {
        padding: 20px;
        gap: 15px;
    }

    .music-controls {
        flex-direction: row;
        gap: 10px;
    }

    .social-media {
        flex-wrap: wrap;
        justify-content: center;
    }

    #event-sidebar {
        width: 180px;
        height: 240px;
    }
}

@media (max-width: 576px) {
    .music-controls button {
        font-size: 20px;
    }

    .time-bar {
        font-size: 0.75rem;
    }

    .social-media a {
        font-size: 20px;
    }

    .copyright {
        font-size: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 400px) {
    #event-sidebar {
        width: 160px;
        height: 200px;
    }

    header .Logo img {
        max-width: 100px;
    }
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    flex-direction: column;
    transition: opacity 0.5s ease-out, background 0.5s ease;
}

    /* Tema renkleri */
    #loading-screen.dark {
        background: #000;
        color: #fff;
    }

    /* Kaybolma efekti */
    #loading-screen.fade-out {
        opacity: 0;
        pointer-events: none;
    }

/* İçerik */
.loading-logo {
    text-align: center;
    font-family: 'Arial', sans-serif;
}

    .loading-logo .dj-name {
        font-size: 2rem;
        font-weight: bold;
        color: #1db954;
        animation: pulseName 2s infinite ease-in-out;
        margin-bottom: 10px;
    }

    .loading-logo p {
        font-size: 1rem;
        margin-bottom: 20px;
        opacity: 0.8;
    }

.equalizer {
    display: flex;
    gap: 5px;
    justify-content: center;
    align-items: flex-end;
    height: 40px;
    margin-bottom: 20px;
}

    .equalizer span {
        width: 6px;
        height: 100%;
        background: #1db954;
        animation: equalize 1s infinite ease-in-out;
        display: block;
    }

        .equalizer span:nth-child(1) {
            animation-delay: 0s;
        }

        .equalizer span:nth-child(2) {
            animation-delay: 0.2s;
        }

        .equalizer span:nth-child(3) {
            animation-delay: 0.4s;
        }

        .equalizer span:nth-child(4) {
            animation-delay: 0.2s;
        }

        .equalizer span:nth-child(5) {
            animation-delay: 0s;
        }

@keyframes equalize {
    0%, 100% {
        height: 10%;
    }

    50% {
        height: 100%;
    }
}

@keyframes pulseName {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 0 5px #1db954;
    }

    50% {
        transform: scale(1.05);
        text-shadow: 0 0 15px #1db954;
    }
}