/* Ana stil dosyası */
:root {
    --primary: #152943;
    --primary-hover: #1e3a5e;
    --secondary: #C9AF96;
    --secondary-hover: #d3bd9e;
    --dark: #333;
    --light: #f8f9fa;
    --danger: #e74c3c;
    --success: #2c9885;
    --warning: #f39c12;
    --info: #3498db;
    --border-color: #e1e1e1;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

body {
    background-color: #f0f2f5;
    color: var(--dark);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header styling */
.navbar {
    background-color: var(--primary) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand, .nav-link {
    color: var(--secondary) !important;
}

.navbar-brand i, .nav-link i {
    margin-right: 8px;
}

.nav-link:hover {
    color: #fff !important;
}

.navbar-toggler {
    border-color: rgba(201, 175, 150, 0.3);
}

.navbar-toggler-icon {
    filter: invert(80%) sepia(11%) saturate(638%) hue-rotate(349deg) brightness(92%) contrast(87%);
}

/* Card styling */
.card {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    border: none;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 600;
    color: var(--primary);
    padding: 15px 20px;
}

#player {
    width: 100%;
    height: 240px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Şarkı arama sonuçları */
.search-result-item {
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid transparent;
}

.search-result-item:hover {
    background-color: rgba(21, 41, 67, 0.03);
    border-color: rgba(21, 41, 67, 0.1);
    transform: translateY(-2px);
}

.search-result-item img {
    width: 120px;
    height: 68px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.search-result-item h5 {
    color: var(--primary);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 5px;
}

.search-result-item p {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 0;
}

/* Rozetler */
.badge {
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 20px;
}

.badge-primary {
    background-color: var(--primary);
    color: var(--secondary);
}

.badge-secondary {
    background-color: var(--secondary);
    color: var(--primary);
}

.badge-success {
    background-color: var(--success);
    color: white;
}

/* Alt bilgi */
footer {
    border-top: 1px solid #dee2e6;
    padding: 20px 0;
    color: #6c757d;
    background-color: #f8f9fa;
    margin-top: 30px;
}

footer a {
    color: var(--primary);
    text-decoration: none;
}

footer a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Butonlar */
.btn {
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--secondary);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #fff;
}

.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--primary);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    border-color: var(--secondary-hover);
}

.btn-success {
    background-color: var(--success);
    border-color: var(--success);
}

.btn-danger {
    background-color: var(--danger);
    border-color: var(--danger);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: var(--secondary);
}

/* Form elemanları */
.form-control {
    border-radius: 6px;
    border-color: #ced4da;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(21, 41, 67, 0.25);
}

.form-label {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 8px;
}

/* Şu anda çalan şarkı */
.now-playing {
    background-color: rgba(21, 41, 67, 0.03);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.now-playing:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.now-playing h4 {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 5px;
}

.now-playing p {
    color: #6c757d;
    margin-bottom: 0;
}

.now-playing-icon {
    font-size: 24px;
    color: var(--primary);
    margin-right: 15px;
}

/* Animasyonlar */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-10px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

.slide-in {
    animation: slideIn 0.5s ease-in-out;
}

.pulse {
    animation: pulse 2s infinite;
}

/* Admin paneli stilleri */
.sidebar {
    min-height: calc(100vh - 56px);
    background-color: #343a40;
    padding-top: 20px;
}

.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 5px;
}

.sidebar .nav-link:hover {
    color: #fff;
}

.sidebar .nav-link.active {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.sidebar .nav-link i {
    margin-right: 10px;
}

/* Müzik çalar stilleri */
.now-playing-container {
    background-color: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.song-info {
    margin-top: 15px;
}

.song-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.song-artist {
    font-size: 0.9rem;
    color: #6c757d;
}

/* İstek listesi stilleri */
.request-list-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}

.request-list-item:last-child {
    border-bottom: none;
}

.request-info {
    flex-grow: 1;
}

.request-title {
    font-weight: 600;
    margin-bottom: 2px;
}

.request-meta {
    font-size: 0.8rem;
    color: #6c757d;
}

.request-actions {
    display: flex;
    gap: 5px;
}

/* Responsive ayarlamalar */
@media (max-width: 768px) {
    .search-result-item img {
        width: 80px;
        height: 45px;
    }
    
    #player {
        height: 200px;
    }
}

/* Animasyonlar */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

.pulse {
    animation: pulse 1s infinite;
}

.now-playing-icon {
    animation: pulse 2s infinite;
}

/* Bildirim stilleri */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
}

/* Login sayfası stilleri */
.login-container {
    max-width: 400px;
    margin: 100px auto;
}

