/* Custom Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Loading Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

/* Weather Icon Animation */
#weatherIcon {
    animation: fadeIn 0.8s ease-out;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Hover Effects */
button {
    transition: all 0.3s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

button:active {
    transform: translateY(0);
}

/* Card Hover Effect */
.bg-white\/10:hover {
    background: rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

/* Input Focus Animation */
input:focus {
    transform: scale(1.02);
    transition: all 0.3s ease;
}

/* Responsive Text */
@media (max-width: 768px) {
    #temperature {
        font-size: 3rem;
    }
    
    #weatherIcon {
        width: 80px;
        height: 80px;
    }
}
