/* home.css */

/* H1 başlıkları tamamen gizle */
h1 {
    display: none;
}

/* Yükleme Ekranı Stilleri */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
    flex-direction: column;
}

#loading-content {
    position: relative;
    width: 80%;
    max-width: 500px;
}

#loading-bar-container {
    width: 100%;
    height: 40px;
    border: 3px solid #00F5FF;
    border-radius: 10px;
    box-shadow: 0 0 10px #00F5FF, 0 0 20px #00F5FF;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.0);
    position: relative;
    pointer-events: auto;
    transition: box-shadow 0.3s ease;
    cursor: pointer;
}

#loading-bar {
    width: 0%;
    height: 100%;
    position: absolute;
    background: #00F5FF;
    z-index: -1;
    transition: width 4.5s linear, background 1s ease;
}

#loading-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #00F5FF;
    text-shadow: 0 0 5px #00F5FF, 0 0 10px #00F5FF;
    font-size: 20px;
    z-index: 0;
    opacity: 0;
    transition: opacity 1s ease, text-shadow 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}

/* Mesaj Göründüğünde */
#loading-message.visible {
    opacity: 1;
    pointer-events: none;
}

/* Hover Efekti */
#loading-bar-container:hover,
#loading-message:hover {
    box-shadow: 0 0 30px #00F5FF, 0 0 50px #00F5FF;
    text-shadow: 0 0 30px #00F5FF, 0 0 50px #00F5FF;
}

#loading-bar-container.hovered {
    box-shadow: 0 0 30px #00F5FF, 0 0 30px #00F5FF;
}

/* Loading Text Stilleri */
#loading-text {
    position: absolute;
    top: 100%; /* Yükleme barının hemen altına yerleştir */
    left: 50%;
    transform: translate(-50%, 10px); /* Biraz aşağı kaydır */
    color: #00F5FF;
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
    pointer-events: none;
    max-width: 100%;
    white-space: nowrap; /* Metinlerin sarmalanmasını önler */
    overflow: hidden; /* Taşan metni gizler */
}

/* Mesajların text-shadow efektini yumuşatıyoruz */
#loading-text p {
    margin: 5px 0;
    white-space: nowrap; /* Her p etiketi için sarmalanmayı önler */
    overflow: hidden; /* Taşan metni gizler */
    text-overflow: ellipsis; /* Taşan metin için üç nokta ekler */
    color: #00F5FF;
    
    /* Daha yumuşak neon efekti için text-shadow ayarlarını değiştiriyoruz */
    text-shadow: 0 0 5px #00F5FF, 0 0 10px rgba(0, 245, 255, 0.5), 0 0 15px rgba(0, 245, 255, 0.3);
}

/* Cursor (imleç) stili */
.cursor {
    display: inline-block;
    width: 10px;
    height: 15px;
    background-color: #00F5FF;
    margin-left: 2px;
    animation: blink 1s infinite;
    vertical-align: center;
    position: relative;
    top: 2px;
    
    /* Neon Efekti için Box-Shadow Düzenlendi */
    box-shadow: 
        0 0 5px #00F5FF,
        0 0 10px rgba(0, 245, 255, 0.5);
}

/* Blink animasyonu */
@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* Typing efekti için font ve renk ayarları */
.typing {
    font-family: monospace;
    color: #00F5FF;
    text-shadow: 0 0 5px #00F5FF, 0 0 10px #00F5FF;
    margin: 5px 0;
}