.login-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.login-logo {
    text-align: center;
    margin-bottom: 30px;
}

.login-title {
    text-align: center;
    margin-bottom: 20px;
    color: #343a40;
}

/* Equalizer Animation Styles */
.equalizer {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 6px;
    height: 60px;
    width: 500px;
    margin: 0 auto;
}

.bar {
    width: 2px;
    background-color: #2c3e50;
    border-radius: 0;
}

/* Her bara farklı animasyon tipi ve süre */
.bar1 { animation: rhythmBounce1 0.6s ease-in-out infinite; }
.bar2 { animation: rhythmBounce2 0.9s ease-in-out infinite; }
.bar3 { animation: rhythmBounce3 0.7s ease-in-out infinite; }
.bar4 { animation: rhythmBounce4 1.1s ease-in-out infinite; }
.bar5 { animation: rhythmBounce5 0.8s ease-in-out infinite; }
.bar6 { animation: rhythmBounce1 1.0s ease-in-out infinite; }
.bar7 { animation: rhythmBounce2 0.5s ease-in-out infinite; }
.bar8 { animation: rhythmBounce3 0.9s ease-in-out infinite; }
.bar9 { animation: rhythmBounce4 0.7s ease-in-out infinite; }
.bar10 { animation: rhythmBounce5 1.2s ease-in-out infinite; }
.bar11 { animation: rhythmBounce1 0.8s ease-in-out infinite; }
.bar12 { animation: rhythmBounce2 0.6s ease-in-out infinite; }
.bar13 { animation: rhythmBounce3 1.0s ease-in-out infinite; }
.bar14 { animation: rhythmBounce4 0.9s ease-in-out infinite; }
.bar15 { animation: rhythmBounce5 0.7s ease-in-out infinite; }
.bar16 { animation: rhythmBounce1 1.1s ease-in-out infinite; }
.bar17 { animation: rhythmBounce2 0.8s ease-in-out infinite; }
.bar18 { animation: rhythmBounce3 0.6s ease-in-out infinite; }
.bar19 { animation: rhythmBounce4 1.0s ease-in-out infinite; }
.bar20 { animation: rhythmBounce5 0.9s ease-in-out infinite; }
.bar21 { animation: rhythmBounce1 0.7s ease-in-out infinite; }
.bar22 { animation: rhythmBounce2 1.2s ease-in-out infinite; }
.bar23 { animation: rhythmBounce3 0.8s ease-in-out infinite; }
.bar24 { animation: rhythmBounce4 0.6s ease-in-out infinite; }
.bar25 { animation: rhythmBounce5 1.0s ease-in-out infinite; }
.bar26 { animation: rhythmBounce1 0.9s ease-in-out infinite; }
.bar27 { animation: rhythmBounce2 0.7s ease-in-out infinite; }
.bar28 { animation: rhythmBounce3 1.1s ease-in-out infinite; }
.bar29 { animation: rhythmBounce4 0.8s ease-in-out infinite; }
.bar30 { animation: rhythmBounce5 0.6s ease-in-out infinite; }
.bar31 { animation: rhythmBounce1 1.0s ease-in-out infinite; }
.bar32 { animation: rhythmBounce2 0.9s ease-in-out infinite; }
.bar33 { animation: rhythmBounce3 0.7s ease-in-out infinite; }
.bar34 { animation: rhythmBounce4 1.2s ease-in-out infinite; }

/* Artık her bar kendi animasyon tipine sahip - gecikme gereksiz */

/* Farklı animasyon tipleri - karışık hareket */
@keyframes rhythmBounce1 {
    0%, 100% { height: 6px; }
    25% { height: 45px; }
    50% { height: 15px; }
    75% { height: 30px; }
}

@keyframes rhythmBounce2 {
    0%, 100% { height: 10px; }
    33% { height: 25px; }
    66% { height: 50px; }
}

@keyframes rhythmBounce3 {
    0%, 100% { height: 8px; }
    20% { height: 35px; }
    40% { height: 12px; }
    60% { height: 40px; }
    80% { height: 20px; }
}

@keyframes rhythmBounce4 {
    0%, 100% { height: 5px; }
    50% { height: 55px; }
}

@keyframes rhythmBounce5 {
    0%, 100% { height: 12px; }
    30% { height: 28px; }
    70% { height: 42px; }
}

/* Pause animation when no music is playing */
.equalizer.paused .bar {
    animation-play-state: paused;
    height: 15px;
    opacity: 0.3;
    filter: grayscale(0.7);
}


